NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::bodypose2d::HandBoundingBoxGenerator Class Reference

Detailed Description

Class to compute the bounding box of hand from pose.

Definition at line 271 of file BodyPose2D.h.

Public Member Functions

 HandBoundingBoxGenerator ()=delete
 Default constructor is deleted. More...
 
 HandBoundingBoxGenerator (const HandBoundingBoxParams &params)
 Constructor of HandBoundingBoxGenerator. More...
 
bool execute (BBox &box, const Human &pose, size_t imageWidth, size_t imageHeight)
 Get bounding box values from input pose. More...
 
 ~HandBoundingBoxGenerator ()
 Destructor of HandBoundingBoxGenerator. More...
 

Static Public Attributes

static constexpr size_t MOVING_AVG_WINDOW_SIZE = 100
 

Constructor & Destructor Documentation

◆ HandBoundingBoxGenerator() [1/2]

cvcore::bodypose2d::HandBoundingBoxGenerator::HandBoundingBoxGenerator ( )
delete

Default constructor is deleted.

◆ HandBoundingBoxGenerator() [2/2]

cvcore::bodypose2d::HandBoundingBoxGenerator::HandBoundingBoxGenerator ( const HandBoundingBoxParams params)

Constructor of HandBoundingBoxGenerator.

Parameters
parametersconfigured for hand detection.

◆ ~HandBoundingBoxGenerator()

cvcore::bodypose2d::HandBoundingBoxGenerator::~HandBoundingBoxGenerator ( )

Destructor of HandBoundingBoxGenerator.

Member Function Documentation

◆ execute()

bool cvcore::bodypose2d::HandBoundingBoxGenerator::execute ( BBox box,
const Human pose,
size_t  imageWidth,
size_t  imageHeight 
)

Get bounding box values from input pose.

Parameters
2Dpose computed
ImageWidth
ImageHeight
OutputBounding box computed
Returns
Validity of the bounding box computed.

Field Documentation

◆ MOVING_AVG_WINDOW_SIZE

constexpr size_t cvcore::bodypose2d::HandBoundingBoxGenerator::MOVING_AVG_WINDOW_SIZE = 100
staticconstexpr

Definition at line 274 of file BodyPose2D.h.


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