Android - access hardware camera with Opencv-python and Kivy

asked 2020-09-29 05:45:21 -0500

So I'm trying to get OpenCV To work on android. I copied a script from a GitHub example and compiled it with buildozer. Script here ( Later on, after a lot of SDK torture, I compiled it successfully. Despite having all required permissions, capture doesn't work with either default or secondary camera. When calling isOpened() on an instance of VideoCapture() it always return False. Despite that I can use cv2 normally. This is similar to the issue (, furthermore from what I've found lack of ffmpeg could be the cause, but i never found a confirmation to that. Is there a way to test this and or go around?

edit retag flag offensive close merge delete