Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q&A #212

Closed
3 tasks done
rainyl opened this issue Aug 13, 2024 · 2 comments
Closed
3 tasks done

Q&A #212

rainyl opened this issue Aug 13, 2024 · 2 comments

Comments

@rainyl
Copy link
Owner

rainyl commented Aug 13, 2024

1. used environment variables

  • OPENCV_DART_DISABLE_AUTO_BUILD if set, prebuilt libs will not be downloaded
  • OPENCV_DART_ANDROID_ENABLED_ABI Android Plugin custom arch support #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
  • 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
  • for ios, check opencv_dart.xcframework, Got it working on simulator, issue on real device - what am I missing? #200 (comment)
  • for android, check android/src/main/jniLibs

3. symbol xxx not found #200 (comment)

4. E/cv::error()(15188): OpenCV(4.10.0) Error: #179 (comment)

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

6. video #159 (comment)

7. Pixel accessing via ptrAt opencv/opencv#11125

@hanan0007
Copy link

can i use this package to find the similar images ?

@rainyl
Copy link
Owner Author

rainyl commented Nov 28, 2024

can i use this package to find the similar images ?

Theoretically, yes. You can use this package to do anything that opencv can do.

Remember to open new issues instead of replying to this one if you have more questions.

Repository owner locked as spam and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants