mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
renamed LATCH
This commit is contained in:
parent
6613519c2e
commit
05a45ef6dc
@ -22,7 +22,7 @@ int main(void)
|
|||||||
|
|
||||||
Mat homography;
|
Mat homography;
|
||||||
FileStorage fs("../data/H1to3p.xml", FileStorage::READ);
|
FileStorage fs("../data/H1to3p.xml", FileStorage::READ);
|
||||||
|
|
||||||
fs.getFirstTopLevelNode() >> homography;
|
fs.getFirstTopLevelNode() >> homography;
|
||||||
|
|
||||||
vector<KeyPoint> kpts1, kpts2;
|
vector<KeyPoint> kpts1, kpts2;
|
||||||
@ -30,7 +30,7 @@ int main(void)
|
|||||||
|
|
||||||
Ptr<cv::ORB> orb_detector = cv::ORB::create(10000);
|
Ptr<cv::ORB> orb_detector = cv::ORB::create(10000);
|
||||||
|
|
||||||
Ptr<xfeatures2d::LATCHDescriptorExtractor> latch = xfeatures2d::LATCHDescriptorExtractor::create();
|
Ptr<xfeatures2d::LATCH> latch = xfeatures2d::LATCH::create();
|
||||||
|
|
||||||
|
|
||||||
orb_detector->detect(img1, kpts1);
|
orb_detector->detect(img1, kpts1);
|
||||||
|
Loading…
Reference in New Issue
Block a user