ObjectDetectionParameters Struct Reference

Sets the object detection parameters. More...

Attributes

bool imageSync
 Defines if the object detection is synchronized to the image or runs in a separate thread. More...
 
bool enableObjectTracking
 Defines if the object detection will track objects across multiple images, instead of an image-by-image basis. More...
 
bool enable2DMask
 Defines if the SDK will calculate 2D masks for each object. Requires more performance, so don't enable if you don't need these masks. More...
 
sl.DETECTION_MODEL detectionModel
 Defines the AI model used for detection More...
 
bool enableBodyFitting
 Defines if the body fitting will be applied. More...
 
sl.BODY_FORMAT bodyFormat
 Body Format. BODY_FORMAT.POSE_34 automatically enables body fitting. More...
 
float maxRange
 Defines a upper depth range for detections. Defined in UNIT set at sl.Camera.Open. Default value is set to sl.Initparameters.depthMaximumDistance (can not be higher). More...
 
BatchParameters batchParameters
 Batching system parameters. Batching system(introduced in 3.5) performs short-term re-identification with deep learning and trajectories filtering. BatchParameters.enable need to be true to use this feature (by default disabled) More...
 
OBJECT_FILTERING_MODE filteringMode
 Defines the filtering mode that should be applied to raw detections. More...
 
float predictionTimeout_s
 When an object is not detected anymore, the SDK will predict its positions during a short period of time before switching its state to SEARCHING. It prevents the jittering of the object state when there is a short misdetection.The user can define its own prediction time duration. During this time, the object will have OK state even if it is not detected. The duration is expressed in seconds. The prediction_timeout_s will be clamped to 1 second as the prediction is getting worst with time. Set this parameter to 0 to disable SDK predictions. More...
 

Detailed Description

Sets the object detection parameters.

Variables

◆ imageSync

bool imageSync

Defines if the object detection is synchronized to the image or runs in a separate thread.

◆ enableObjectTracking

bool enableObjectTracking

Defines if the object detection will track objects across multiple images, instead of an image-by-image basis.

◆ enable2DMask

bool enable2DMask

Defines if the SDK will calculate 2D masks for each object. Requires more performance, so don't enable if you don't need these masks.

◆ detectionModel

sl.DETECTION_MODEL detectionModel

Defines the AI model used for detection

◆ enableBodyFitting

bool enableBodyFitting

Defines if the body fitting will be applied.

◆ bodyFormat

sl.BODY_FORMAT bodyFormat

Body Format. BODY_FORMAT.POSE_34 automatically enables body fitting.

◆ maxRange

float maxRange

Defines a upper depth range for detections. Defined in UNIT set at sl.Camera.Open. Default value is set to sl.Initparameters.depthMaximumDistance (can not be higher).

◆ batchParameters

BatchParameters batchParameters

Batching system parameters. Batching system(introduced in 3.5) performs short-term re-identification with deep learning and trajectories filtering. BatchParameters.enable need to be true to use this feature (by default disabled)

◆ filteringMode

OBJECT_FILTERING_MODE filteringMode

Defines the filtering mode that should be applied to raw detections.

◆ predictionTimeout_s

float predictionTimeout_s

When an object is not detected anymore, the SDK will predict its positions during a short period of time before switching its state to SEARCHING. It prevents the jittering of the object state when there is a short misdetection.The user can define its own prediction time duration. During this time, the object will have OK state even if it is not detected. The duration is expressed in seconds. The prediction_timeout_s will be clamped to 1 second as the prediction is getting worst with time. Set this parameter to 0 to disable SDK predictions.