Table of Contents

Method GenerateImage

Namespace
OpenCvSharp.Aruco
Assembly
OpenCvSharp.dll

GenerateImage(Size, OutputArray, int, int)

Draw a planar board. This function return the image of the board, ready to be printed.

public void GenerateImage(Size outSize, OutputArray img, int marginSize = 0, int borderBits = 1)

Parameters

outSize Size

size of the output image in pixels.

img OutputArray

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 int

minimum margins (in pixels) of the board in the output image

borderBits int

width of the marker borders.