diff --git a/src/recognition.cpp b/src/recognition.cpp index 8b17fe6ee7a75d18c95287f40aa779ae9c821c4e..d4255bc335e68a701195e9cf7e5df4b4caffe7f6 100644 --- a/src/recognition.cpp +++ b/src/recognition.cpp @@ -662,6 +662,7 @@ void detail::refineWithAruco( // NOTE: For now, add as parameter of findMulticolorMarker codeOpt.setOffsetCropRect2Roi(offsetCropRect2Roi); findCodeMarker(subImg, crossList, options.method, codeOpt, intrinsicCameraParams); + codeOpt.setOffsetCropRect2Roi({0, 0}); resolveMoreThanOneCode(lengthini, crossList, blob, offsetCropRect2Roi);