Monado OpenXR Runtime
Camera based hand tracking

Camera based hand tracking. More...

Collaboration diagram for Camera based hand tracking:

Files

file  ht_driver.c
 Camera based hand tracking driver code.
 
file  ht_interface.h
 Interface to camera based hand tracking driver code.
 
file  hg_model.cpp
 Mercury ML models!
 
file  hg_numerics_checker.hpp
 Simple util for setting floating-point exceptions and checking for NaNs.
 
file  t_hand_tracking_async.c
 Camera based hand tracking driver code.
 

Data Structures

struct  ht_async_impl
 A synchronous to asynchronous wrapper around the hand-tracker code. More...
 

Functions

int ht_device_create (struct xrt_frame_context *xfctx, struct t_stereo_camera_calibration *calib, struct t_hand_tracking_create_info create_info, struct xrt_slam_sinks **out_sinks, struct xrt_device **out_device)
 Create hand tracker. More...
 

Detailed Description

Camera based hand tracking.

Function Documentation

◆ ht_device_create()

int ht_device_create ( struct xrt_frame_context xfctx,
struct t_stereo_camera_calibration calib,
struct t_hand_tracking_create_info  create_info,
struct xrt_slam_sinks **  out_sinks,
struct xrt_device **  out_device 
)

#include <drivers/ht/ht_interface.h>

Create hand tracker.

Parameters
xfctxFrame context to attach the tracker to
calibCalibration struct for stereo camera
create_infoAdditional creation options
out_sinksSinks to stream camera data to
out_deviceNewly created hand tracker "device"
Returns
int 0 on success