I've two photo really similar this one is recognized correctly as marker 209 of a 5x5_250 dictionary
while this other really similar it is not recognized, it is the marker 207 of the same 5x5_250 dictionary:
and also the marker 207 is instead recognized in this other photo:
I've tried changing something in the detector parameters
params->adaptiveThreshWinSizeMin = 4;
params->adaptiveThreshWinSizeMax = 26;
params->adaptiveThreshWinSizeStep = 2;
params->minMarkerPerimeterRate = 0.01;
params->maxMarkerPerimeterRate = 4;
params->polygonalApproxAccuracyRate = 0.1;
params->perspectiveRemovePixelPerCell = 10;
but it seems nothing change so I turn back to the default values, so my question is:
- it is necessary a white border surrounding the marker?
- why the marker 207 is not recognized in the second photo? Thanks