[][src]Function opencv::aruco::get_board_object_and_image_points

pub fn get_board_object_and_image_points(
    board: &Ptr<Board>,
    detected_corners: &dyn ToInputArray,
    detected_ids: &dyn ToInputArray,
    obj_points: &mut dyn ToOutputArray,
    img_points: &mut dyn ToOutputArray
) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP

Parameters

  • board: Marker board layout.
  • detectedCorners: List of detected marker corners of the board.
  • detectedIds: List of identifiers for each marker.
  • objPoints: Vector of vectors of board marker points in the board coordinate space.
  • imgPoints: Vector of vectors of the projections of board marker corner points.