Skip to content

Struct ILLIXR::data_format::ht::ht_detection

ClassList > ILLIXR > data_format > ht > ht_detection

More...

  • #include <hand_tracking_data.hpp>

Public Attributes

Type Name
std::map< hand, float > confidence
confidence of the hand detection 0..1, where 0 means no confidence
std::map< hand, rect > hands
left hand detection
std::map< hand, rect > palms
left palm detection
std::map< hand, hand_points > points
the points detected for each hand
size_t proc_time
nanoseconds of processing time

Public Functions

Type Name
ht_detection ()
ht_detection (size_t ptime, rect * lp, rect * rp, rect * lh, rect * rh, float lc, float rc, hand_points * lhp, hand_points * rhp)

Detailed Description

Struct containing all the data from a hand detection

Public Attributes Documentation

variable confidence

confidence of the hand detection 0..1, where 0 means no confidence

std::map<hand, float> ILLIXR::data_format::ht::ht_detection::confidence;


variable hands

left hand detection

std::map<hand, rect> ILLIXR::data_format::ht::ht_detection::hands;


variable palms

left palm detection

std::map<hand, rect> ILLIXR::data_format::ht::ht_detection::palms;


variable points

the points detected for each hand

std::map<hand, hand_points> ILLIXR::data_format::ht::ht_detection::points;


variable proc_time

nanoseconds of processing time

size_t ILLIXR::data_format::ht::ht_detection::proc_time;


Public Functions Documentation

function ht_detection [1/2]

inline ILLIXR::data_format::ht::ht_detection::ht_detection () 

Basic constructor


function ht_detection [2/2]

inline ILLIXR::data_format::ht::ht_detection::ht_detection (
    size_t ptime,
    rect * lp,
    rect * rp,
    rect * lh,
    rect * rh,
    float lc,
    float rc,
    hand_points * lhp,
    hand_points * rhp
) 

Create an instance from the given inputs

Parameters:

  • ptime Time associated with these data
  • lp Rectangle enclosing the left palm
  • rp Rectangle enclosing the right palm
  • lh Rectangle enclosing the entire left hand
  • rh Rectangle enclosing the entire right hand
  • lc Left hand confidence (0..1, where 0 means no confidence)
  • rc Right hand confidence (0..1, where 0 means no confidence)
  • lhp Left hand points
  • rhp Right hand points


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/data_format/hand_tracking_data.hpp