From 317c02cf4fcf37c3dc8ad006ca1cc07fc77032ee Mon Sep 17 00:00:00 2001 From: AleksandrPanov Date: Thu, 14 Apr 2022 17:43:19 +0300 Subject: [PATCH] add_Dictionary_bindings --- modules/aruco/include/opencv2/aruco/dictionary.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aruco/include/opencv2/aruco/dictionary.hpp b/modules/aruco/include/opencv2/aruco/dictionary.hpp index 40174162e4b..ca9d0b4a0fa 100644 --- a/modules/aruco/include/opencv2/aruco/dictionary.hpp +++ b/modules/aruco/include/opencv2/aruco/dictionary.hpp @@ -117,13 +117,13 @@ class CV_EXPORTS_W Dictionary { * @brief Given a matrix of bits. Returns whether if marker is identified or not. * It returns by reference the correct id (if any) and the correct rotation */ - bool identify(const Mat &onlyBits, int &idx, int &rotation, double maxCorrectionRate) const; + CV_WRAP bool identify(const Mat &onlyBits, CV_OUT int &idx, CV_OUT int &rotation, double maxCorrectionRate) const; /** * @brief Returns the distance of the input bits to the specific id. If allRotations is true, * the four posible bits rotation are considered */ - int getDistanceToId(InputArray bits, int id, bool allRotations = true) const; + CV_WRAP int getDistanceToId(InputArray bits, int id, bool allRotations = true) const; /**