Skip to main content
Version: 21 Aug 2024

MarkerData

Marker data as returned by the Magic Leap SDK

Public Methods

override string ToString

public override string ToString()

Public Attributes

ArucoData

Aruco decoded data (if any exists).


public readonly ArucoData ArucoData;


BinaryData

Binary decoded data (if any exists).


public readonly BinaryData BinaryData;


Pose

The world-space position and rotation of the marker.


public readonly Pose Pose;


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