|
NVIDIA DeepStream SDK API Reference
|
7.0 Release
|
Go to the documentation of this file.
11 #ifndef NV_BODYPOSE_2D_H_
12 #define NV_BODYPOSE_2D_H_
17 #include <cuda_runtime.h>
26 namespace cvcore {
namespace bodypose2d {
61 std::vector<std::pair<uint32_t, uint32_t>>
169 struct BodyPose2DPreProcessorImpl;
170 std::unique_ptr<BodyPose2DPreProcessorImpl> m_pImpl;
182 static constexpr
int MAX_HUMAN_COUNT = 200;
217 struct BodyPose2DImpl;
218 std::unique_ptr<BodyPose2DImpl> m_pImpl;
247 void allocateStagingBuffers();
264 struct BodyPose2DPostProcessorImpl;
265 std::unique_ptr<BodyPose2DPostProcessorImpl> m_pImpl;
274 static constexpr
size_t MOVING_AVG_WINDOW_SIZE = 100;
293 bool execute(
BBox &box,
const Human &pose,
size_t imageWidth,
size_t imageHeight);
304 struct HandBoundingBoxGeneratorImpl;
305 std::unique_ptr<HandBoundingBoxGeneratorImpl> m_pImpl;
Vector2d handBoxScalingFactorTrainDims
Data structure to describe the parameters tuned for bounding box detection from pose.
int threshPartCnt
model threshold for part count.
Vector2i loc
x, y pixel location.
std::vector< std::pair< uint32_t, uint32_t > > jointEdges
Struct to describe the model.
Vector2f handBoxScalingFactorNeckHipCoeff
Training factor used to determine the scaling factor.
float handBoxScalingFactorMinRange
Default scaling factor for bounding box.
size_t featUpsamplingFactor
feature upsampleing factor.
float handBoxNoseNeckHipRatio
uint32_t wristIndex
Scale factor between neck and nose.
HandType
Enum listing the hand used for gestures.
uint32_t neckIndex
Nose index of the pose provided.
size_t nmsWindowSize
window size for NMS operation.
uint32_t leftHipIndex
Left or right elbow index of the pose provided.
BBox boundingBox
bounding box for person.
float threshVectorScore
model threshold for vector score.
float threshHumanScore
model threshold for human score.
float threshHeat
model threshold for heatmap.
Interface for loading and running bodypose2d network.
float defaultHandBoxScalingFactor
Interface for running pre-processing on bodypose2d network.
Data structure to describe the post processing for BodyPose2D.
uint32_t rightHipIndex
Left hip index of the pose provided.
Implementation of Array class.
const CVCORE_API HandBoundingBoxParams defaultHandParams
Default parameters for computing hand bounding box from pose.
Struct type for image preprocessing params.
int threshVectorCnt1
model threshold for vector count.
Interface for running post-processing on bodypose2d network.
bool enableHandBoxDynamicScaling
Enable using hand scale input.
Data structure for storing body part location.
float handBoxScalingFactorMaxRange
Maximum scaling factor.
Class to compute the bounding box of hand from pose.
const CVCORE_API BodyPose2DPostProcessorParams defaultPostProcessorParams
Default parameters for the post processing pipeline.
std::map< int, BodyPart > body_parts
body parts map.
const CVCORE_API ModelInputParams defaultModelInputParams
Default parameters to describe the input expected for the model.
Implementation of ArrayN class.
HandType handType
Left or Right hand.
const CVCORE_API ModelInferenceParams defaultInferenceParams
Default parameters to describe the model inference parameters.
Data structure for storing human info.
size_t numJoints
Number of joints.
const CVCORE_API ImagePreProcessingParams defaultPreProcessorParams
Default parameters for the preprocessing pipeline.
uint32_t noseIndex
Right hip index of the pose provided.
uint32_t elbowIndex
Left or right wrist index of the pose provided.