[x] OPENCV_DART_DISABLE_AUTO_BUILD if set, prebuilt libs will not be downloaded
[x] OPENCV_DART_ANDROID_ENABLED_ABI #211
e.g., export OPENCV_DART_ANDROID_ENABLED_ABI="arm64-v8a,armeabi-v7a" and then x86_64 will not be downloaded or will be deleted if exist, will be useful if you want to build apk for specific platforms
[x] OPENCV_DART_LIB_PATH ONLY for debug or test, if set, library will be loaded from it.
2. libopencv_dart.so/.dll/.framework/.dylib not found
for windows, check whether the opencv_dart.dll exists, typically it should exists in ~\AppData\Local\Pub\Cache\hosted\pub.dev\opencv_dart-<version>\windows
for linux, check whether libopencv_dart.so exists, ~/.pub-cache/hosted/pub.dev/opencv_dart-<version>/linux
for macos, check ~/.pub-cache/hosted/pub.dev/opencv_dart-<version>/macos
5. instructions for cache cleaning up, manual setup
You can run manual setup if the auto setup doesn't work, pass -f option to overwrite existed files, e.g., dart run opencv_dart:setup android -a arm64-v8a -f
1. used environment variables
OPENCV_DART_DISABLE_AUTO_BUILD
if set, prebuilt libs will not be downloadedOPENCV_DART_ANDROID_ENABLED_ABI
#211export OPENCV_DART_ANDROID_ENABLED_ABI="arm64-v8a,armeabi-v7a"
and thenx86_64
will not be downloaded or will be deleted if exist, will be useful if you want to build apk for specific platformsOPENCV_DART_LIB_PATH
ONLY for debug or test, if set, library will be loaded from it.2. libopencv_dart.so/.dll/.framework/.dylib not found
opencv_dart.dll
exists, typically it should exists in~\AppData\Local\Pub\Cache\hosted\pub.dev\opencv_dart-<version>\windows
libopencv_dart.so
exists,~/.pub-cache/hosted/pub.dev/opencv_dart-<version>/linux
~/.pub-cache/hosted/pub.dev/opencv_dart-<version>/macos
opencv_dart.xcframework
, https://github.com/rainyl/opencv_dart/issues/200#issuecomment-2264409315android/src/main/jniLibs
3. symbol xxx not found https://github.com/rainyl/opencv_dart/issues/200#issuecomment-2278057007
4.
E/cv::error()(15188): OpenCV(4.10.0) Error:
https://github.com/rainyl/opencv_dart/issues/179#issuecomment-22756724735. instructions for cache cleaning up, manual setup
-f
option to overwrite existed files, e.g.,dart run opencv_dart:setup android -a arm64-v8a -f
6. video https://github.com/rainyl/opencv_dart/issues/159#issuecomment-2238065384
7. Pixel accessing via
ptrAt
https://github.com/opencv/opencv/issues/11125