Ask Your Question

Android OpenCV support

asked 2012-08-07 23:18:34 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Some online sources say that OpenCV is not supported by all Android devices.

Can you tell me whether OpenCV has support for all the Android phones? If not, do you have some examples of devices that work/do not work well with OpenCV? Are there some specific technical limitations for OpenCV (Android version, SDK version, processor type, etc)?

edit retag flag offensive close merge delete


Could you point to that 'some online sources'?

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2012-08-08 02:28:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-08-08 02:27:19 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

OpenCV4Android is supported on Android 2.2 (API 8) and higher on ARM and x86 CPUs, and we're not aware of any hardware-specific issues except OpenCV Android Native Camera (cv::VideoCapture class).

OpenCV Android Native Camera is implemented using non-public native Android API that can be modified by hardware platform vendors. And in fact we know that many TI-based (Texas Instruments) devices owners report about non-working Native Camera.

edit flag offensive delete link more


Hi, Thank you. OpenCV Sample - face-detection working fine in my android emulator(Android 4.1 sdk). Now I am installing "OpenCV Sample - face-detection.apk" in my samsung galaxy fit(android 2.3). Before that I installed "OpenCV manager.apk" and "OCV 2.4 pack armeabi.apk". When I try to open the OpenCV Sample - face-detection in my mobile it display "The application OCV Face Detection(process org.opencv.samples.fd) has stopped unexpectedly. please try again". What may be the problem? Help me to solve this issue.

Karthi gravatar imageKarthi ( 2012-08-08 05:04:24 -0500 )edit

Next time please start a new topic for a separate question.

If your android device has access to Google Market, I recommend you remove both (Manager and OCV binary pack) APKs you've installed manually from SDK, and start the sample app again - it will offers downloading the latest version of both these packages from Market (we have published a couple of updates there since 2.4.2 release).

If after that the sample will not work again - get logs via logcat and start a new topic showing them.

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2012-08-08 07:03:25 -0500 )edit

Let me first say, fantastic work, simply amazing. Now to the questions. First, is there going to be any work-around or fix with the OpenCV using the Native Camera where vendors have modified it? Second, could someone please update the tutorials with this information, as it took a long time to find this information. Thanks, really nice work.

Capt Ned gravatar imageCapt Ned ( 2012-09-16 16:23:00 -0500 )edit

Hi, Karthi. I met exactly the same problem that you mentioned. I'm using a Galaxy S1 for the testing. Have you found the solution already?

jiapei100 gravatar imagejiapei100 ( 2012-12-20 01:26:16 -0500 )edit

@jiapei100 what OpenCV version do you use? have you tried OpenCV4Android Manager from Google Play Market instead of one from the SourceForge package?

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2012-12-24 05:44:14 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-08-07 23:18:34 -0500

Seen: 3,045 times

Last updated: Aug 08 '12