Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Android OpenCV - Native Camera Library for Android 5 onwards?

Good day. I am using Android OpenCV for my Android application. I used the color blob detection as an example, however, I noticed that the OpenCV Camera "stretches" the video feed. Kindly refer to my StackOverflow question for screenshots supporting my claims regarding this issue..

I then decided to use the Native Camera View instead of the OpenCV Camera View. It works fine on devices that ran Android 4.0-4.4, however, when I ran it on my Nexus 5, running Android Lollipop (5.0), I was given the "It seems that your device does not support camera (or it is locked)." Error. I have the camera permissions in my Android Manifest. I then checked the files in the libs folders, and then I noticed that I had the libnative_camera_r2.2.0.so until libnative_camera_r4.4.0.so, I inferred that the rx.x.x.so refers to the version number, and the reason why it does not work is because there's no native camera library for Android 5.0.

My question now is:

When will a libnative_camera_r5.0.0.so be released? I just can't use a lower version because I am also using some features unique to Android Lollipop.