I am using a python GUI framework called Kivy that also support app packaging for android. The problem is that opencv is a HUGE import on mobile, takes tons of space and the biggest chunk of app loading time (0.2s on my device) is just import cv2. I am using only imread, decode flip and some basic functions and constants, is it somehow possible to recompile the library with basic functionality? Or somehow strip it?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Problem with OpenCV, Android app crashes | 2 | 224 | September 23, 2025 | |
| Submodule so files for OpenCV4Android | 0 | 302 | February 3, 2021 | |
| How can I build opencv-python for android? | 0 | 406 | November 12, 2022 | |
| Build opencv sdk for android with only some module | 0 | 800 | October 28, 2021 | |
| How to import Opencv to my android native application | 0 | 389 | July 12, 2021 |