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 a5e17c2fbf Linking order for android. 14 years ago
..
android-cmake
android-jni Fixing check in NativePreviewer for supported modes, and a little auto formatting 14 years ago
apps fixing a small error in the armeabi selection 14 years ago
Android.mk.in Adding optimization for brief and android using NEON SIMD intrinsics 14 years ago
Android.mk.master.in
Android.mk.modules.in
AndroidCVModule.cmake changing the names of the opencv libraries for android, all except 3rd parties have opencv_ prepended 14 years ago
AndroidManifest.xml.in
Application.mk.in Adding a few settings to the camera driver for android. 14 years ago
CMakeLists.txt Adding a few settings to the camera driver for android. 14 years ago
README.android.txt
android-opencv.mk.in Linking order for android. 14 years ago
android.wiki
changes.Android.txt
changes.diff
cvconfig.h.in updated version number; removed unnecessary index.html and ChangeLog.htm 14 years ago
default.properties.in
diff.txt

README.android.txt

Author: Ethan Rublee
email: ethan.rublee@gmail.com


To build with cmake:

mkdir build
cd build
cmake ..
make



Make sure to set the path in the cache for the crystax ndk available
here:
http://www.crystax.net/android/ndk-r4.php


to include in an android project -
just include the generated android-opencv.mk in you android ndk project
(in an Android.mk file)
with:

include android-opencv.mk

this defines OPENCV_INCLUDES and OPENCV_LIBS - which you should add to your
makefiles like:

#define OPENCV_INCLUDES and OPENCV_LIBS
include $(PATH_TO_OPENCV_ANDROID_BUILD)/android-opencv.mk

LOCAL_LDLIBS += $(OPENCV_LIBS)

LOCAL_C_INCLUDES += $(OPENCV_INCLUDES)

for now, you also need to cd to android-jni and run make
this will create the android shared library with some useful functionality
that may be reused in android projects.