Ask Your Question

Weblucas's profile - activity

2016-07-01 09:08:27 -0600 received badge  Notable Question (source)
2015-01-29 14:21:04 -0600 received badge  Popular Question (source)
2013-05-12 07:49:07 -0600 answered a question Object detection in scene

There are few options to do this. The easier way is fix a percentage of keypoints_object. Test some values. if(good_matches.size() > 0.65*keypoints_object.size()) found else not found

A better way is evaluate the reprojection error and define a fixed minimum amount of matches with low reprojection error.

2013-05-12 07:19:51 -0600 received badge  Supporter (source)
2012-09-18 03:14:35 -0600 received badge  Student (source)
2012-07-30 07:16:34 -0600 asked a question How the libopencv_java.so is copy to the apk when it is used the static lib type?

I compile the jni part of my code, the camera libs ares copied, but the libopencv_java.so is ways missing. I do this copy by hand then everthing works...

my android.mk

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=STATIC
include ../includeOpenCV.mk
include $(OPENCV_MK_PATH)

LOCAL_MODULE    := olah
LOCAL_CFLAGS    := -Werror
LOCAL_SRC_FILES := part_jni.cpp 
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../../libs/
LOCAL_LDLIBS    += -llog -ldl -lGLESv2

include $(BUILD_SHARED_LIBRARY)