[][src]Constant opencv::calib3d::SOLVEPNP_IPPE_SQUARE

pub const SOLVEPNP_IPPE_SQUARE: i32 = 7;

Infinitesimal Plane-Based Pose Estimation Collins14

This is a special case suitable for marker pose estimation.

4 coplanar object points must be defined in the following order:

  • point 0: [-squareLength / 2, squareLength / 2, 0]
  • point 1: [ squareLength / 2, squareLength / 2, 0]
  • point 2: [ squareLength / 2, -squareLength / 2, 0]
  • point 3: [-squareLength / 2, -squareLength / 2, 0]