mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #23495 from smeng9:4.x
Fix aruco module CORNER_REFINE_CONTOUR parameter gets skipped
This commit is contained in:
@@ -965,7 +965,7 @@ void ArucoDetector::detectMarkers(InputArray _image, OutputArrayOfArrays _corner
|
||||
/// STEP 3, Optional : Corner refinement :: use contour container
|
||||
if (detectorParams.cornerRefinementMethod == CORNER_REFINE_CONTOUR){
|
||||
|
||||
if (!_ids.empty()) {
|
||||
if (!ids.empty()) {
|
||||
|
||||
// do corner refinement using the contours for each detected markers
|
||||
parallel_for_(Range(0, (int)candidates.size()), [&](const Range& range) {
|
||||
|
||||
Reference in New Issue
Block a user