Click or drag to resize

CvArucoDrawMarker Method

Draw a canonical marker image

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DrawMarker(
	Dictionary dictionary,
	int id,
	int sidePixels,
	OutputArray mat,
	int borderBits = 1
)

Parameters

dictionary
Type: OpenCvSharp.ArucoDictionary
dictionary of markers indicating the type of markers
id
Type: SystemInt32
identifier of the marker that will be returned. It has to be a valid id in the specified dictionary.
sidePixels
Type: SystemInt32
size of the image in pixels
mat
Type: OpenCvSharpOutputArray
output image with the marker
borderBits (Optional)
Type: SystemInt32
width of the marker border.
See Also