SL_Bodies Struct Reference

Structure containing the results of the body tracking module. More...

Data Fields

int nb_bodies
 Number of detected bodies/persons. More...
 
unsigned long long timestamp
 Timestamp corresponding to the frame acquisition. More...
 
int is_new
 Whether body_list has already been retrieved or not.
 
int is_tracked
 Whether both the body tracking and the world orientation has been setup.
 
struct SL_BodyData body_list [MAX_NUMBER_OBJECT]
 Array of bodies/persons. More...
 

Detailed Description

Structure containing the results of the body tracking module.

The detected bodies/persons are listed in body_list.

Field Documentation

◆ nb_bodies

int SL_Bodies::nb_bodies

Number of detected bodies/persons.

Note
You can use it to iterate through the body_list array.

◆ timestamp

unsigned long long SL_Bodies::timestamp

Timestamp corresponding to the frame acquisition.

This value is especially useful for the async mode to synchronize the data.

◆ body_list

struct SL_BodyData SL_Bodies::body_list[MAX_NUMBER_OBJECT]

Array of bodies/persons.

Note
Since the data is transmitted from C++ to C, the size of the structure must be constant.
Therefore, there is a limitation of 75 objects in the image.