ObjectDetectionSensorsParameters Class Reference

Structure containing a set of parameters for the object detection module in Sensors API. More...

Functions

def __init__ (self, instance_module_id=0, enable_tracking=True, enable_segmentation=False, detection_model=OBJECT_DETECTION_MODEL.MULTI_CLASS_BOX_FAST, max_range=-1.0, filtering_mode=OBJECT_FILTERING_MODE.NMS3D, prediction_timeout_s=0.2)
 Default constructor. More...
 
int instance_module_id (self)
 Id of the module instance.
 
list[SensorDeviceIdentifiersensors_ids (self)
 List of sensor id that will be used for this instance.
 
bool enable_tracking (self)
 Whether the object detection system includes object tracking.
 
bool enable_segmentation (self)
 Whether the object masks will be computed.
 
OBJECT_DETECTION_MODEL detection_model (self)
 sl::OBJECT_DETECTION_MODEL to use.
 
float max_range (self)
 Upper depth range for detections.
 
OBJECT_FILTERING_MODE filtering_mode (self)
 Filtering mode that should be applied to raw detections.
 
float prediction_timeout_s (self)
 Prediction duration of the ZED SDK when an object is not detected.
 

Detailed Description

Structure containing a set of parameters for the object detection module in Sensors API.

Constructor and Destructor

◆ __init__()

def __init__ (   self,
  instance_module_id = 0,
  enable_tracking = True,
  enable_segmentation = False,
  detection_model = OBJECT_DETECTION_MODEL.MULTI_CLASS_BOX_FAST,
  max_range = -1.0,
  filtering_mode = OBJECT_FILTERING_MODE.NMS3D,
  prediction_timeout_s = 0.2 
)

Default constructor.

Parameters
instance_module_id: Id of the module instance.
enable_tracking: Whether the object detection system includes object tracking.
enable_segmentation: Whether the object masks will be computed.
detection_model: sl::OBJECT_DETECTION_MODEL to use.
max_range: Upper depth range for detections.
filtering_mode: Filtering mode that should be applied to raw detections.
prediction_timeout_s: Prediction duration of the ZED SDK when an object is not detected.