mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ethan Rublee
525da9ef01
|
14 years ago | |
---|---|---|
.. | ||
jni | 14 years ago | |
src/com/opencv | 14 years ago | |
AndroidManifest.xml | 14 years ago | |
Makefile | 14 years ago | |
README.txt | 14 years ago | |
default.properties | 14 years ago | |
project_create.sh | 14 years ago | |
sample.local.env.mk | 14 years ago |
README.txt
android-jni
this is an example of an android library project that has some reusable
code that exposes part of OpenCV to android. In particular this provides a
native camera interface for loading live video frames from the android camera
into native opencv functions(as cv::Mat's)
pre-reqs:
* build the opencv/android libraries - up one directory
* you need swig in you path for android-jni
on ubuntu - sudo apt-get install swig
others: http://www.swig.org/
to build:
make
that should work... If it doesn't make sure to edit the generated local.env.mk
to reflect your machine's setup
see the sample for how to use this in your own projects