NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::bodypose2d::BodyPose2DPostProcessor Class Reference

Detailed Description

Interface for running post-processing on bodypose2d network.

Definition at line 224 of file BodyPose2D.h.

Public Member Functions

 BodyPose2DPostProcessor ()=delete
 Default constructor is deleted. More...
 
 BodyPose2DPostProcessor (const BodyPose2DPostProcessorParams &params, const ModelInputParams &modelInputParams)
 Constructor of BodyPose2DPostProcessor. More...
 
 ~BodyPose2DPostProcessor ()
 Destructor of BodyPose2DPostProcessor. More...
 
void allocateStagingBuffers ()
 Allocate staging CPU buffers (used when inputs are GPU Tensors). More...
 
void execute (Array< ArrayN< Human, BodyPose2D::MAX_HUMAN_COUNT >> &output, const Tensor< NCHW, CX, F32 > &pafMap, const Tensor< NCHW, CX, F32 > &heatMap, int imageWidth, int imageHeight, cudaStream_t stream=0)
 Main interface to run post-processing for batch input. More...
 

Constructor & Destructor Documentation

◆ BodyPose2DPostProcessor() [1/2]

cvcore::bodypose2d::BodyPose2DPostProcessor::BodyPose2DPostProcessor ( )
delete

Default constructor is deleted.

◆ BodyPose2DPostProcessor() [2/2]

cvcore::bodypose2d::BodyPose2DPostProcessor::BodyPose2DPostProcessor ( const BodyPose2DPostProcessorParams params,
const ModelInputParams modelInputParams 
)

Constructor of BodyPose2DPostProcessor.

Parameters
paramsbodypose2d post-processing parameters.
modelInputParamsmodel paramters for network.

◆ ~BodyPose2DPostProcessor()

cvcore::bodypose2d::BodyPose2DPostProcessor::~BodyPose2DPostProcessor ( )

Destructor of BodyPose2DPostProcessor.

Member Function Documentation

◆ allocateStagingBuffers()

void cvcore::bodypose2d::BodyPose2DPostProcessor::allocateStagingBuffers ( )

Allocate staging CPU buffers (used when inputs are GPU Tensors).

◆ execute()

void cvcore::bodypose2d::BodyPose2DPostProcessor::execute ( Array< ArrayN< Human, BodyPose2D::MAX_HUMAN_COUNT >> &  output,
const Tensor< NCHW, CX, F32 > &  pafMap,
const Tensor< NCHW, CX, F32 > &  heatMap,
int  imageWidth,
int  imageHeight,
cudaStream_t  stream = 0 
)

Main interface to run post-processing for batch input.

Parameters
outputoutput bodypose2d detection results.
pafMapinput part-affinity-field layer.
heatMapinput heatmap layer.
imageWidthinput image width.
imageHeightinput image height.

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