OpenXRMlMarkerDetectorProfileSettings

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

Inherits: Resource

Custom profile settings for the OpenXRMlMarkerDetector.

Description

Custom profile settings for the OpenXRMlMarkerDetector.

Properties

Camera

camera

0

CornerRefineMethod

corner_refine_method

0

Fps

fps_hint

0

FullAnalysisInterval

full_analysis_interval

0

Resolution

resolution

0

bool

use_edge_refinement

false


Enumerations

enum Fps:

Fps FPS_LOW = 0

Low FPS.

Fps FPS_MEDIUM = 1

Medium FPS.

Fps FPS_HIGH = 2

High FPS.

Fps FPS_MAX = 3

Max possible FPS.


enum Resolution:

Resolution RESOLUTION_LOW = 0

Low Resolution.

Resolution RESOLUTION_MEDIUM = 1

Medium Resolution.

Resolution RESOLUTION_HIGH = 2

High Resolution.


enum Camera:

Camera CAMERA_RGB_CAMERA = 0

Single RGB camera.

Camera CAMERA_WORLD_CAMERAS = 1

One or more world cameras.


enum CornerRefineMethod:

CornerRefineMethod CORNER_REFINE_METHOD_NONE = 0

No refinement. Inaccurate corners.

CornerRefineMethod CORNER_REFINE_METHOD_SUBPIX = 1

Subpixel refinement. Corners have subpixel coordinates. High detection rate, very fast, reasonable accuracy.

CornerRefineMethod CORNER_REFINE_METHOD_CONTOUR = 2

Contour refinement. High detection rate, fast, reasonable accuracy.

CornerRefineMethod CORNER_REFINE_METHOD_APRIL_TAG = 3

AprilTag refinement. Reasonable detection rate, slowest, but very accurate. Only valid with AprilTags.


enum FullAnalysisInterval:

FullAnalysisInterval FULL_ANALYSIS_INTERVAL_MAX = 0

Detector analyzes every frame fully.

FullAnalysisInterval FULL_ANALYSIS_INTERVAL_FAST = 1

Detector analyzes frame fully very often.

FullAnalysisInterval FULL_ANALYSIS_INTERVAL_MEDIUM = 2

Detector analyzes frame fully a few times per second.

FullAnalysisInterval FULL_ANALYSIS_INTERVAL_SLOW = 3

Detector analyzes frame fully about every second.


Property Descriptions

Camera camera = 0

A suggestion of the camera set for the detector to use.


CornerRefineMethod corner_refine_method = 0

Selects a method for corner refinement for ArUco/AprilTag detectors. This member is ignored for detectors of other marker types.


Fps fps_hint = 0

  • void set_fps_hint ( Fps value )

  • Fps get_fps_hint ( )

A suggestion of the category of frame rate for the detector to use.


FullAnalysisInterval full_analysis_interval = 0

The suggested interval between fully analyzed frames that introduce new detected markers, in addition to updating the state of already detected markers.


Resolution resolution = 0

A suggestion of the category of camera resolution for the detector to use.


bool use_edge_refinement = false

  • void set_use_edge_refinement ( bool value )

  • bool get_use_edge_refinement ( )

Specifies whether to run a refinement step that uses marker edges to generate even more accurate corners, but slow down tracking rate overall by consuming more compute. It affects ArUco/AprilTag markers only: this member is ignored for detectors of other marker types.