Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CameraRigBA::matchFrameToFrame allows to use only SURF_GPU for feature detection and matching #117

Open
sandeepnmenon opened this issue May 26, 2022 · 1 comment

Comments

@sandeepnmenon
Copy link
Contributor

As shown in the code below

cv::Ptr<SurfGPU> surf = SurfGPU::instance(200.0);
std::vector<cv::KeyPoint> rkeypoints1, rkeypoints2;
cv::Mat rdtors1, rdtors2;
std::vector<cv::DMatch> rmatches;
surf->match(rimg1, rkeypoints1, rdtors1, rmask1,
rimg2, rkeypoints2, rdtors2, rmask2, rmatches);

Unlike in FeatureTracker.cc, there is no support for switching between detectors and matchers.
The code can be improved here to accept m_detectorType, m_descriptorType and m_matchTestType

Are PRs accepted? I see no PRs accepted post 2017

@hengli
Copy link
Owner

hengli commented May 26, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants