Skip to main content
Version: 20 Mar 2024

MLMarkerTrackerResult

A list of these results will be returned by the Marker Scanner, after processing a video frame succesfully.

Public Methods

override string ToString

public override string ToString()

Public Attributes

CoordinateFrameUID

MLCoordinateFrameUID of the QR code. This FrameUID is only useful if the marker is of type #MLMarkerTypeQR This should be passed to the MLSnapshotGetTransform() function to get the 6 DOF pose of the QR code. Any marker that isn't a QR code will have an invalid FrameUID here.


public readonly MLCoordinateFrameUID CoordinateFrameUID;


DecodedData

The data which was encoded in the marker.


public readonly MLMarkerTrackerDecodedData DecodedData;

TypeDescription
readonly MLMarkerTrackerDecodedDataRepresents the decoded data encoded in the marker. Markers can encode binary data, strings, URLs and more. This struct represents the decoded data read from a marker.

IsValidPose

This indicates if coord_frame_marker holds a valid pose. If false do not use the CoordinateFrameUID.


public readonly bool IsValidPose;


ReprojectionError

The reprojection error of this QR code detection in degrees.


public readonly float ReprojectionError;

Details*

The reprojection error is only useful when tracking QR codes. A high reprojection error means that the estimated pose of the QR code doesn't match well with the 2D detection on the processed video frame and thus the pose might be inaccurate. The error is given in degrees, signifying by how much either camera or QR code would have to be moved or rotated to create a perfect reprojection. The further away your QR code is, the smaller this reprojection error will be for the same displacement error of the code.


Type

The type of marker that was detected.


public readonly MarkerType Type;

TypeDescription
readonly MarkerTypeRepresents the different marker types supported by the API