Class containing the results of the body tracking module. More...
Functions | |
bool | getBodyDataFromId (sl::BodyData &bodyData, int bodyDataId) |
Method that looks for a given body id in the current bodies list. More... | |
Attributes | |
sl::Timestamp | timestamp |
Timestamp corresponding to the frame acquisition. More... | |
std::vector< sl::BodyData > | body_list |
Vector of detected bodies/persons. More... | |
bool | is_new = false |
Whether body_list has already been retrieved or not. More... | |
bool | is_tracked = false |
Whether both the body tracking and the world orientation has been setup. More... | |
sl::INFERENCE_PRECISION | inference_precision_mode |
Status of the actual inference precision mode used to detect the bodies/persons. More... | |
BODY_FORMAT | body_format |
Body format used in sl::BodyTrackingParameters.body_format parameter. More... | |
Class containing the results of the body tracking module.
The detected bodies/persons are listed in body_list.
bool getBodyDataFromId | ( | sl::BodyData & | bodyData, |
int | bodyDataId | ||
) |
Method that looks for a given body id in the current bodies list.
bodyData[out] | : sl::BodyData to fill if the search succeeded. |
bodyDataId[in] | : Id of the sl::BodyData 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::BodyData> body_list |
Vector of detected bodies/persons.
bool is_new = false |
Whether body_list has already been retrieved or not.
bool is_tracked = false |
Whether both the body tracking and the world orientation has been setup.
sl::INFERENCE_PRECISION inference_precision_mode |
Status of the actual inference precision mode used to detect the bodies/persons.
BODY_FORMAT body_format |
Body format used in sl::BodyTrackingParameters.body_format parameter.