Structure containing a set of runtime properties of a certain class ID for the object detection module using a custom model. More...
Data Fields | |
int | class_id |
Index of the class represented by this set of properties. | |
bool | enabled |
Whether the object object is kept or not. | |
float | detection_confidence_threshold |
Confidence threshold. More... | |
bool | is_grounded |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking. More... | |
bool | is_static |
Provide hypothesis about the object staticity to improve the object tracking. More... | |
float | tracking_timeout |
Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time. More... | |
float | tracking_max_dist |
Maximum tracking distance threshold (in meters) before dropping the tracked object when unseen for this amount of meters. More... | |
float | max_box_width_normalized |
Maximum allowed width normalized to the image size. More... | |
float | min_box_width_normalized |
Minimum allowed width normalized to the image size. More... | |
float | max_box_height_normalized |
Maximum allowed height normalized to the image size. More... | |
float | min_box_height_normalized |
Minimum allowed height normalized to the image size. More... | |
Structure containing a set of runtime properties of a certain class ID for the object detection module using a custom model.
The default constructor sets all parameters to their default settings.
float SL_CustomObjectDetectionProperties::detection_confidence_threshold |
Confidence threshold.
From 1 to 100, with 1 meaning a low threshold, more uncertain objects and 99 very few but very precise objects.
Default: 20.f
bool SL_CustomObjectDetectionProperties::is_grounded |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking.
bool SL_CustomObjectDetectionProperties::is_static |
Provide hypothesis about the object staticity to improve the object tracking.
float SL_CustomObjectDetectionProperties::tracking_timeout |
Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time.
By default, let the tracker decide internally based on the internal sub class of the tracked object. Only valid for static object.
float SL_CustomObjectDetectionProperties::tracking_max_dist |
Maximum tracking distance threshold (in meters) before dropping the tracked object when unseen for this amount of meters.
By default, do not discard tracked object based on distance. Only valid for static object.
float SL_CustomObjectDetectionProperties::max_box_width_normalized |
Maximum allowed width normalized to the image size.
Any prediction bigger than that will be filtered out. Default: -1 (no filtering)
float SL_CustomObjectDetectionProperties::min_box_width_normalized |
Minimum allowed width normalized to the image size.
Any prediction smaller than that will be filtered out. Default: -1 (no filtering)
float SL_CustomObjectDetectionProperties::max_box_height_normalized |
Maximum allowed height normalized to the image size.
Any prediction bigger than that will be filtered out. Default: -1 (no filtering)
float SL_CustomObjectDetectionProperties::min_box_height_normalized |
Minimum allowed height normalized to the image size.
Any prediction smaller than that will be filtered out. Default: -1 (no filtering)