From 12db19c1299cefdea37514bf66d5c24a1c92497c Mon Sep 17 00:00:00 2001 From: keith siilats Date: Wed, 29 Mar 2023 15:44:55 -0400 Subject: [PATCH] Update charuco_detector.hpp setcharucoparameters fails in python --- .../objdetect/include/opencv2/objdetect/charuco_detector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp b/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp index f6ad67709989..50d0cbd5bedb 100644 --- a/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp +++ b/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp @@ -48,7 +48,7 @@ class CV_EXPORTS_W CharucoDetector : public Algorithm { CV_WRAP void setBoard(const CharucoBoard& board); CV_WRAP const CharucoParameters& getCharucoParameters() const; - CV_WRAP void setCharucoParameters(CharucoParameters& charucoParameters); + CV_WRAP void setCharucoParameters(const CharucoParameters& charucoParameters); CV_WRAP const DetectorParameters& getDetectorParameters() const; CV_WRAP void setDetectorParameters(const DetectorParameters& detectorParameters);