-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Remove the dependency of Flutter #9
Comments
Thanks for your great work! I have been struggling with generating OpenCV Flutter library via FFI until I found your project, which has inspired me a lot. For this issue, maybe sqlite3.dart, a pure-Dart database package on which drift depends could help you. I think it's a great layered design and hope it's helpful to you. |
Thanks for your approval and suggestions. I used to consider splitting to different packages, just like OpencvSharp, but pub.dev limits the maximum size of packages to 100M, so for some platforms like android, several Actually, I have started working on Anyway, thanks for your suggestions, but I think Native Assets will be the best solution in the future, although it's not stable enough for now, I decide to work more on it. If you are interested, contributions are welcome! |
This issus is resolved by new dartcv4 package, closed. |
Actually, Flutter is NOT necessary for this package, it was included just because Flutter is required for dlls to be correctly included for a flutter app, similar to onnxruntime
Native Assets
is a better solution, I have tried to use it but without success, I need to customize the build process and use cmake to correctly build opencv and opencv_dart, but the documentations ofNative Assets
is really insufficient and the feature is not mature.So, for a pure dart project, it is not suitable to make Flutter as dependency, maybe we should explore more about Native Assets, or another package for pure dart. Or, maybe this is not important, afterall, it seems nearly all of dart users just use it to develop flutter app.
The text was updated successfully, but these errors were encountered: