mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
- remove zero threshold that prevents ORB from finding any local features
This commit is contained in:
parent
28dd315ef3
commit
4546139844
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user