Table of Contents

Method DetectMarkersWithConfidence

Namespace
OpenCvSharp.Aruco
Assembly
OpenCvSharp.dll

DetectMarkersWithConfidence(InputArray, out Point2f[][], out int[], out float[], out Point2f[][])

Marker detection with confidence computation.

public void DetectMarkersWithConfidence(InputArray image, out Point2f[][] corners, out int[] ids, out float[] markersConfidence, out Point2f[][] rejectedImgPoints)

Parameters

image InputArray

input image

corners Point2f[][]

vector of detected marker corners. For each marker, its four corners are provided.

ids int[]

vector of identifiers of the detected markers.

markersConfidence float[]

contains the normalized confidence [0;1] of the markers' detection.

rejectedImgPoints Point2f[][]

contains the imgPoints of those squares whose inner code has not a correct codification.