Ask Your Question
0

opencv in android-x86

asked 2013-03-21 02:43:01 -0600

wytmoon gravatar image

updated 2013-03-21 03:34:41 -0600

Hi!

I'm trying to implement object detection for Android-x86's JB-x86 Camera app. I found opencv in /external/opencv but I have no idea how to use it for the Camera app. Can someone provide advice?

Thanks,

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-03-21 03:45:32 -0600

Andrey Pavlenko gravatar image
edit flag offensive delete link more

Comments

The OP was specifically asking for the x86 Android port (for Intel mobile processors). It may not be that easy to compile and run, and I suppose the native camera interface must be written from scratch.

sammy gravatar imagesammy ( 2013-03-21 03:51:17 -0600 )edit

OpenCV library fully supports Android on x86 platform (with native camera) and can be built in the same way as ARM builds.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-03-21 06:03:01 -0600 )edit

Oh, I did not know that! Great!

sammy gravatar imagesammy ( 2013-03-21 07:31:24 -0600 )edit

Thanks for the link to the Android Development tutorial Andrey Pavlenko. Unfortunately this is not what I was looking for. Let me rephrase my question to make it clearer. In the Object Detection Cascade Classifier tutorial (http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier), objdetect.hpp along with two other files were included. My question is, these files are not in Android-x86's JBx86 /external/opencv directory so how do I use Cascade Classifier? Does this also mean that /external/opencv in JBx86 is different from OpenCV 2.4.4 for Android? Should I place the OpenCV-2.4.4-android-sdk in /packages/apps instead?

wytmoon gravatar imagewytmoon ( 2013-03-21 19:20:16 -0600 )edit

Question Tools

Stats

Asked: 2013-03-21 02:43:01 -0600

Seen: 374 times

Last updated: Mar 21 '13