Added "fat" mode for Java wrapper
This commit is contained in:
@@ -2,6 +2,9 @@ LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
OPENCV_LIB_TYPE:=STATIC
|
||||
OPENCV_INSTALL_MODULES:=on
|
||||
|
||||
include ../includeOpenCV.mk
|
||||
ifeq ("$(wildcard $(OPENCV_MK_PATH))","")
|
||||
#try to load OpenCV.mk from default install location
|
||||
|
@@ -24,6 +24,10 @@ class Sample3View extends SampleViewBase {
|
||||
public native void FindFeatures(int width, int height, byte yuv[], int[] rgba);
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("opencv_java");
|
||||
} catch(Exception e) {
|
||||
}
|
||||
System.loadLibrary("native_sample");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user