4 #ifndef OPENCV_OBJDETECT_CHARUCO_DETECTOR_HPP
5 #define OPENCV_OBJDETECT_CHARUCO_DETECTOR_HPP
7 #include "opencv2/objdetect/aruco_detector.hpp"
18 tryRefineMarkers =
false;
112 struct CharucoDetectorImpl;
This is a base class for all more or less complex algorithms in OpenCV.
Definition: core.hpp:3197
n-dimensional dense array class
Definition: mat.hpp:812
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:296
ChArUco board is a planar chessboard where the markers are placed inside the white squares of a chess...
Definition: aruco_board.hpp:135
Definition: charuco_detector.hpp:33
CV_WRAP void detectBoard(InputArray image, OutputArray charucoCorners, OutputArray charucoIds, InputOutputArrayOfArrays markerCorners=noArray(), InputOutputArray markerIds=noArray()) const
detect aruco markers and interpolate position of ChArUco board corners
CV_WRAP const RefineParameters & getRefineParameters() const
CV_WRAP void detectDiamonds(InputArray image, OutputArrayOfArrays diamondCorners, OutputArray diamondIds, InputOutputArrayOfArrays markerCorners=noArray(), InputOutputArray markerIds=noArray()) const
Detect ChArUco Diamond markers.
CV_WRAP const DetectorParameters & getDetectorParameters() const
CV_WRAP void setDetectorParameters(const DetectorParameters &detectorParameters)
CV_WRAP const CharucoBoard & getBoard() const
CV_WRAP void setBoard(const CharucoBoard &board)
CV_WRAP const CharucoParameters & getCharucoParameters() const
CV_WRAP void setCharucoParameters(CharucoParameters &charucoParameters)
CV_WRAP void setRefineParameters(const RefineParameters &refineParameters)
CV_WRAP CharucoDetector(const CharucoBoard &board, const CharucoParameters &charucoParams=CharucoParameters(), const DetectorParameters &detectorParams=DetectorParameters(), const RefineParameters &refineParams=RefineParameters())
Basic CharucoDetector constructor.
Ptr< CharucoDetectorImpl > charucoDetectorImpl
Definition: charuco_detector.hpp:112
Scalar_< double > Scalar
Definition: types.hpp:702
CV_EXPORTS InputOutputArray noArray()
InputArray InputArrayOfArrays
Definition: mat.hpp:443
CV__DEBUG_NS_END typedef const _InputArray & InputArray
Definition: mat.hpp:442
#define CV_EXPORTS_W_SIMPLE
Definition: cvdef.h:473
#define CV_EXPORTS_W
Definition: cvdef.h:472
#define CV_PROP_RW
Definition: cvdef.h:480
#define CV_WRAP
Definition: cvdef.h:481
CV_EXPORTS_W void drawDetectedDiamonds(InputOutputArray image, InputArrayOfArrays diamondCorners, InputArray diamondIds=noArray(), Scalar borderColor=Scalar(0, 0, 255))
Draw a set of detected ChArUco Diamond markers.
CV_EXPORTS_W void drawDetectedCornersCharuco(InputOutputArray image, InputArray charucoCorners, InputArray charucoIds=noArray(), Scalar cornerColor=Scalar(255, 0, 0))
Draws a set of Charuco corners.
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441
Definition: charuco_detector.hpp:15
CV_PROP_RW int minMarkers
minMarkers number of adjacent markers that must be detected to return a charuco corner,...
Definition: charuco_detector.hpp:27
CV_PROP_RW Mat distCoeffs
distCoeffs optional vector of distortion coefficients
Definition: charuco_detector.hpp:24
CV_PROP_RW bool tryRefineMarkers
try to use refine board, default false
Definition: charuco_detector.hpp:30
CV_PROP_RW Mat cameraMatrix
cameraMatrix optional 3x3 floating-point camera matrix
Definition: charuco_detector.hpp:21
CV_WRAP CharucoParameters()
Definition: charuco_detector.hpp:16
struct DetectorParameters is used by ArucoDetector
Definition: aruco_detector.hpp:25
struct RefineParameters is used by ArucoDetector
Definition: aruco_detector.hpp:238