Gestures parameters and implementation.
Definition at line 102 of file Gestures.h.
Public Types | |
| using | GesturesLikelihood = ArrayN< std::pair< uint32_t, float >, TOP_GESTURES > |
Public Member Functions | |
| Gestures (const ImagePreProcessingParams &imgparams, const ModelInputParams &modelParams, const ModelInferenceParams &modelInferParams, const GesturesPostProcessorParams &postProcessParams) | |
| Constructor for Gestures. More... | |
| Gestures ()=delete | |
| Default constructor not supported. More... | |
| ~Gestures () | |
| Destructor for Gestures. More... | |
| void | execute (Array< GesturesLikelihood > &gestures, const Tensor< NHWC, C3, U8 > &input, const Array< BBox > &inputBBox, cudaStream_t stream=0) |
| Inference function for a given BGR image. More... | |
Static Public Attributes | |
| static constexpr size_t | TOP_GESTURES = 10 |
| Top gestures detected in order of likelihood. More... | |
| using cvcore::gestures::Gestures::GesturesLikelihood = ArrayN<std::pair<uint32_t, float>, TOP_GESTURES> |
Definition at line 110 of file Gestures.h.
| cvcore::gestures::Gestures::Gestures | ( | const ImagePreProcessingParams & | imgparams, |
| const ModelInputParams & | modelParams, | ||
| const ModelInferenceParams & | modelInferParams, | ||
| const GesturesPostProcessorParams & | postProcessParams | ||
| ) |
|
delete |
Default constructor not supported.
| cvcore::gestures::Gestures::~Gestures | ( | ) |
Destructor for Gestures.
| void cvcore::gestures::Gestures::execute | ( | Array< GesturesLikelihood > & | gestures, |
| const Tensor< NHWC, C3, U8 > & | input, | ||
| const Array< BBox > & | inputBBox, | ||
| cudaStream_t | stream = 0 |
||
| ) |
|
staticconstexpr |
Top gestures detected in order of likelihood.
Definition at line 108 of file Gestures.h.