Your SlideShare is downloading. ×
0
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
OpenCV 2.2.0 for Android
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

OpenCV 2.2.0 for Android

10,948

Published on

A tutorial of Compiling OpenCV 2.2.0 for Android.

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
10,948
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
302
Comments
5
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. OpenCV for Android Installation Tutorial Author: Tony
  • 2. What's OpenCV?
  • 3.  
  • 4. Why OpenCV?
  • 5. Open Source?
  • 6. Commercial Use?
  • 7. High Performance?
  • 8. Keep on Going?
  • 9. Portability?
  • 10.  
  • 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.
  • 12. Decompress OpenCV source code: tar xvf ~/Downloads/OpenCV-2.2.0.tar.bz2
  • 13.  
  • 14. Mkdir the build directory: mkdir build
  • 15.  
  • 16. Decompress the Android NDK: tar xvf ~/Downloads/android-ndk-r4-crystax.tar.bz2
  • 17.  
  • 18. Config the Makefile: cmake -D NDK_ROOT=~/Working/OpenCV-2.2.0/android/android-ndk-r4-crystax ../
  • 19.  
  • 20. Start to build source code: make
  • 21.  
  • 22.  
  • 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
  • 24.  
  • 25. Run the ant java based build: sh project_create.sh ant compile
  • 26.  
  • 27. Modify the build.xml file in android-jni: vim build.xml
  • 28.  
  • 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
  • 30.  
  • 31.  
  • 32.  
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37.  

×