Levi-Lesches / opencv_ffi

An FFI-based implementation of OpenCV in Dart
https://pub.dev/packages/opencv_ffi
Other
18 stars 1 forks source link

[not a issue] Built library files #7

Closed bipinkrish closed 1 year ago

bipinkrish commented 1 year ago

Those who want to try this package/plugin without building OpenCV. I have built library files for Windows, Linux and Android check it out at https://github.com/bipinkrish/opencv-ffi-lib

Levi-Lesches commented 1 year ago

Thanks, but I'm not really looking to distribute or endorse closed-source binaries at the moment. Not that I have a specific reason to not trust you, but theoretically you could change those binaries at any time, which is a massive security risk. I'd much rather prefer linking to OpenCV and having a build script here.

I did spent a lot of time optimizing the build script to only build what this package needs so the build process takes 1-10 minutes from high-end PCs to Raspberry Pis. Besides, there is a bit of setup involved with adding the binaries to your PATH, so I figured it would be best to have that all in one package.

In the future, I am looking to use Dart's Native Assets feature. which will allow dart pub get to build OpenCV automatically.