opencv_dart 1.2.6-dev.1 copy "opencv_dart: ^1.2.6-dev.1" to clipboard
opencv_dart: ^1.2.6-dev.1 copied to clipboard

OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead.

opencv_dart #

OpenCV for Flutter, includes all modules. if videoio and highgui are not reqired, use opencv_core

Important

From v1.3.0, dynamic libraries will be built locally, invoked by flutter during the build. Note: OpenCV SDK (~100M) will be downloaded via FetchContent of cmake, you can set DARTCV_CACHE_PATH environment variable to cache it and avoid downloading it again.

v1.0.4 ~ v1.0.6, libs will be downloaded from Releases automatically.

  1. If you want to setup manually, please set OPENCV_DART_DISABLE_AUTO_BUILD environment variable, e.g., export OPENCV_DART_DISABLE_AUTO_BUILD=1(for Unix-like) or $env:OPENCV_DART_DISABLE_AUTO_BUILD=1(for Windows)

For v1.0.4 and below, make sure run the following setup commands before running your app:

  1. flutter pub add opencv_dart or dart pub add opencv_dart
  2. dart run opencv_dart:setup <platform> --arch <arch>
platform arch
android x86_64 arm64-v8a armeabi-v7a
linux x64
windows x64
macos x64 arm64
ios os64 (universal framework)
  • Q&A: #212 or open new issues.
  • If you are using flutter with Native Assets feature supported, consider using v2.x version, see more in native-assets branch Won't update until Native Assets being stable.

Supported platforms #

Platform Supported Tested Platforms
Android x86_64, arm64-v8a, armeabi-v7a
iOS arm64, x64(Simulator)
Linux x64, arm64
Windows x64, arm64
macOS x64, arm64

Supported modules #

Supported modules

Examples #

see example

example

More examples refet to awesome-opencv_dart and share yours

DNN MNIST

License #

Apache-2.0 License

71
likes
0
pub points
93%
popularity

Publisher

verified publisherrainyl.dev

OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead.

Homepage
Repository (GitHub)
View/report issues

Topics

#opencv #image #ffi #flutter

License

unknown (license)

Dependencies

dartcv4, flutter

More

Packages that depend on opencv_dart