1 | initial version |
hmm
Ptr<aruco::DetectorParameters> params; // and ? nothing else here ?
params->cornerRefinementMethod = aruco::CORNER_REFINE_NONE;
2 | No.2 Revision |
hmm
Ptr<aruco::DetectorParameters> params; // and ? nothing else here ?
? (params is invalid)
params->cornerRefinementMethod = aruco::CORNER_REFINE_NONE;
3 | No.3 Revision |
hmm
Ptr<aruco::DetectorParameters> params; // and ? nothing else here ? (params is invalid)
params->cornerRefinementMethod = aruco::CORNER_REFINE_NONE;
4 | No.4 Revision |
hmmyou've found a bug in the tutorial ;)
if you want to use additional params for the aruco detection, you need a valid instance of it
(as it is in the sample code) :
Ptr<aruco::DetectorParameters> params; params = aruco::DetectorParameters::create();
// nothing else here ? (params is invalid)
now youcan use a "valid pointer" to set param values:
params->cornerRefinementMethod = aruco::CORNER_REFINE_NONE;
// also now with valid params
aruco::detectMarkers(image, dictionary, corners, ids, params);