Skip to content

OpenXRSpatialCapabilityConfigurationAruco

Inherits: OpenXRSpatialCapabilityConfigurationBaseHeader < RefCounted < Object

Configuration header for ArUco markers.

Configuration header for ArUco markers. Pass this to OpenXRSpatialEntityExtension.create_spatial_context() to create a spatial context that can detect ArUco markers.

Type Name Default
ArucoDict aruco_dict 16
Returns Method
PackedInt64Array get_enabled_components() const

ArucoDict

enum ArucoDict

ARUCO_DICT_4X4_50 = 1

4 by 4 pixel ArUco marker dictionary with 50 IDs.

ARUCO_DICT_4X4_100 = 2

4 by 4 pixel ArUco marker dictionary with 100 IDs.

ARUCO_DICT_4X4_250 = 3

4 by 4 pixel ArUco marker dictionary with 250 IDs.

ARUCO_DICT_4X4_1000 = 4

4 by 4 pixel ArUco marker dictionary with 1000 IDs.

ARUCO_DICT_5X5_50 = 5

5 by 5 pixel ArUco marker dictionary with 50 IDs.

ARUCO_DICT_5X5_100 = 6

5 by 5 pixel ArUco marker dictionary with 100 IDs.

ARUCO_DICT_5X5_250 = 7

5 by 5 pixel ArUco marker dictionary with 250 IDs.

ARUCO_DICT_5X5_1000 = 8

5 by 5 pixel ArUco marker dictionary with 1000 IDs.

ARUCO_DICT_6X6_50 = 9

6 by 6 pixel ArUco marker dictionary with 50 IDs.

ARUCO_DICT_6X6_100 = 10

6 by 6 pixel ArUco marker dictionary with 100 IDs.

ARUCO_DICT_6X6_250 = 11

6 by 6 pixel ArUco marker dictionary with 250 IDs.

ARUCO_DICT_6X6_1000 = 12

6 by 6 pixel ArUco marker dictionary with 1000 IDs.

ARUCO_DICT_7X7_50 = 13

7 by 7 pixel ArUco marker dictionary with 50 IDs.

ARUCO_DICT_7X7_100 = 14

7 by 7 pixel ArUco marker dictionary with 100 IDs.

ARUCO_DICT_7X7_250 = 15

7 by 7 pixel ArUco marker dictionary with 250 IDs.

ARUCO_DICT_7X7_1000 = 16

7 by 7 pixel ArUco marker dictionary with 1000 IDs.

aruco_dict

ArucoDict aruco_dict = 16

Dictionary to use to decode ArUco markers.

Note: Must be set before using this configuration to create a spatial context.

get_enabled_components

PackedInt64Array get_enabled_components() const

Returns the components enabled by this configuration.

Note: Only valid after this configuration was used to create a spatial context.