顯示具有 cpp 標籤的文章。 顯示所有文章
顯示具有 cpp 標籤的文章。 顯示所有文章

2012年3月23日 星期五

Android with OpenCV native c++ code

This is for the OpenCV 2.3.1 version and using the prebuild version from official site.

First,download these three things and remember to set up eclipse with android-sdk.

1.Android-ndk 

2.opencv-android 

3.cygwin 

--------------------------------------------------Install Step----------------------------------------------------------

Using OpenCV 2.3.1a in Xcode 4

I'm now using Mac OS X to writing my OpenCV project

(install OpenCV in 1 minute, just open terminal and type the three red lines!!)


To build the environment, first we should have OpenCV in our OS

I use homebrew to install OpenCV 2.3.1a and I think it's very easy and fast.

First open your terminal and type
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

By doing this, homebrew is now inside your system.