BodyTrackingRuntimeParameters Class Reference

Class containing a set of runtime parameters for the body tracking module. More...

Functions

BodyTrackingRuntimeParameters __cinit__ (self, detection_confidence_threshold=50, minimum_keypoints_threshold=0, skeleton_smoothing=0)
 Default constructor. More...
 
float detection_confidence_threshold (self)
 Confidence threshold. More...
 
int minimum_keypoints_threshold (self)
 Minimum threshold for the keypoints. More...
 
float skeleton_smoothing (self)
 Control of the smoothing of the fitted fused skeleton. More...
 

Detailed Description

Class containing a set of runtime parameters for the body tracking module.

The default constructor sets all parameters to their default settings.

Note
Parameters can be adjusted by the user.

Functions

◆ __cinit__()

BodyTrackingRuntimeParameters __cinit__ (   self,
  detection_confidence_threshold = 50,
  minimum_keypoints_threshold = 0,
  skeleton_smoothing = 0 
)

Default constructor.

All the parameters are set to their default values.

Parameters
detection_confidence_threshold: Chosen detection_confidence_threshold
minimum_keypoints_threshold: Chosen minimum_keypoints_threshold
skeleton_smoothing: Chosen skeleton_smoothing

◆ detection_confidence_threshold()

float detection_confidence_threshold (   self)

Confidence threshold.

From 1 to 100, with 1 meaning a low threshold, more uncertain objects and 99 very few but very precise objects.
Default: 20

Note
If the scene contains a lot of objects, increasing the confidence can slightly speed up the process, since every object instance is tracked.

◆ minimum_keypoints_threshold()

int minimum_keypoints_threshold (   self)

Minimum threshold for the keypoints.

The ZED SDK will only output the keypoints of the skeletons with threshold greater than this value.
Default: 0

Note
It is useful, for example, to remove unstable fitting results when a skeleton is partially occluded.

◆ skeleton_smoothing()

float skeleton_smoothing (   self)

Control of the smoothing of the fitted fused skeleton.

It is ranged from 0 (low smoothing) and 1 (high smoothing).
Default: 0