- remove zero threshold that prevents ORB from finding any local features

This commit is contained in:
Eric Zavesky 2016-02-15 04:26:03 -06:00
parent 28dd315ef3
commit 4546139844

View File

@ -140,7 +140,6 @@ int main(int argc, char **argv)
Ptr<AKAZE> akaze = AKAZE::create(); Ptr<AKAZE> akaze = AKAZE::create();
akaze->setThreshold(akaze_thresh); akaze->setThreshold(akaze_thresh);
Ptr<ORB> orb = ORB::create(); Ptr<ORB> orb = ORB::create();
orb->setMaxFeatures(stats.keypoints);
Ptr<DescriptorMatcher> matcher = DescriptorMatcher::create("BruteForce-Hamming"); Ptr<DescriptorMatcher> matcher = DescriptorMatcher::create("BruteForce-Hamming");
Tracker akaze_tracker(akaze, matcher); Tracker akaze_tracker(akaze, matcher);
Tracker orb_tracker(orb, matcher); Tracker orb_tracker(orb, matcher);