Class containing the results of the body tracking module. More...
Functions | |
Timestamp | timestamp (self) |
Timestamp corresponding to the frame acquisition. More... | |
list[BodyData] | body_list (self) |
List of detected bodies/persons. | |
bool | is_new (self) |
Whether object_list has already been retrieved or not. More... | |
bool | is_tracked (self) |
Whether both the body tracking and the world orientation has been setup. More... | |
BODY_FORMAT | body_format (self) |
Body format used in sl.BodyTrackingParameters.body_format parameter. | |
INFERENCE_PRECISION | inference_precision_mode (self) |
Status of the actual inference precision mode used to detect the bodies/persons. More... | |
bool | get_body_data_from_id (self, BodyData py_body_data, int body_data_id) |
Method that looks for a given body id in the current bodies list. More... | |
Class containing the results of the body tracking module.
The detected bodies/persons are listed in body_list.
Timestamp timestamp | ( | self | ) |
Timestamp corresponding to the frame acquisition.
This value is especially useful for the async mode to synchronize the data.
Referenced by Timestamp.data_ns(), Timestamp.get_microseconds(), Timestamp.get_milliseconds(), Timestamp.get_nanoseconds(), Timestamp.get_seconds(), Timestamp.set_microseconds(), Timestamp.set_milliseconds(), Timestamp.set_nanoseconds(), and Timestamp.set_seconds().
bool is_new | ( | self | ) |
Whether object_list has already been retrieved or not.
Default: False
bool is_tracked | ( | self | ) |
Whether both the body tracking and the world orientation has been setup.
Default: False
INFERENCE_PRECISION inference_precision_mode | ( | self | ) |
Status of the actual inference precision mode used to detect the bodies/persons.
bool get_body_data_from_id | ( | self, | |
BodyData | py_body_data, | ||
int | body_data_id | ||
) |
Method that looks for a given body id in the current bodies list.
py_body_data[out] | : sl.BodyData to fill if the search succeeded. |
body_data_id[in] | : Id of the sl.BodyData to search. |