OpenXRMlMarkerDetectorAprilTagSettings

Experimental: Marked as experimental due to lack of community validation on Magic Leap devices.

Inherits: OpenXRMlMarkerDetectorSettings < Resource

AprilTag settings for the OpenXRMlMarkerDetector.

Description

AprilTag settings for the OpenXRMlMarkerDetector.

Properties

AprilTagDictionary

april_tag_dictionary

0

float

april_tag_length

0.0

bool

estimate_april_tag_length

false


Enumerations

enum AprilTagDictionary:

AprilTagDictionary APRIL_TAG_DICT_16H5 = 0

4 by 4 bits, minimum Hamming distance between any two codes = 5, 30 codes.

AprilTagDictionary APRIL_TAG_DICT_25H9 = 1

5 by 5 bits, minimum Hamming distance between any two codes = 9, 35 codes.

AprilTagDictionary APRIL_TAG_DICT_36H10 = 2

6 by 6 bits, minimum Hamming distance between any two codes = 10, 2320 codes.

AprilTagDictionary APRIL_TAG_DICT_36H11 = 3

6 by 6 bits, minimum Hamming distance between any two codes = 11, 587 codes.


Property Descriptions

AprilTagDictionary april_tag_dictionary = 0

AprilTag Dictionary name from which markers will be detected.


float april_tag_length = 0.0

  • void set_april_tag_length ( float value )

  • float get_april_tag_length ( )

The physical length of one side of a marker in meters.

A higher localization accuracy may be obtained by specifying the marker size.

This value is ignored if estimate_april_tag_length is set to true.


bool estimate_april_tag_length = false

  • void set_estimate_april_tag_length ( bool value )

  • bool get_estimate_april_tag_length ( )

If set to true the detector will estimate the size of the marker.