[][src]Function opencv::aruco::draw_planar_board

pub fn draw_planar_board(
    board: &Ptr<Board>,
    out_size: Size,
    img: &mut dyn ToOutputArray,
    margin_size: i32,
    border_bits: i32
) -> Result<()>

Draw a planar board

See also

_drawPlanarBoardImpl

Parameters

  • board: layout of the board that will be drawn. The board should be planar, z coordinate is ignored
  • outSize: size of the output image in pixels.
  • img: output image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions.
  • marginSize: minimum margins (in pixels) of the board in the output image
  • borderBits: width of the marker borders.

This function return the image of a planar board, ready to be printed. It assumes the Board layout specified is planar by ignoring the z coordinates of the object points.

C++ default parameters

  • margin_size: 0
  • border_bits: 1