Commit fba1825a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed some more compile errors and test failures

parent 6c63139f
...@@ -94,9 +94,9 @@ bool CustomPattern::init(Mat& image, const float pixel_size, OutputArray output) ...@@ -94,9 +94,9 @@ bool CustomPattern::init(Mat& image, const float pixel_size, OutputArray output)
if (!detector) // if no detector chosen, use default if (!detector) // if no detector chosen, use default
{ {
detector = ORB::create(); detector = ORB::create();
detector->set("nFeatures", 2000); detector->set(ORB::NFEATURES, 2000);
detector->set("scaleFactor", 1.15); detector->set(ORB::SCALE_FACTOR, 1.15);
detector->set("nLevels", 30); detector->set(ORB::NLEVELS, 30);
} }
detector->detect(img_roi, keypoints); detector->detect(img_roi, keypoints);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment