Structure containing a set of runtime parameters for the object detection module. More...
Attributes | |
float | detectionConfidenceThreshold |
Confidence threshold. More... | |
int[] | objectClassFilter |
Defines which object types to detect and track. More... | |
int[] | objectConfidenceThreshold |
Array of confidence thresholds for each class (can be empty for some classes). More... | |
Structure containing a set of runtime parameters for the object detection module.
The default constructor sets all parameters to their default settings.
float detectionConfidenceThreshold |
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
int [] objectClassFilter |
Defines which object types to detect and track.
Default: new int[(int)sl.OBJECT_CLASS.LAST)]
(all classes are tracked)
In order to get all the available classes, the filter list must be empty :
To select a set of specific object classes, like vehicles, persons and animals for instance:
int [] objectConfidenceThreshold |
Array of confidence thresholds for each class (can be empty for some classes).