I have a problem with the cv::aruco::detectMarkers sometimes gives quite boot estimates for the border of the marker. I can generally tune the detection parameters to get a good fit, but would very much like if I somehow could get an estimate of the quality of the fit, thereby allowing the application to automatically reject poor estimates.
Any suggestions for how to obtain such a measure of quality. I have been looking into using the number of rejectedPoints, but it does not appear to be consistent with the kind of errors I occasionally see in the detection.