flutter_opengl icon indicating copy to clipboard operation
flutter_opengl copied to clipboard

Any way to avoid openCV?

Open chipweinberger opened this issue 8 months ago • 2 comments

The ~800MB opencv library is a lot to require be default.

Is it really needed? It adds a lot of complexity to the build process.

chipweinberger avatar Oct 20 '23 23:10 chipweinberger

Hi @chipweinberger

yes, OpenCV could be avoided. I used that just to use the camera provided by the lib. Now, it's been a while since did this project, but I used it just to test and feed some shaders with a continuous texture coming from the camera or a video (just in Linux and Window IIRC).

I'd love to continue with this project and add support for Mac and iOS using Google Angle lib, but with the introduction of shader in Flutter (even if they are a lot limited), I have not much motivation.

alnitak avatar Oct 21 '23 15:10 alnitak

Anyway, I think OpenCV lib is about 200MB. The 800MB comes from the Android build which bundle all the ABI

alnitak avatar Oct 21 '23 16:10 alnitak