39
#ifndef __OPENCV_DICTIONARY_HPP__
40
#define __OPENCV_DICTIONARY_HPP__
42
#include <opencv2/core.hpp>
64
CV_PROP_RW
Mat
bytesList;
65
CV_PROP_RW
int
markerSize;
66
CV_PROP_RW
int
maxCorrectionBits;
71
Dictionary(
const
Mat
&_bytesList =
Mat(),
int
_markerSize = 0,
int
_maxcorr = 0);
105
bool
identify(
const
Mat
&onlyBits,
int
&idx,
int
&rotation,
double
maxCorrectionRate)
const;
123
CV_WRAP
static
Mat
getByteListFromBits(
const
Mat
&bits);
129
CV_WRAP
static
Mat
getBitsFromByteList(
const
Mat
&byteList,
int
markerSize);
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition:
mat.hpp:295
n-dimensional dense array class
Definition:
mat.hpp:802
Dictionary/Set of markers. It contains the inner codification
Definition:
dictionary.hpp:61
CV_WRAP_AS(create_from) static Ptr< Dictionary > create(int nMarkers
bool identify(const Mat &onlyBits, int &idx, int &rotation, double maxCorrectionRate) const
Given a matrix of bits. Returns whether if marker is identified or not. It returns by reference the c...
Dictionary(const Ptr< Dictionary > &_dictionary)
int getDistanceToId(InputArray bits, int id, bool allRotations=true) const
Returns the distance of the input bits to the specific id. If allRotations is true,...
CV_WRAP_AS(create) static Ptr< Dictionary > create(int nMarkers
PREDEFINED_DICTIONARY_NAME
Predefined markers dictionaries/sets Each dictionary indicates the number of bits and the number of m...
Definition:
dictionary.hpp:141
CV_EXPORTS_W Ptr< Dictionary > getPredefinedDictionary(int dict)
Returns one of the predefined dictionaries referenced by DICT_*.
@ DICT_APRILTAG_25h9
5x5 bits, minimum hamming distance between any two codes = 9, 35 codes
Definition:
dictionary.hpp:160
@ DICT_APRILTAG_16h5
4x4 bits, minimum hamming distance between any two codes = 5, 30 codes
Definition:
dictionary.hpp:159
@ DICT_APRILTAG_36h11
6x6 bits, minimum hamming distance between any two codes = 11, 587 codes
Definition:
dictionary.hpp:162
@ DICT_APRILTAG_36h10
6x6 bits, minimum hamming distance between any two codes = 10, 2320 codes
Definition:
dictionary.hpp:161
CV_EXPORTS_AS(calibrateCameraExtended) double calibrateCamera(InputArrayOfArrays objectPoints
Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern.
CV_EXPORTS_W void drawMarker(InputOutputArray img, Point position, const Scalar &color, int markerType=MARKER_CROSS, int markerSize=20, int thickness=1, int line_type=8)
Draws a marker on a predefined position in an image.
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74