Bodies Struct Reference

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

Attributes

int nbBodies
 Number of detected bodies/persons. More...
 
ulong timestamp
 Timestamp corresponding to the frame acquisition. More...
 
int isNew
 Whether bodiesList has already been retrieved or not. More...
 
int isTracked
 Whether both the body tracking and the world orientation has been setup. More...
 
INFERENCE_PRECISION inferencePrecisionMode
 Status of the actual inference precision mode used to detect the bodies/persons. It depends on the GPU hardware support, the sl::BodyTrackingParameters.allowReducedPrecisionInference input parameter and the model support. More...
 
BODY_FORMAT bodyFormat
 Body format used in sl::BodyTrackingParameters.body_format parameter. More...
 
BodyData[] bodiesList
 Array of detected bodies/persons. More...
 

Detailed Description

Structure containing the results of the body tracking module.

The detected bodies/persons are listed in bodiesList.

Variables

◆ nbBodies

int nbBodies

Number of detected bodies/persons.

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

◆ timestamp

ulong timestamp

Timestamp corresponding to the frame acquisition.

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

◆ isNew

int isNew

Whether bodiesList has already been retrieved or not.

◆ isTracked

int isTracked

Whether both the body tracking and the world orientation has been setup.

◆ inferencePrecisionMode

INFERENCE_PRECISION inferencePrecisionMode

Status of the actual inference precision mode used to detect the bodies/persons. It depends on the GPU hardware support, the sl::BodyTrackingParameters.allowReducedPrecisionInference input parameter and the model support.

◆ bodyFormat

BODY_FORMAT bodyFormat

Body format used in sl::BodyTrackingParameters.body_format parameter.

◆ bodiesList

BodyData [] bodiesList

Array of detected 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 (sl.Constant.MAX_OBJECTS) objects in the image.