mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
This commit is contained in:
@@ -2099,7 +2099,7 @@ BriskLayer::BriskLayer(const BriskLayer& layer, int mode)
|
||||
void
|
||||
BriskLayer::getAgastPoints(int threshold, std::vector<KeyPoint>& keypoints)
|
||||
{
|
||||
fast_9_16_->set(FastFeatureDetector::THRESHOLD, threshold);
|
||||
fast_9_16_->setThreshold(threshold);
|
||||
fast_9_16_->detect(img_, keypoints);
|
||||
|
||||
// also write scores
|
||||
|
||||
Reference in New Issue
Block a user