Ask Your Question

OpenCV empty flannbased descriptor matcher

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

revenge92 gravatar image

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

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


Check the usage of the empty() function. Then you should know why:

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

1 answer

Sort by ยป oldest newest most voted

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

revenge92 gravatar image

My bad, sorry. Thanks for the answer.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


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

Seen: 269 times

Last updated: Aug 19 '13