Ask Your Question
0

OpenCV empty flannbased descriptor matcher

asked 2013-08-09 07:32:59 -0600

revenge92 gravatar image

updated 2013-08-09 08:58:30 -0600

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; }

edit retag flag offensive close merge delete

Comments

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

Moster gravatar imageMoster ( 2013-08-09 11:52:26 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2013-08-19 03:49:54 -0600

revenge92 gravatar image

My bad, sorry. Thanks for the answer.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-08-09 07:32:59 -0600

Seen: 362 times

Last updated: Aug 19 '13