@@ -226,24 +226,38 @@ CV_EXPORTS_W void detectMarkers(InputArray image, const Ptr<Dictionary> &diction
226
226
* Axis X (red color) - first coordinate
227
227
* Axis Y (green color) - second coordinate
228
228
* Axis Z (blue color) - third coordinate
229
+ * @sa estimatePoseSingleMarkers(), @ref tutorial_aruco_detection
229
230
*/
230
231
enum PatternPos {
231
232
/* * @brief The marker coordinate system is centered on the middle of the marker.
232
- * The coordinates of the four corners of the marker in its own coordinate system are:
233
+ * The coordinates of the four corners (CCW order) of the marker in its own coordinate system are:
233
234
* (-markerLength/2, markerLength/2, 0), (markerLength/2, markerLength/2, 0),
234
- * (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0)
235
+ * (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0).
236
+ *
235
237
* These pattern points define this coordinate system:
238
+ * 
236
239
*/
237
240
CCW_center,
238
241
/* * @brief The marker coordinate system is centered on the top-left corner of the marker.
239
- * The coordinates of the four corners of the marker in its own coordinate system are:
242
+ * The coordinates of the four corners (CW order) of the marker in its own coordinate system are:
240
243
* (0, 0, 0), (markerLength, 0, 0),
241
- * (markerLength, markerLength, 0), (0, markerLength, 0)
244
+ * (markerLength, markerLength, 0), (0, markerLength, 0).
245
+ *
242
246
* These pattern points define this coordinate system:
247
+ * 
243
248
*/
244
249
CW_top_left_corner
245
250
};
246
251
252
+ /* * @brief
253
+ * Pose estimation parameters
254
+ * @param pattern Defines center this system and axes direction.
255
+ * @param useExtrinsicGuess Parameter used for SOLVEPNP_ITERATIVE. If true (1), the function uses the provided
256
+ * rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further
257
+ * optimizes them.
258
+ * @param solvePnPMethod Method for solving a PnP problem: see @ref calib3d_solvePnP_flags.
259
+ * @sa PatternPos, solvePnP(), @ref tutorial_aruco_detection
260
+ */
247
261
struct CV_EXPORTS_W EstimateParameters {
248
262
CV_PROP_RW PatternPos pattern;
249
263
CV_PROP_RW bool useExtrinsicGuess;
@@ -289,6 +303,8 @@ struct CV_EXPORTS_W EstimateParameters {
289
303
* (-markerLength/2, markerLength/2, 0), (markerLength/2, markerLength/2, 0),
290
304
* (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0)
291
305
* @sa use cv::drawFrameAxes to get world coordinate system axis for object points
306
+ * @sa PatternPos
307
+ * @sa @ref tutorial_aruco_detection
292
308
*/
293
309
CV_EXPORTS_W void estimatePoseSingleMarkers (InputArrayOfArrays corners, float markerLength,
294
310
InputArray cameraMatrix, InputArray distCoeffs,
0 commit comments