I am having a python code which includes CV2 and aruco markers. I installed the OpenCV in python using the command "pip install OpenCV-contrib-python".
The app works perfectly on the desktop. It also generates the apk file too. However, when I try to open the app it always crashes with the error "ModuleNotFoundError: No module named 'cv2'".
I tried changing the name of OpenCV in the requirements into OpenCV-python or OpenCV-contrib-python.
It's not working for any of them. It returns the error "ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation"
I have attached my bulldozer spec file.
buildozer.txt
I am having a python code which includes CV2 and aruco markers. I installed the OpenCV in python using the command "pip install OpenCV-contrib-python".
The app works perfectly on the desktop. It also generates the apk file too. However, when I try to open the app it always crashes with the error "ModuleNotFoundError: No module named 'cv2'".
I tried changing the name of OpenCV in the requirements into OpenCV-python or OpenCV-contrib-python. It's not working for any of them. It returns the error "ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation"
I have attached my bulldozer spec file. buildozer.txt