Class that store externally detected objects. More...
Functions | |
CustomBoxObjectData () | |
Default constructor. More... | |
Attributes | |
String | unique_object_id |
Unique id to help identify and track AI detections. More... | |
std::vector< sl::uint2 > | bounding_box_2d |
2D bounding box of the object represented as four 2D points starting at the top left corner and rotation clockwise. More... | |
int | label |
Object label. More... | |
float | probability |
Detection confidence value of the object. More... | |
bool | is_grounded = true |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking. More... | |
Class that store externally detected objects.
The objects can be ingested with sl::Camera.ingestCustomBoxObjects() to extract 3D and tracking information over time.
Default constructor.
String unique_object_id |
Unique id to help identify and track AI detections.
It can be either generated externally, or by using generate_unique_id() or left empty.
std::vector<sl::uint2> bounding_box_2d |
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 |
Object label.
This information is passed-through and can be used to improve object tracking.
float probability |
Detection confidence value of the object.
[0-1]
. bool is_grounded = true |
Provide hypothesis about the object movements (degrees of freedom or DoF) to improve the object tracking.