DetectorDetectMarkers Method |
Detects fiducial markers such as ArUco markers in a frame.
Namespace:
Zivid.NET.Calibration
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public static DetectionResultFiducialMarkers DetectMarkers(
Frame frame,
IEnumerable<int> allowedMarkerIds,
MarkerDictionary markerDictionary
)
Public Shared Function DetectMarkers (
frame As Frame,
allowedMarkerIds As IEnumerable(Of Integer),
markerDictionary As MarkerDictionary
) As DetectionResultFiducialMarkers
public:
static DetectionResultFiducialMarkers^ DetectMarkers(
Frame^ frame,
IEnumerable<int>^ allowedMarkerIds,
MarkerDictionary^ markerDictionary
)
Parameters
- frame
- Type: Zivid.NETFrame
A frame containing an image of one or several fiducial markers - allowedMarkerIds
- Type: System.Collections.GenericIEnumerableInt32
A list of the IDs of markers to be detected - markerDictionary
- Type: Zivid.NETMarkerDictionary
The marker dictionary that describes the appearance of each marker
Return Value
Type:
DetectionResultFiducialMarkersRemarks
Only markers with integer IDs are supported. For further information on fiducial markers see
this wikipedia page. For more information on
ArUco markers specifically, refer to the
OpenCV documentation. The
Frame need not contain all markers listed in allowedMarkerIds for a successful detection.
See Also