Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java OpenCV: Specified feature detector type is not supported

I downloaded the OpenCV 3.0.0-rc1. I am experiment it in Java.

I try to use the SURF feature detector:

FeatureDetector featureDetector = FeatureDetector.create(FeatureDetector.SURF);

But it reports the error below:

enter image description here

Why? Is the Java wrapper of OpenCV is not complete?

like image 998
smwikipedia Avatar asked May 07 '26 08:05

smwikipedia


1 Answers

It seems the Java wrapper for OpenCV 3.0.0-rc1 is indeed incomplete. I turned to use the 2.4.10, the SURF detector and many others are available now.

Just as @berak commented, the extra modules need to be added to the main repo by yourself.

like image 111
smwikipedia Avatar answered May 09 '26 22:05

smwikipedia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!