Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Dec 11, 2020
2 parents dda1f3d + 332ae5b commit 24be5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/aruco/src/charuco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static int _selectAndRefineChessboardCorners(InputArray _allCorners, InputArray
if(_image.type() == CV_8UC3)
cvtColor(_image, grey, COLOR_BGR2GRAY);
else
_image.copyTo(grey);
grey = _image.getMat();

const Ptr<DetectorParameters> params = DetectorParameters::create(); // use default params for corner refinement

Expand Down Expand Up @@ -724,7 +724,7 @@ void detectCharucoDiamond(InputArray _image, InputArrayOfArrays _markerCorners,
if(_image.type() == CV_8UC3)
cvtColor(_image, grey, COLOR_BGR2GRAY);
else
_image.copyTo(grey);
grey = _image.getMat();

// for each of the detected markers, try to find a diamond
for(unsigned int i = 0; i < _markerIds.total(); i++) {
Expand Down

0 comments on commit 24be5b8

Please sign in to comment.