@@ -16,17 +16,17 @@ namespace aruco {
1616 * PatternPositionType defines center this system and axes direction.
1717 * Axis X (red color) - first coordinate, axis Y (green color) - second coordinate,
1818 * axis Z (blue color) - third coordinate.
19- * @sa estimatePoseSingleMarkers(), check tutorial_aruco_detection in aruco contrib
19+ *
20+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
21+ *
22+ * @sa estimatePoseSingleMarkers()
2023 */
2124enum PatternPositionType {
2225 /* * @brief The marker coordinate system is centered on the middle of the marker.
2326 *
2427 * The coordinates of the four corners (CCW order) of the marker in its own coordinate system are:
2528 * (-markerLength/2, markerLength/2, 0), (markerLength/2, markerLength/2, 0),
2629 * (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0).
27- *
28- * These pattern points define this coordinate system:
29- * 
3030 */
3131 ARUCO_CCW_CENTER,
3232 /* * @brief The marker coordinate system is centered on the top-left corner of the marker.
@@ -35,9 +35,6 @@ enum PatternPositionType {
3535 * (0, 0, 0), (markerLength, 0, 0),
3636 * (markerLength, markerLength, 0), (0, markerLength, 0).
3737 *
38- * These pattern points define this coordinate system:
39- * 
40- *
4138 * These pattern dots are convenient to use with a chessboard/ChArUco board.
4239 */
4340 ARUCO_CW_TOP_LEFT_CORNER
@@ -50,7 +47,10 @@ enum PatternPositionType {
5047 * rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further
5148 * optimizes them (default false).
5249 * @param solvePnPMethod Method for solving a PnP problem: see @ref calib3d_solvePnP_flags (default SOLVEPNP_ITERATIVE).
53- * @sa PatternPositionType, solvePnP(), check tutorial_aruco_detection in aruco contrib
50+ *
51+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
52+ *
53+ * @sa PatternPositionType, solvePnP()
5454 */
5555struct CV_EXPORTS_W_SIMPLE EstimateParameters {
5656 CV_PROP_RW PatternPositionType pattern;
@@ -95,6 +95,8 @@ struct CV_EXPORTS_W_SIMPLE EstimateParameters {
9595 * This function calibrates a camera using an Aruco Board. The function receives a list of
9696 * detected markers from several views of the Board. The process is similar to the chessboard
9797 * calibration in calibrateCamera(). The function returns the final re-projection error.
98+ *
99+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
98100 */
99101CV_EXPORTS_AS (calibrateCameraArucoExtended)
100102double calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr<Board> &board,
@@ -105,6 +107,7 @@ double calibrateCameraAruco(InputArrayOfArrays corners, InputArray ids, InputArr
105107
106108/* * @overload
107109 * @brief It's the same function as #calibrateCameraAruco but without calibration error estimation.
110+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
108111 */
109112CV_EXPORTS_W double calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter,
110113 const Ptr<Board> &board, Size imageSize, InputOutputArray cameraMatrix,
@@ -147,6 +150,8 @@ CV_EXPORTS_W double calibrateCameraAruco(InputArrayOfArrays corners, InputArray
147150 * This function calibrates a camera using a set of corners of a Charuco Board. The function
148151 * receives a list of detected corners and its identifiers from several views of the Board.
149152 * The function returns the final re-projection error.
153+ *
154+ * @deprecated Use CharucoBoard::matchImagePoints and cv::solvePnP
150155 */
151156CV_EXPORTS_AS (calibrateCameraCharucoExtended)
152157double calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds,
@@ -158,6 +163,8 @@ double calibrateCameraCharuco(InputArrayOfArrays charucoCorners, InputArrayOfArr
158163
159164/* *
160165 * @brief It's the same function as #calibrateCameraCharuco but without calibration error estimation.
166+ *
167+ * @deprecated Use CharucoBoard::matchImagePoints and cv::solvePnP
161168 */
162169CV_EXPORTS_W double calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds,
163170 const Ptr<CharucoBoard> &board, Size imageSize,
0 commit comments