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... | |
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.
objectData[out] | : sl::ObjectData to fill if the search succeeded. |
objectDataId[in] | : 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.