Files
opencv-MIRROR/modules
Abhishek Gola f5b814c968 calib3d: document image points order for SOLVEPNP_IPPE_SQUARE (#30888)
The docs list the required order of the 4 object points for SOLVEPNP_IPPE_SQUARE, but do not say anything about the image points. In ippe.cpp (PoseSolver::solveSquare) the image points are used by index, so they must be given in the same order as the object points.

This PR adds that sentence everywhere the object point order is listed (SolvePnPMethod enum, solvePnP, solvePnPGeneric, solvePnPRefine docs and solvePnP.markdown). In solvePnP.markdown I also added that, when the marker faces the camera, this order is top-left, top-right, bottom-right, bottom-left, which is the same corner order returned by ArucoDetector::detectMarkers.

I checked this with a small script: with the same order solvePnP returns the true pose, with reversed image points the rotation is wrong.

Docs only, no code changes.
2026-11-24 15:34:46 +05:30
..