opencv3.0 contrib install fail. [closed]

asked 2015-09-25 08:54:33 -0600

korea_baby gravatar image

I know a little c language or c++ languages. I wanted to use sift,surf in the Java language.

I had to download the opencv3.0.0. After that the c:\opencv I unpacked the archive.

I use it only in Java. So after running the eclipse opencv-300.jar we have added to the library in the project.

I had to download the opencv_contrib-master.zip After that the c:\opencv_contrib-master I unpacked the archive. I've run cmake-gui.

image description

This was the setting, pressed a button called configure.

After that

image description

The value of OPENCV_EXTRA_MODULES_PATH "c: / opencv_contrib-master / modules" changed to. After the configure button was pressed. And the build button was pressed.

I did exactly?

anyways, After running these opencv-300.jar file it has not changed. I still can not use the sift and surf. Please help me.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-11-22 04:04:05.521320

Comments

sorry for the bad news, but unfortunately, there are no java wrappers for xfeatures2d atm.

(call it a bug, - it's not a problem with your build)

berak gravatar imageberak ( 2015-09-25 09:01:56 -0600 )edit

I would like to obtain the source code that implements the sift or surf using Java. Or I have a source code that implements the feature matching using Java. Not to use on Android. Please help me.

korea_baby gravatar imagekorea_baby ( 2015-09-25 09:02:58 -0600 )edit

the long story is, that there's a python script generating java wrappers around c++ code.

something on the way there broke, when moving to 3.0, and splitting everything up into 2 seperate repos.

in other words, there is no real java code, just wrappers around c++ functionality. you might try to create your own , using JNI, but this sounds difficult, and no idea, if it is possible at all.

berak gravatar imageberak ( 2015-09-25 09:08:46 -0600 )edit

falling back to opencv2.4 might be another alternative for now.

berak gravatar imageberak ( 2015-09-25 09:13:15 -0600 )edit

Tell me how to install the 2.4 version. please. Can I install javacv? together?

korea_baby gravatar imagekorea_baby ( 2015-09-25 09:18:07 -0600 )edit

I am difficult to understand. Please describe loosen easily. I can not speak English very well. Please tell me an easy word.

korea_baby gravatar imagekorea_baby ( 2015-09-25 09:18:51 -0600 )edit

if you got the code from github, it's just a git checkout 2.4 , then repeat the cmake/build process (without the contrib repo)

no idea about 3rd party javacv. why do you think, you need it ?

berak gravatar imageberak ( 2015-09-25 09:20:19 -0600 )edit

In order to use opencv2.4 in Java ... javacv is Not Necessary?

korea_baby gravatar imagekorea_baby ( 2015-09-25 09:32:22 -0600 )edit

no. javacv is an alternative c++ - to - java wrapping mechanism. unfortunately, theirs is a bit outdated, and incomplete.

berak gravatar imageberak ( 2015-09-25 09:40:17 -0600 )edit

Then When I installed the 2.4 Can I use the sift and surf?

korea_baby gravatar imagekorea_baby ( 2015-09-25 09:46:41 -0600 )edit