Click or drag to resize

CvArucoDetectMarkers Method

Basic marker detection

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DetectMarkers(
	InputArray image,
	Dictionary dictionary,
	out Point2f[][] corners,
	out int[] ids,
	DetectorParameters parameters,
	out Point2f[][] rejectedImgPoints
)

Parameters

image
Type: OpenCvSharpInputArray
input image
dictionary
Type: OpenCvSharp.ArucoDictionary
indicates the type of markers that will be searched
corners
Type: OpenCvSharpPoint2f
vector of detected marker corners. For each marker, its four corners are provided. For N detected markers, the dimensions of this array is Nx4.The order of the corners is clockwise.
ids
Type: SystemInt32
vector of identifiers of the detected markers. The identifier is of type int. For N detected markers, the size of ids is also N. The identifiers have the same order than the markers in the imgPoints array.
parameters
Type: OpenCvSharp.ArucoDetectorParameters
marker detection parameters
rejectedImgPoints
Type: OpenCvSharpPoint2f
contains the imgPoints of those squares whose inner code has not a correct codification.Useful for debugging purposes.
See Also