NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::emotions::EmotionsPreProcessor Class Reference

Detailed Description

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...
 

Constructor & Destructor Documentation

◆ EmotionsPreProcessor() [1/2]

cvcore::emotions::EmotionsPreProcessor::EmotionsPreProcessor ( )
delete

Removing the default constructor for EmotionsPreProcessor.

◆ EmotionsPreProcessor() [2/2]

cvcore::emotions::EmotionsPreProcessor::EmotionsPreProcessor ( const ImagePreProcessingParams preProcessorParams,
const ModelInputParams modelInputParams 
)

Constructor for EmotionsPreProcessor.

Parameters
preProcessorParamsImage preprocessing parameters.
modelInputParamsModel input parameters.

◆ ~EmotionsPreProcessor()

cvcore::emotions::EmotionsPreProcessor::~EmotionsPreProcessor ( )

Destructor for EmotionsPreProcessor.

Member Function Documentation

◆ execute()

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.

Parameters
preProcessedLandmarkBatchinput landmarks vector in tensor format.
inputLandmarksinput landmarks vector in array format.
streamCuda stream

The documentation for this class was generated from the following file: