@@ -16,17 +16,17 @@ namespace aruco {
16
16
* PatternPositionType defines center this system and axes direction.
17
17
* Axis X (red color) - first coordinate, axis Y (green color) - second coordinate,
18
18
* 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()
20
23
*/
21
24
enum PatternPositionType {
22
25
/* * @brief The marker coordinate system is centered on the middle of the marker.
23
26
*
24
27
* The coordinates of the four corners (CCW order) of the marker in its own coordinate system are:
25
28
* (-markerLength/2, markerLength/2, 0), (markerLength/2, markerLength/2, 0),
26
29
* (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0).
27
- *
28
- * These pattern points define this coordinate system:
29
- * 
30
30
*/
31
31
ARUCO_CCW_CENTER,
32
32
/* * @brief The marker coordinate system is centered on the top-left corner of the marker.
@@ -35,9 +35,6 @@ enum PatternPositionType {
35
35
* (0, 0, 0), (markerLength, 0, 0),
36
36
* (markerLength, markerLength, 0), (0, markerLength, 0).
37
37
*
38
- * These pattern points define this coordinate system:
39
- * 
40
- *
41
38
* These pattern dots are convenient to use with a chessboard/ChArUco board.
42
39
*/
43
40
ARUCO_CW_TOP_LEFT_CORNER
@@ -50,7 +47,10 @@ enum PatternPositionType {
50
47
* rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further
51
48
* optimizes them (default false).
52
49
* @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()
54
54
*/
55
55
struct CV_EXPORTS_W_SIMPLE EstimateParameters {
56
56
CV_PROP_RW PatternPositionType pattern;
@@ -95,6 +95,8 @@ struct CV_EXPORTS_W_SIMPLE EstimateParameters {
95
95
* This function calibrates a camera using an Aruco Board. The function receives a list of
96
96
* detected markers from several views of the Board. The process is similar to the chessboard
97
97
* calibration in calibrateCamera(). The function returns the final re-projection error.
98
+ *
99
+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
98
100
*/
99
101
CV_EXPORTS_AS (calibrateCameraArucoExtended)
100
102
double calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr <Board> &board,
@@ -105,6 +107,7 @@ double calibrateCameraAruco(InputArrayOfArrays corners, InputArray ids, InputArr
105
107
106
108
/* * @overload
107
109
* @brief It's the same function as #calibrateCameraAruco but without calibration error estimation.
110
+ * @deprecated Use Board::matchImagePoints and cv::solvePnP
108
111
*/
109
112
CV_EXPORTS_W double calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter,
110
113
const Ptr <Board> &board, Size imageSize, InputOutputArray cameraMatrix,
@@ -147,6 +150,8 @@ CV_EXPORTS_W double calibrateCameraAruco(InputArrayOfArrays corners, InputArray
147
150
* This function calibrates a camera using a set of corners of a Charuco Board. The function
148
151
* receives a list of detected corners and its identifiers from several views of the Board.
149
152
* The function returns the final re-projection error.
153
+ *
154
+ * @deprecated Use CharucoBoard::matchImagePoints and cv::solvePnP
150
155
*/
151
156
CV_EXPORTS_AS (calibrateCameraCharucoExtended)
152
157
double calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds,
@@ -158,6 +163,8 @@ double calibrateCameraCharuco(InputArrayOfArrays charucoCorners, InputArrayOfArr
158
163
159
164
/* *
160
165
* @brief It's the same function as #calibrateCameraCharuco but without calibration error estimation.
166
+ *
167
+ * @deprecated Use CharucoBoard::matchImagePoints and cv::solvePnP
161
168
*/
162
169
CV_EXPORTS_W double calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds,
163
170
const Ptr <CharucoBoard> &board, Size imageSize,
0 commit comments