diff --git a/modules/objdetect/include/opencv2/objdetect/aruco_board.hpp b/modules/objdetect/include/opencv2/objdetect/aruco_board.hpp index e8300c82bf..ec6c6bda55 100644 --- a/modules/objdetect/include/opencv2/objdetect/aruco_board.hpp +++ b/modules/objdetect/include/opencv2/objdetect/aruco_board.hpp @@ -168,11 +168,11 @@ public: /** @brief get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array */ - CV_PROP std::vector > getNearestMarkerIdx() const; + CV_WRAP std::vector > getNearestMarkerIdx() const; /** @brief get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each marker */ - CV_PROP std::vector > getNearestMarkerCorners() const; + CV_WRAP std::vector > getNearestMarkerCorners() const; /** @brief check whether the ChArUco markers are collinear * diff --git a/modules/objdetect/misc/objc/gen_dict.json b/modules/objdetect/misc/objc/gen_dict.json index 0311e1e5d6..73d7ada064 100644 --- a/modules/objdetect/misc/objc/gen_dict.json +++ b/modules/objdetect/misc/objc/gen_dict.json @@ -2,6 +2,10 @@ "ManualFuncs" : { "QRCodeDetectorAruco": { "getDetectorParameters": { "declaration" : [""], "implementation" : [""] } + }, + "CharucoBoard": { + "getNearestMarkerIdx" : { "declaration" : [""], "implementation" : [""] }, + "getNearestMarkerCorners" : { "declaration" : [""], "implementation" : [""] } } } }