Skip to content

Commit

Permalink
add Dictionary bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrPanov committed Apr 18, 2022
1 parent b8e4061 commit ed749c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/aruco/include/opencv2/aruco/dictionary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;


/**
Expand Down

0 comments on commit ed749c5

Please sign in to comment.