Structure containing a set of parameters for the body tracking module. More...
Attributes | |
uint | instanceModuleId |
Id of the module instance. More... | |
bool | enableObjectTracking |
Whether the body tracking system includes body/person tracking capabilities across a sequence of images. More... | |
bool | enableSegmentation |
Whether the body/person masks will be computed. More... | |
sl.BODY_TRACKING_MODEL | detectionModel |
sl.BODY_TRACKING_MODEL to use. More... | |
bool | enableBodyFitting |
Whether to apply the body fitting. More... | |
sl.BODY_FORMAT | bodyFormat |
Body format to be outputted by the ZED SDK with sl.Camera.RetrieveBodies(). More... | |
sl.BODY_KEYPOINTS_SELECTION | bodySelection |
Selection of keypoints to be outputted by the ZED SDK with sl_retrieve_bodies(). More... | |
float | maxRange |
Upper depth range for detections. More... | |
float | predictionTimeout_s |
Prediction duration of the ZED SDK when an object is not detected anymore before switching its state to sl.OBJECT_TRACKING_STATE.SEARCHING. More... | |
bool | allowReducedPrecisionInference |
Whether to allow inference to run at a lower precision to improve runtime and memory usage. More... | |
Structure containing a set of parameters for the body tracking module.
The default constructor sets all parameters to their default settings.
uint instanceModuleId |
Id of the module instance.
This is used to identify which body tracking module instance is used.
bool enableObjectTracking |
Whether the body tracking system includes body/person tracking capabilities across a sequence of images.
Default: true
bool enableSegmentation |
Whether the body/person masks will be computed.
Default: false
sl.BODY_TRACKING_MODEL detectionModel |
sl.BODY_TRACKING_MODEL to use.
bool enableBodyFitting |
Whether to apply the body fitting.
Default: false
sl.BODY_FORMAT bodyFormat |
Body format to be outputted by the ZED SDK with sl.Camera.RetrieveBodies().
sl.BODY_KEYPOINTS_SELECTION bodySelection |
Selection of keypoints to be outputted by the ZED SDK with sl_retrieve_bodies().
Default: SL_BODY_KEYPOINTS_SELECTION_FULL
float maxRange |
Upper depth range for detections.
Default: -1 (value set in sl.InitParameters.depthMaximumDistance)
float predictionTimeout_s |
Prediction duration of the ZED SDK when an object is not detected anymore before switching its state to sl.OBJECT_TRACKING_STATE.SEARCHING.
It prevents the jittering of the object state when there is a short misdetection.
The user can define their own prediction time duration.
Default: 0.2f
bool allowReducedPrecisionInference |
Whether to allow inference to run at a lower precision to improve runtime and memory usage.
It might increase the initial optimization time and could include downloading calibration data or calibration cache and slightly reduce the accuracy.