@@ -226,24 +226,38 @@ CV_EXPORTS_W void detectMarkers(InputArray image, const Ptr<Dictionary> &diction
226226 * Axis X (red color) - first coordinate
227227 * Axis Y (green color) - second coordinate
228228 * Axis Z (blue color) - third coordinate
229+ * @sa estimatePoseSingleMarkers(), @ref tutorial_aruco_detection
229230 */
230231enum PatternPos {
231232 /* * @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:
233234 * (-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+ *
235237 * These pattern points define this coordinate system:
238+ * 
236239 */
237240 CCW_center,
238241 /* * @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:
240243 * (0, 0, 0), (markerLength, 0, 0),
241- * (markerLength, markerLength, 0), (0, markerLength, 0)
244+ * (markerLength, markerLength, 0), (0, markerLength, 0).
245+ *
242246 * These pattern points define this coordinate system:
247+ * 
243248 */
244249 CW_top_left_corner
245250};
246251
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+ */
247261struct CV_EXPORTS_W EstimateParameters {
248262 CV_PROP_RW PatternPos pattern;
249263 CV_PROP_RW bool useExtrinsicGuess;
@@ -289,6 +303,8 @@ struct CV_EXPORTS_W EstimateParameters {
289303 * (-markerLength/2, markerLength/2, 0), (markerLength/2, markerLength/2, 0),
290304 * (markerLength/2, -markerLength/2, 0), (-markerLength/2, -markerLength/2, 0)
291305 * @sa use cv::drawFrameAxes to get world coordinate system axis for object points
306+ * @sa PatternPos
307+ * @sa @ref tutorial_aruco_detection
292308 */
293309CV_EXPORTS_W void estimatePoseSingleMarkers (InputArrayOfArrays corners, float markerLength,
294310 InputArray cameraMatrix, InputArray distCoeffs,
0 commit comments