Go to the documentation of this file.
17 #ifndef ArucoDictionaryBasedMarkerDetector_H
18 #define ArucoDictionaryBasedMarkerDetector_H
23 #include <opencv2/core/core.hpp>
39 virtual bool detect(
const cv::Mat& in,
int& marker_id,
int& nRotations,
40 std::string& additionalInfo);
42 virtual std::string
getName()
const;
56 bool getInnerCode(
const cv::Mat& thres_img,
int total_nbits, std::vector<uint64_t>& ids);
57 cv::Mat
rotate(
const cv::Mat& in);
58 uint64_t
touulong(
const cv::Mat& code);
59 std::vector<Dictionary>
vdic;
60 void toMat(uint64_t code,
int nbits_sq, cv::Mat& out);
void toMat(uint64_t code, int nbits_sq, cv::Mat &out)
void setParams(const Dictionary &dic, float max_correction_rate)
virtual std::string getName() const
cv::Mat rotate(const cv::Mat &in)
virtual int getNSubdivisions() const
getNSubdivisions returns the number of subdivisions in each axis that the iamge will be subject to....
float _max_correction_rate
std::vector< Dictionary > getDictionaries() const
std::vector< Dictionary > vdic
bool getInnerCode(const cv::Mat &thres_img, int total_nbits, std::vector< uint64_t > &ids)
uint64_t touulong(const cv::Mat &code)
virtual bool detect(const cv::Mat &in, int &marker_id, int &nRotations, std::string &additionalInfo)
std::map< uint32_t, std::vector< Dictionary * > > nbits_dict
virtual ~DictionaryBased()
aruco
Author(s): Rafael Muñoz Salinas
, Bence Magyar
autogenerated on Sat Sep 23 2023 02:26:45