Class containing the results of the object detection module. More...
Functions | |
bool | getObjectDataFromId (sl::ObjectData &objectData, int objectDataId) |
Method that looks for a given object id in the current objects list. More... | |
Attributes | |
sl::Timestamp | timestamp |
Timestamp corresponding to the frame acquisition. More... | |
std::vector< sl::ObjectData > | object_list |
Vector of detected objects. More... | |
bool | is_new = false |
Whether object_list has already been retrieved or not. More... | |
bool | is_tracked = false |
Whether both the object tracking and the world orientation has been setup. More... | |
sl::String | fused_objects_group_name |
In a multi camera setup, specify which group this model belongs to. More... | |
Class containing the results of the object detection module.
The detected objects are listed in object_list.
bool getObjectDataFromId | ( | sl::ObjectData & | objectData, |
int | objectDataId | ||
) |
Method that looks for a given object id in the current objects list.
[out] | objectData | : sl::ObjectData to fill if the search succeeded. |
[in] | objectDataId | : Id of the sl::ObjectData to search. |
sl::Timestamp timestamp |
Timestamp corresponding to the frame acquisition.
This value is especially useful for the async mode to synchronize the data.
std::vector<sl::ObjectData> object_list |
Vector of detected objects.
bool is_new = false |
Whether object_list has already been retrieved or not.
bool is_tracked = false |
Whether both the object tracking and the world orientation has been setup.
sl::String fused_objects_group_name |
In a multi camera setup, specify which group this model belongs to.
In a multi camera setup, multiple cameras can be used to detect objects and multiple detector having similar output layout can see the same object. Therefore, Fusion will fuse together the outputs received by multiple detectors only if they are part of the same fused_objects_group_name.