Ask Your Question

Revision history [back]

Need help on integrating native OpenCV to Android

First of all, I'm quite new to both OpenCV and C++, but I have been working with Android development for a while in native Java.

Currently, I am developing an application trying to detect face features (I know there are some code out there which do the same, but I prefer to develop a new one, cause there will be an extension afterward).

According to this tutorial, http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

I am trying to implement the native c++ into my android, but got stuck for a day or two now, and have no idea what to do with it.

  • How can I implement this code in to Android?
  • I notice they inclide videoio.hpp, and I can't find such file in OpenCV for Android, so it give me an error while doing NDK build, what should I do with this?

Thank you for every kind advice and help.

Tee

click to hide/show revision 2
retagged

updated 2015-02-21 01:28:36 -0600

berak gravatar image

Need help on integrating native OpenCV to Android

First of all, I'm quite new to both OpenCV and C++, but I have been working with Android development for a while in native Java.

Currently, I am developing an application trying to detect face features (I know there are some code out there which do the same, but I prefer to develop a new one, cause there will be an extension afterward).

According to this tutorial, http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

I am trying to implement the native c++ into my android, but got stuck for a day or two now, and have no idea what to do with it.

  • How can I implement this code in to Android?
  • I notice they inclide videoio.hpp, and I can't find such file in OpenCV for Android, so it give me an error while doing NDK build, what should I do with this?

Thank you for every kind advice and help.

Tee