alnitak / flutter_opengl

A Flutter OpenGL ES plugin using a Texture() widget. Supports Android, Linux and Windows. Many shaders from ShaderToy.com can be copy/pasted
Other
173 stars 20 forks source link

Any way to avoid openCV? #6

Open chipweinberger opened 8 months ago

chipweinberger commented 8 months ago

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.

alnitak commented 8 months ago

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 commented 8 months ago

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