Showing posts with label Computer Vision. Show all posts
Showing posts with label Computer Vision. Show all posts

Sunday, February 01, 2015

Building OpenCV for Android from Source

Reference

Introduction

  1. Check Android Version
    1. Most of Example does not run completely on Lollipop because native camera are not supported by OpenCV 2.4.10.  libnative_camera_r5.0.0.so does not exist yet.
  2. Download Android source code and compile it 
    1. For full build including "OpenCV Manager(or Engine)" android platform source tree is needed. Check my previous post (http://jylee-world.blogspot.kr/2013/11/android-platform-nexus-4-rooting.html)
    2. We get opencv_engine.apk(including libOpenCVEngine.so and libOpenCVEngine_jni.so) by setting source tree.
  3. Download android NDK and set ANDROID_NDK
  4. Download android SDK and set ANDROID_SDK
  5. Setup for cmake (explained in detail in the next sections)
    1. Modify cmake_android_arm.sh
    2. Combine cmake_android_service.sh)
  6. Apply minor source modifications (explained in detail in the next sections)
  7. cmake
  8. make
 I use opencv-2.4.10-release, android-ndk-r9d(NDK),  adt-bundle-linux-x86_64-20140702(SDK), android-4.4.2_r1 (Android Source)

Friday, June 06, 2014

[Links] Computer Vision Links & References

Information for Deep Learning

Mathematical Fundamental

Computer Vision, Model, Learning and Inference

Recognizing and Learning Object Categories

David Forsyth's Homepage

Derek Hoiem

 Robert T. Collins

Technische Universitat Munchen

Computer Vision Online

Advanced Robotics Lecture Notes@UC Berkeley