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> 46 std::map<int, Transform>
detect(
const cv::Mat & image,
const CameraModel & model,
const cv::Mat & depth = cv::Mat(),
float * estimatedMarkerLength = 0, cv::Mat * imageWithDetections = 0);
49 #ifdef HAVE_OPENCV_ARUCO 50 cv::Ptr<cv::aruco::DetectorParameters> detectorParams_;
56 cv::Ptr<cv::aruco::Dictionary> dictionary_;
std::map< std::string, std::string > ParametersMap
MarkerDetector(const ParametersMap ¶meters=ParametersMap())
virtual ~MarkerDetector()
void parseParameters(const ParametersMap ¶meters)
std::map< int, Transform > detect(const cv::Mat &image, const CameraModel &model, const cv::Mat &depth=cv::Mat(), float *estimatedMarkerLength=0, cv::Mat *imageWithDetections=0)