Click or drag to resize

CvArucoDrawDetectedMarkers Method (InputArray, Point2f, IEnumerableInt32, Scalar)

Draw detected markers in image

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DrawDetectedMarkers(
	InputArray image,
	Point2f[][] corners,
	IEnumerable<int> ids,
	Scalar borderColor
)

Parameters

image
Type: OpenCvSharpInputArray
input/output image. It must have 1 or 3 channels. The number of channels is not altered.
corners
Type: OpenCvSharpPoint2f
positions of marker corners on input image. For N detected markers, the dimensions of this array should be Nx4.The order of the corners should be clockwise.
ids
Type: System.Collections.GenericIEnumerableInt32
vector of identifiers for markers in markersCorners. Optional, if not provided, ids are not painted.
borderColor
Type: OpenCvSharpScalar
color of marker borders. Rest of colors (text color and first corner color) are calculated based on this one to improve visualization.
See Also