Azure Kinect Body Tracking SDK  1.0.1

◆ k4abt_frame_get_num_bodies()

uint32_t k4abt_frame_get_num_bodies ( k4abt_frame_t  body_frame_handle)
related

Get the number of people from the k4abt_frame_t.

Parameters
body_frame_handleHandle to a body frame object returned by k4abt_tracker_pop_result function.
Returns
Returns the number of detected bodies. 0 if the function fails.
Remarks
Called when the user has received a body frame handle and wants to access the data contained in it.