Java BRIEF
I am learning OpenCV 3.x using java and came across problem using BRIEF detector:
DescriptorExtractor brief = DescriptorExtractor.create(DescriptorExtractor.BRIEF);
MatOfKeyPoint keypoints = new MatOfKeyPoint();
Mat descriptors = new Mat();
brief.compute(gray, keypoints, descriptors);
Features2d.drawKeypoints(gray, keypoints, copyMat);
This results in OpenCV Error: Bad argument (Specified descriptor extractor type is not supported.)
Is there a mistake in my code or is BRIEF really not supported?
Thanks.