Interface for loading and running Emotions.
Definition at line 46 of file Emotions.h.
◆ Emotions() [1/2]
cvcore::emotions::Emotions::Emotions |
( |
| ) |
|
|
delete |
Removing the default constructor for Emotions.
◆ Emotions() [2/2]
Constructor for Emotions.
- Parameters
-
preProcessorParams | Image preprocessing parameters. |
modelInputParams | Model input parameters. |
inferenceParams | Inference parameters for the model. |
numEmotions | number of the output emotions |
◆ ~Emotions()
cvcore::emotions::Emotions::~Emotions |
( |
| ) |
|
◆ execute()
Running Emotions for a given image.
- Parameters
-
emotionLikelihoods | output emotions likelihood vector for each image in the batch. |
topEmotions | the top ranked emotions for each image in the batch |
inputLandmarks | input facial landmarks vector. |
stream | Cuda stream |
◆ NUM_FACIAL_LANDMARKS
constexpr std::size_t cvcore::emotions::Emotions::NUM_FACIAL_LANDMARKS = 68 |
|
staticconstexpr |
Number of input facial landmarks.
Definition at line 52 of file Emotions.h.
◆ TOP_EMOTIONS
constexpr std::size_t cvcore::emotions::Emotions::TOP_EMOTIONS = 10 |
|
staticconstexpr |
Top emotions classified in order of likelihood.
Definition at line 57 of file Emotions.h.
The documentation for this class was generated from the following file: