Structure containing a set of parameters for the body tracking module in Sensors API. More...
Functions | |
| def | __init__ (self, instance_module_id=0, enable_tracking=True, enable_segmentation=False, detection_model=BODY_TRACKING_MODEL.HUMAN_BODY_ACCURATE, enable_body_fitting=False, body_format=BODY_FORMAT.BODY_18, max_range=-1.0, prediction_timeout_s=0.2) |
| Default constructor. | |
| int | instance_module_id (self) |
| Id of the module instance. More... | |
| list[SensorDeviceIdentifier] | sensors_ids (self) |
| List of sensor id that will be used for this instance. More... | |
| bool | enable_tracking (self) |
| Whether the body tracking system includes body/person tracking capabilities across a sequence of images. | |
| bool | enable_segmentation (self) |
| Whether the body/person masks will be computed. | |
| BODY_TRACKING_MODEL | detection_model (self) |
| BODY_TRACKING_MODEL to use. | |
| bool | enable_body_fitting (self) |
| Whether to apply the body fitting. | |
| BODY_FORMAT | body_format (self) |
| Body format to be outputted by the ZED SDK with Camera.retrieve_bodies(). | |
| float | max_range (self) |
| Upper depth range for detections. More... | |
| float | prediction_timeout_s (self) |
| Prediction duration of the ZED SDK when an object is not detected anymore before switching its state to SEARCHING. More... | |
| bool | allow_reduced_precision_inference (self) |
| 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 in Sensors API.
| int instance_module_id | ( | self | ) |
Id of the module instance.
This is used to identify which body tracking module instance is used.
| list[SensorDeviceIdentifier] sensors_ids | ( | self | ) |
List of sensor id that will be used for this instance.
By default empty which means all available sensors in Sensors when the body tracking instance is started.
| float max_range | ( | self | ) |
Upper depth range for detections.
Default: -1.0 (value set in InitParameters.depth_maximum_distance)
| float prediction_timeout_s | ( | self | ) |
Prediction duration of the ZED SDK when an object is not detected anymore before switching its state to SEARCHING.
It prevents the jittering of the object state when there is a short misdetection. The duration is expressed in seconds.
| bool allow_reduced_precision_inference | ( | self | ) |
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.