Monado OpenXR Runtime
|
Mercury ML models! More...
#include "hg_sync.hpp"
#include "hg_image_math.inl"
#include "hg_numerics_checker.hpp"
#include <filesystem>
#include <array>
Macros | |
#define | ORT(expr) |
Functions | |
static cv::Matx23f | xrt::tracking::hand::mercury::blackbar (const cv::Mat &in, enum t_camera_orientation rot, cv::Mat &out, xrt_size out_size) |
static int | xrt::tracking::hand::mercury::argmax (const float *data, int size) |
static bool | xrt::tracking::hand::mercury::hand_depth_center_of_mass (struct HandTracking *hgt, float data[22], float *out_depth, float *out_confidence) |
static bool | xrt::tracking::hand::mercury::refine_center_of_distribution (struct HandTracking *hgt, const float *data, int coarse_x, int coarse_y, int w, int h, float *out_refined_x, float *out_refined_y) |
static bool | xrt::tracking::hand::mercury::normalizeGrayscaleImage (cv::Mat &data_in, cv::Mat &data_out) |
void | xrt::tracking::hand::mercury::setup_ort_api (HandTracking *hgt, onnx_wrap *wrap, std::filesystem::path path) |
void | xrt::tracking::hand::mercury::setup_model_image_input (HandTracking *hgt, onnx_wrap *wrap, const char *name, int64_t w, int64_t h) |
void | xrt::tracking::hand::mercury::init_hand_detection (HandTracking *hgt, onnx_wrap *wrap) |
void | xrt::tracking::hand::mercury::run_hand_detection (void *ptr) |
void | xrt::tracking::hand::mercury::init_keypoint_estimation (HandTracking *hgt, onnx_wrap *wrap) |
void | xrt::tracking::hand::mercury::make_keypoint_heatmap_output (int camera_idx, int hand_idx, int grid_pt_x, int grid_pt_y, float *plane, cv::Mat &out) |
void | xrt::tracking::hand::mercury::make_keypoint_depth_heatmap_output (int camera_idx, int hand_idx, int grid_pt_x, int grid_pt_y, float *plane, cv::Mat &out) |
void | xrt::tracking::hand::mercury::set_predicted_zero (float *data) |
void | xrt::tracking::hand::mercury::run_keypoint_estimation (void *ptr) |
void | xrt::tracking::hand::mercury::release_onnx_wrap (onnx_wrap *wrap) |
Variables | |
enum xrt_hand_joint | xrt::tracking::hand::mercury::joints_ml_to_xr [21] |
Mercury ML models!
#define ORT | ( | expr | ) |
|
static |
References xrt::tracking::hand::mercury::normalizeGrayscaleImage(), and U_LOG_W.
Referenced by xrt::tracking::hand::mercury::normalizeGrayscaleImage().
|
static |
References xrt::tracking::hand::mercury::refine_center_of_distribution().
Referenced by xrt::tracking::hand::mercury::refine_center_of_distribution().
void xrt::tracking::hand::mercury::run_keypoint_estimation | ( | void * | ptr | ) |
References xrt::tracking::hand::mercury::run_keypoint_estimation().
Referenced by xrt::tracking::hand::mercury::run_keypoint_estimation().
enum xrt_hand_joint xrt::tracking::hand::mercury::joints_ml_to_xr[21] |