Class that store externally detected objects. More...
Functions | |
str | unique_object_id (self) |
Unique id to help identify and track AI detections. More... | |
np.array[int][int] | bounding_box_2d (self) |
2D bounding box of the object represented as four 2D points starting at the top left corner and rotation clockwise. More... | |
int | label (self) |
Object label. More... | |
float | probability (self) |
Detection confidence value of the object. More... | |
bool | is_grounded (self) |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking. More... | |
bool | is_static (self) |
Provide hypothesis about the object staticity to improve the object tracking. More... | |
float | tracking_timeout (self) |
Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time. More... | |
float | tracking_max_dist (self) |
Maximum tracking distance threshold (in meters) before dropping the tracked object when unseen for this amount of meters. More... | |
Class that store externally detected objects.
The objects can be ingested with sl.Camera.ingest_custom_box_objects() to extract 3D and tracking information over time.
str unique_object_id | ( | self | ) |
Unique id to help identify and track AI detections.
It can be either generated externally, or by using generate_unique_id() or left empty.
np.array[int][int] bounding_box_2d | ( | self | ) |
2D bounding box of the object represented as four 2D points starting at the top left corner and rotation clockwise.
[0, 0]
is the top left corner. int label | ( | self | ) |
Object label.
This information is passed-through and can be used to improve object tracking.
float probability | ( | self | ) |
Detection confidence value of the object.
[0-1]
. bool is_grounded | ( | self | ) |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking.
bool is_static | ( | self | ) |
Provide hypothesis about the object staticity to improve the object tracking.
float tracking_timeout | ( | self | ) |
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 tracking_max_dist | ( | self | ) |
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.