NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::bodypose2d::BodyPose2D Class Reference

Detailed Description

Interface for loading and running bodypose2d network.

Definition at line 176 of file BodyPose2D.h.

Public Member Functions

 BodyPose2D ()=delete
 Default constructor is deleted. More...
 
 BodyPose2D (const ImagePreProcessingParams &preProcessorParams, const ModelInputParams &modelInputParams, const ModelInferenceParams &inferenceParams, const BodyPose2DPostProcessorParams &postProcessorParams)
 Constructor of BodyPose2D. More...
 
 ~BodyPose2D ()
 Destructor of BodyPose2D. More...
 
void execute (Array< ArrayN< Human, MAX_HUMAN_COUNT >> &output, const Tensor< NHWC, C3, U8 > &input, cudaStream_t stream=0)
 Main interface to run inference for batch input. More...
 

Static Public Attributes

static constexpr int MAX_HUMAN_COUNT = 200
 Maximum detected human allowed. More...
 

Constructor & Destructor Documentation

◆ BodyPose2D() [1/2]

cvcore::bodypose2d::BodyPose2D::BodyPose2D ( )
delete

Default constructor is deleted.

◆ BodyPose2D() [2/2]

cvcore::bodypose2d::BodyPose2D::BodyPose2D ( const ImagePreProcessingParams preProcessorParams,
const ModelInputParams modelInputParams,
const ModelInferenceParams inferenceParams,
const BodyPose2DPostProcessorParams postProcessorParams 
)

Constructor of BodyPose2D.

Parameters
preProcessorParamscustom pre-processor params.
modelInputParamscustom model input params for the network.
inferenceParamscustom inference params for the network.
postProcessorParamscustom post-processor params.

◆ ~BodyPose2D()

cvcore::bodypose2d::BodyPose2D::~BodyPose2D ( )

Destructor of BodyPose2D.

Member Function Documentation

◆ execute()

void cvcore::bodypose2d::BodyPose2D::execute ( Array< ArrayN< Human, MAX_HUMAN_COUNT >> &  output,
const Tensor< NHWC, C3, U8 > &  input,
cudaStream_t  stream = 0 
)

Main interface to run inference for batch input.

Parameters
outputoutput bodypose detection batch results.
inputinput batch tensor as interleaved BGR image.
streamcuda stream.

Field Documentation

◆ MAX_HUMAN_COUNT

constexpr int cvcore::bodypose2d::BodyPose2D::MAX_HUMAN_COUNT = 200
staticconstexpr

Maximum detected human allowed.

Definition at line 182 of file BodyPose2D.h.


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