Structure containing a set of parameters for the object detection module. More...
Attributes | |
uint | instanceModuleId |
Id of the module instance. More... | |
bool | enableObjectTracking |
Whether the object detection system includes object tracking capabilities across a sequence of images. More... | |
bool | enableSegmentation |
Whether the object masks will be computed. More... | |
sl.OBJECT_DETECTION_MODEL | detectionModel |
sl.OBJECT_DETECTION_MODEL to use. More... | |
float | maxRange |
Upper depth range for detections. More... | |
BatchParameters | batchParameters |
Batching system parameters. More... | |
OBJECT_FILTERING_MODE | filteringMode |
Filtering mode that should be applied to raw 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 object detection module.
The default constructor sets all parameters to their default settings.
uint instanceModuleId |
Id of the module instance.
This is used to identify which object detection module instance is used.
bool enableObjectTracking |
Whether the object detection system includes object tracking capabilities across a sequence of images.
Default: true
bool enableSegmentation |
Whether the object masks will be computed.
Default: false
sl.OBJECT_DETECTION_MODEL detectionModel |
sl.OBJECT_DETECTION_MODEL to use.
float maxRange |
Upper depth range for detections.
Default: -1 (value set in sl.InitParameters.depthMaximumDistance)
BatchParameters batchParameters |
Batching system parameters.
Batching system (introduced in 3.5) performs short-term re-identification with deep-learning and trajectories filtering.
sl.BatchParameters.enable must to be true to use this feature (by default disabled).
OBJECT_FILTERING_MODE filteringMode |
Filtering mode that should be applied to raw detections.
Default: sl.OBJECT_FILTERING_MODE.NMS3D (same behavior as previous ZED SDK version)
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.