« Previous -
Version 2/15
(diff) -
Next » -
Current version
Alexander Smorkalov, 2013-03-04 08:30 am
Android¶
Android is awesome, and so is OpenCV, so wouldn't it be awesomer if they could work together? Well they can, and its now officially supported in OpenCV! See the Android Release Notes.
How to start¶
Developers have 2 basic ways to develop applications with the OpenCV4Android:- We recommend to download the prebuilt OpenCV package and follow the instructions from our tutorial: Using Android binary package with Eclipse (start from here). This package contains Eclipse library project and samples. Package also includes prebuilt apk-files, which you can run on your device immediately. They are placed at
OpenCV-2.4.0/bin
folder inside the binary package. - You can build OpenCV from sources and have the full control over the library. See the OpenCV trunk for Android page for instructions. Please note, that this is not recommended way and think twice before you checkout the OpenCV sources.
Getting help¶
User Communities¶
- Android-OpenCV group: https://groups.google.com/group/android-opencv (for Android-specific questions)
- General OpenCV group: http://tech.groups.yahoo.com/group/OpenCV (for general OpenCV questions and discussions)
OpenCV documentation¶
- Latest (updated daily): http://opencv.itseez.com/trunk
- 2.4.0: http://opencv.itseez.com
- C++ cheatsheet: http://code.opencv.org/trac/opencv/browser/trunk/opencv/doc/opencv_cheatsheet.pdf
OpenCV4Android documentation¶
- Using Android binary package with Eclipse
- Using C++ OpenCV code with Android binary package (advanced guide for NDK developers)
- OpenCV Trunk - These are the bleeding edge trunk instructions
- Android Samples
- Android Best Practices
Providing feedback¶
You know, we love contributions! And please check the open Android issues on the bug tracker.
- Issue tracker: http://code.opencv.org (you're already here). If you submit a ticket, please provide the correct "Category" name -
android
). If you could not identify the cause of the error, please provide the following information in your ticket:- Version number of Android platform (all 3 components of the version - for example: 2.2.1);
- Exact CPU model of your device ("
adb shell cat /proc/cpuinfo
" command); - Output of "
adb logcat
" command; - Name of a sample if the problem is reproducible for any of the samples included into the binary package.
- Contacts
- Email: [email protected] (please use the Anroid-OpenCV group first of all, information should be available to everybody)
- Twitter: http://twitter.com/AndroidOpenCV
Deprecated pages¶
- OpenCV 2.2 for Android - These are the instructions if you are building against the 2.2 release of OpenCV.
- OpenCV 2.3.0 for Android - These are the instructions if you are building against the 2.3.0 release of OpenCV.
- Build Android NDK application with prebuilt OpenCV 2.3.0 alpha
- Prebuilt OpenCV 2.3.1 Package instruction on old wiki
- How to build Android NDK application with prebuilt OpenCV
- AndroidExperimental - This is temporary page describing how to build OpenCV with a stanalone toolchain