28 #ifndef CORELIB_INCLUDE_RTABMAP_CORE_MARKERDETECTOR_H_ 29 #define CORELIB_INCLUDE_RTABMAP_CORE_MARKERDETECTOR_H_ 33 #include <opencv2/opencv_modules.hpp> 35 #ifdef HAVE_OPENCV_ARUCO 36 #include <opencv2/aruco.hpp> 67 MapIdPose
detect(
const cv::Mat & image,
69 const cv::Mat & depth = cv::Mat(),
70 float * estimatedMarkerLength = 0,
71 cv::Mat * imageWithDetections = 0),
"Use the other detect(), in which the returned map contains the length of each marker detected.");
73 std::map<int, MarkerInfo>
detect(
const cv::Mat & image,
74 const std::vector<CameraModel> & models,
75 const cv::Mat & depth = cv::Mat(),
76 const std::map<int, float> & markerLengths = std::map<int, float>(),
77 cv::Mat * imageWithDetections = 0);
79 std::map<int, MarkerInfo>
detect(
const cv::Mat & image,
81 const cv::Mat & depth = cv::Mat(),
82 const std::map<int, float> & markerLengths = std::map<int, float>(),
83 cv::Mat * imageWithDetections = 0);
86 #ifdef HAVE_OPENCV_ARUCO 87 cv::Ptr<cv::aruco::DetectorParameters> detectorParams_;
93 cv::Ptr<cv::aruco::Dictionary> dictionary_;
MarkerInfo(int id, float length, Transform pose)
std::map< std::string, std::string > ParametersMap
RTABMAP_DEPRECATED(typedef SensorData Image, "rtabmap::Image class is renamed to rtabmap::SensorData, use the last one instead.")
std::map< int, Transform > MapIdPose
const Transform & pose() const