0
OpenCV for Android Installation Tutorial Author: Tony
What's OpenCV?
 
Why OpenCV?
Open Source?
Commercial Use?
High Performance?
Keep on Going?
Portability?
 
Open Source Commercial Use High Performance Keep on Going Portability Creative by Yourself! BSD License for You! GPU, SIMD...
Decompress OpenCV source code: tar xvf ~/Downloads/OpenCV-2.2.0.tar.bz2
 
Mkdir the  build  directory: mkdir build
 
Decompress the Android NDK: tar xvf ~/Downloads/android-ndk-r4-crystax.tar.bz2
 
Config the Makefile: cmake -D NDK_ROOT=~/Working/OpenCV-2.2.0/android/android-ndk-r4-crystax ../
 
Start to build source code: make
 
 
Build the android-jni:  (in OpenCV-2.2.0/android/build) cd ../android-jni make HOME=/home/neutron/Working/OpenCV-2.2.0/and...
 
Run the ant java based build: sh project_create.sh ant compile
 
Modify the build.xml file in android-jni: vim build.xml
 
Build the sample project – CVCamera: (in OpenCV-2.2.0/android/android-jni) cd ../apps/CVCamera cp sample.local.env.mk loca...
 
 
 
 
 
 
 
 
Upcoming SlideShare
Loading in...5
×

OpenCV 2.2.0 for Android

11,002

Published on

A tutorial of Compiling OpenCV 2.2.0 for Android.

Published in: Technology, Education
5 Comments
6 Likes
Statistics
Notes
No Downloads
Views
Total Views
11,002
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
305
Comments
5
Likes
6
Embeds 0
No embeds

No notes for slide

Transcript of "OpenCV 2.2.0 for Android"

  1. 1. OpenCV for Android Installation Tutorial Author: Tony
  2. 2. What's OpenCV?
  3. 4. Why OpenCV?
  4. 5. Open Source?
  5. 6. Commercial Use?
  6. 7. High Performance?
  7. 8. Keep on Going?
  8. 9. Portability?
  9. 11. Open Source Commercial Use High Performance Keep on Going Portability Creative by Yourself! BSD License for You! GPU, SIMD, OpenMP 2010.12 Android, Linux, etc.
  10. 12. Decompress OpenCV source code: tar xvf ~/Downloads/OpenCV-2.2.0.tar.bz2
  11. 14. Mkdir the build directory: mkdir build
  12. 16. Decompress the Android NDK: tar xvf ~/Downloads/android-ndk-r4-crystax.tar.bz2
  13. 18. Config the Makefile: cmake -D NDK_ROOT=~/Working/OpenCV-2.2.0/android/android-ndk-r4-crystax ../
  14. 20. Start to build source code: make
  15. 23. Build the android-jni: (in OpenCV-2.2.0/android/build) cd ../android-jni make HOME=/home/neutron/Working/OpenCV-2.2.0/android
  16. 25. Run the ant java based build: sh project_create.sh ant compile
  17. 27. Modify the build.xml file in android-jni: vim build.xml
  18. 29. Build the sample project – CVCamera: (in OpenCV-2.2.0/android/android-jni) cd ../apps/CVCamera cp sample.local.env.mk local.env.mk Modify the HOME variable in local.env.mk sh build.sh sh project_create.sh ant debug ant install
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×