Method Identify
- Namespace
- OpenCvSharp.Aruco
- Assembly
- OpenCvSharp.dll
Identify(Mat, out int, out int, double)
Given a matrix of bits. Returns whether if marker is identified or not. It returns by reference the correct id (if any) and the correct rotation
public bool Identify(Mat onlyBits, out int idx, out int rotation, double maxCorrectionRate)
Parameters
onlyBitsMatidxintThe identified marker id, or -1 if the marker was not identified.
rotationintThe identified marker rotation, or -1 if the marker was not identified.
maxCorrectionRatedouble
Returns
Identify(Mat, out int, out int, double, float)
Given a matrix of pixel ratio ranging from 0 to 1. Returns whether if marker is identified or not. It returns by reference the correct id (if any) and the correct rotation
public bool Identify(Mat onlyCellPixelRatio, out int idx, out int rotation, double maxCorrectionRate, float validBitIdThreshold)
Parameters
onlyCellPixelRatioMatidxintThe identified marker id, or -1 if the marker was not identified.
rotationintThe identified marker rotation, or -1 if the marker was not identified.
maxCorrectionRatedoublevalidBitIdThresholdfloatacceptable threshold when comparing the detected marker to the dictionary during marker identification.