Skip to content

Commit aca8759

Browse files
authored
fix wrong detector in detectCharucoDiamond
use diamond detector instead of board detector in detectCharucoDiamond()
1 parent 6d78a0b commit aca8759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aruco/src/charuco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void detectCharucoDiamond(InputArray _image, InputArrayOfArrays _markerCorners,
3939
vector<Mat> markerCorners;
4040
_markerCorners.getMatVector(markerCorners);
4141

42-
detector.detectBoard(_image, _diamondCorners, _diamondIds, markerCorners, _markerIds.getMat());
42+
detector.detectDiamonds(_image, _diamondCorners, _diamondIds, markerCorners, _markerIds.getMat());
4343
}
4444

4545

0 commit comments

Comments
 (0)