NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::emotions::EmotionsPostProcessor Class Reference

Detailed Description

Interface for running post-processing for Emotions.

Definition at line 142 of file Emotions.h.

Public Member Functions

 EmotionsPostProcessor ()=delete
 Removing the default constructor for EmotionsPostProcessor. More...
 
 EmotionsPostProcessor (const ModelInputParams &modelInputParams, size_t numEmotions)
 Constructor for EmotionsPostProcessor. More...
 
 ~EmotionsPostProcessor ()
 Destructor for EmotionsPostProcessor. More...
 
void execute (Array< ArrayN< float, Emotions::TOP_EMOTIONS >> &emotionLikelihoods, Array< ArrayN< std::size_t, Emotions::TOP_EMOTIONS >> &topEmotions, const Tensor< CL, CX, F32 > &emotionsRaw, cudaStream_t stream=0)
 Running postprocessing for a given set of emotion likelihoods. More...
 

Constructor & Destructor Documentation

◆ EmotionsPostProcessor() [1/2]

cvcore::emotions::EmotionsPostProcessor::EmotionsPostProcessor ( )
delete

Removing the default constructor for EmotionsPostProcessor.

◆ EmotionsPostProcessor() [2/2]

cvcore::emotions::EmotionsPostProcessor::EmotionsPostProcessor ( const ModelInputParams modelInputParams,
size_t  numEmotions 
)

Constructor for EmotionsPostProcessor.

Parameters
modelInputParamsModel input parameters.
numEmotionsnumber of the output emotions

◆ ~EmotionsPostProcessor()

cvcore::emotions::EmotionsPostProcessor::~EmotionsPostProcessor ( )

Destructor for EmotionsPostProcessor.

Member Function Documentation

◆ execute()

void cvcore::emotions::EmotionsPostProcessor::execute ( Array< ArrayN< float, Emotions::TOP_EMOTIONS >> &  emotionLikelihoods,
Array< ArrayN< std::size_t, Emotions::TOP_EMOTIONS >> &  topEmotions,
const Tensor< CL, CX, F32 > &  emotionsRaw,
cudaStream_t  stream = 0 
)

Running postprocessing for a given set of emotion likelihoods.

Parameters
emotionLikelihoodsoutput emotions likelihood vector for each image in the batch.
topEmotionsthe top ranked emotions for each image in the batch
emotionsRawinput emotions vector in tensor format.
streamCuda stream

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