OpenCV empty flannbased descriptor matcher
Hi, i am a newbie and i am trying to run a matching_to_many_images.cpp, but rewritten on java. Why when i create an Flannbased descriptor matcher, it is empty ? DescriptorMatcher descriptorMatcher = DescriptorMatcher.create(DescriptorMatcher.FLANNBASED); if (descriptorMatcher.empty()) { System.out.println("Can not create descriptor matcher of given types."); return; }
Check the usage of the empty() function. Then you should know why: http://docs.opencv.org/modules/features2d/doc/common_interfaces_of_descriptor_matchers.html