Ask Your Question

Is there any way that I can use SURF and SIFT ... in OpenCV 3 Java?

asked 2015-06-29 03:23:11 -0500

BAHRAMUDIN ADIL gravatar image

I am using OpenCV 3 which has a wrapper for Java, but I am not able to use SURF and SIFT and some other algorithms in Java. I have tried many ways and googled for a long time, but I cannot find any way for this problem. Also somewhere I even saw that some people says there is now way. Not only this, in Java wrapper I also cannot find Video writer class and also BOWTrainer class and so on. Now my question is why OpenCV has a wrapper which is not complete for Java, if there are a lot of problems such as above I mentioned some, then it is no need to publish an incomplete wrapper for another language which is not usable for the users. Before OpenCV 3 I can write video, but now no. I waited for a long time that OpenCV 3 will be good version and will take care of all of the problem of previous versions, but now it has more problem then previous versions (not good documentation for Eclispe ... etc). If anyone understanding my question and also has the way sole this, please tell me what to do. Thank you!

edit retag flag offensive close merge delete



not possible to use SIFT or SURF from java atm, unfortunately ;(

but you should have videoio.VideoWriter !

berak gravatar imageberak ( 2015-06-29 03:24:06 -0500 )edit

I did not find VideoWriter class inside videoio package or inside videoio class you can check it, I just downloaded the new version.

BAHRAMUDIN ADIL gravatar imageBAHRAMUDIN ADIL ( 2015-06-29 03:31:03 -0500 )edit

damn, you're right .

berak gravatar imageberak ( 2015-06-29 03:54:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-03 07:41:06 -0500

I recently needed SURF algorithm using the java binding in OpenCV 3, so I made a fork and merged back the "feature2dx" module whichs contains all the descriptors and detectors and enabled it, check it if helps

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-29 03:23:11 -0500

Seen: 1,342 times

Last updated: Jul 03 '15