Interface for running pre-processing for Emotions.
Definition at line 102 of file Emotions.h.
Public Member Functions | |
| EmotionsPreProcessor ()=delete | |
| Removing the default constructor for EmotionsPreProcessor. More... | |
| EmotionsPreProcessor (const ImagePreProcessingParams &preProcessorParams, const ModelInputParams &modelInputParams) | |
| Constructor for EmotionsPreProcessor. More... | |
| ~EmotionsPreProcessor () | |
| Destructor for EmotionsPreProcessor. More... | |
| void | execute (Tensor< CL, CX, F32 > &preProcessedLandmarkBatch, const Array< ArrayN< Vector2f, Emotions::NUM_FACIAL_LANDMARKS >> &inputLandmarks, cudaStream_t stream=0) |
| Running preprocessing for a given set of facial landmarks. More... | |
|
delete |
Removing the default constructor for EmotionsPreProcessor.
| cvcore::emotions::EmotionsPreProcessor::EmotionsPreProcessor | ( | const ImagePreProcessingParams & | preProcessorParams, |
| const ModelInputParams & | modelInputParams | ||
| ) |
Constructor for EmotionsPreProcessor.
| preProcessorParams | Image preprocessing parameters. |
| modelInputParams | Model input parameters. |
| cvcore::emotions::EmotionsPreProcessor::~EmotionsPreProcessor | ( | ) |
Destructor for EmotionsPreProcessor.
| void cvcore::emotions::EmotionsPreProcessor::execute | ( | Tensor< CL, CX, F32 > & | preProcessedLandmarkBatch, |
| const Array< ArrayN< Vector2f, Emotions::NUM_FACIAL_LANDMARKS >> & | inputLandmarks, | ||
| cudaStream_t | stream = 0 |
||
| ) |
Running preprocessing for a given set of facial landmarks.
| preProcessedLandmarkBatch | input landmarks vector in tensor format. |
| inputLandmarks | input landmarks vector in array format. |
| stream | Cuda stream |