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
outSizeSizesize of the output image in pixels.
imgOutputArrayoutput image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions.
marginSizeintminimum margins (in pixels) of the board in the output image
borderBitsintwidth of the marker borders.