Class ArucoDetector
- Namespace
- OpenCvSharp.Aruco
- Assembly
- OpenCvSharp.dll
The main functionality of ArucoDetector class is detection of markers in an image with detectMarkers() method.
public class ArucoDetector : CvObject, IDisposable
- Inheritance
-
ArucoDetector
- Implements
- Inherited Members
Constructors
- ArucoDetector(Dictionary)
Creates ArucoDetector with default parameters.
- ArucoDetector(Dictionary, DetectorParameters, RefineParameters)
Creates ArucoDetector.
- ArucoDetector(IEnumerable<Dictionary>, DetectorParameters, RefineParameters)
Creates ArucoDetector for multiple dictionaries.
Methods
- DetectMarkers(InputArray, out Point2f[][], out int[], out Point2f[][])
Basic marker detection.
- DetectMarkersMultiDict(InputArray, out Point2f[][], out int[], out Point2f[][], out int[])
Basic marker detection using all configured dictionaries.
- DetectMarkersWithConfidence(InputArray, out Point2f[][], out int[], out float[], out Point2f[][])
Marker detection with confidence computation.
- GetDetectorParameters()
Gets the detector parameters currently used for marker detection.
- GetDictionaries()
Returns all dictionaries currently used for marker detection.
- GetDictionary()
Returns first dictionary from internal list used for marker detection.
- GetRefineParameters()
Gets the marker refine detection parameters currently used.
- Read(FileNode)
Reads algorithm parameters from a file storage.
- RefineDetectedMarkers(InputArray, Board, Point2f[][], int[], Point2f[][], out Point2f[][], out int[], out Point2f[][], out int[], InputArray, InputArray)
Refine not detected markers based on the already detected and the board layout. This function tries to find markers that were not detected in the basic DetectMarkers function.
- SetDetectorParameters(DetectorParameters)
Sets the detector parameters to be used for marker detection.
- SetDictionaries(IEnumerable<Dictionary>)
Sets the entire collection of dictionaries to be used for marker detection, replacing any existing dictionaries. Setting an empty collection of dictionaries will throw an error.
- SetDictionary(Dictionary)
Sets and replaces the first dictionary in internal list to be used for marker detection.
- SetRefineParameters(RefineParameters)
Sets the marker refine detection parameters to be used.
- Write(FileStorage)
Stores algorithm parameters in a file storage.