Finally getting our feet wet running OpenCV on an Android device…
Good news!!! The OpenCV people have a framework that simplifies writing, compiling and running OpenCV 2.4 apps for Android devices. You no longer have to download OpenCV source and (cross-)compile it like it’s 2010.
Instead, this is what we did:
1. Installed Android SDK, NDK, and Eclipse environments and plug-ins.
2. Installed OpenCV SDK
3. Installed OpenCV Manager app from the play store
4. RTFM (or in this case, a short guide)
This is a pretty good tutorial for getting a project started: it shows how to initialize OpenCV and get frames from the camera.
After this, we tested the face detection example on some still images and on ourselves:
Money! Even in the dark! On an old phone with Android 2.3.4!