8 #include <k4abtversion.h> 9 #include <k4abttypes.h> 11 #ifdef K4ABT_STATIC_DEFINE 16 # define K4ABT_EXPORT __declspec(dllexport) 20 # define K4ABT_EXPORT __attribute__((visibility("default"))) 135 int32_t timeout_in_ms);
172 int32_t timeout_in_ms);
void k4abt_tracker_destroy(k4abt_tracker_t tracker_handle)
Releases a body tracker handle.
uint32_t k4abt_frame_get_body_id(k4abt_frame_t body_frame_handle, uint32_t index)
Get the body id for a particular person index from the k4abt_frame_t.
Handle to k4a body tracking component.
Definition: k4abttypes.h:34
Structure to define joints for skeleton.
Definition: k4abttypes.h:206
uint64_t k4abt_frame_get_device_timestamp_usec(k4abt_frame_t body_frame_handle)
Get the body frame's device timestamp in microseconds.
void k4abt_frame_release(k4abt_frame_t body_frame_handle)
Release a body frame back to the SDK.
void k4abt_frame_reference(k4abt_frame_t body_frame_handle)
Add a reference to a body frame.
Handle to a k4a body tracking frame.
Definition: k4abttypes.h:41
k4a_wait_result_t k4abt_tracker_enqueue_capture(k4abt_tracker_t tracker_handle, k4a_capture_t sensor_capture_handle, int32_t timeout_in_ms)
Add a k4a sensor capture to the tracker input queue to generate its body tracking result asynchronous...
k4a_result_t k4abt_frame_get_body_skeleton(k4abt_frame_t body_frame_handle, uint32_t index, k4abt_skeleton_t *skeleton)
Get the joint information for a particular person index from the k4abt_frame_t.
uint32_t k4abt_frame_get_num_bodies(k4abt_frame_t body_frame_handle)
Get the number of people from the k4abt_frame_t.
Configuration parameters for a k4abt body tracker.
Definition: k4abttypes.h:128
void k4abt_tracker_shutdown(k4abt_tracker_t tracker_handle)
Shutdown the tracker so that no further capture can be added to the input queue.
void k4abt_tracker_set_temporal_smoothing(k4abt_tracker_t tracker_handle, float smoothing_factor)
Control the temporal smoothing across frames.
k4a_image_t k4abt_frame_get_body_index_map(k4abt_frame_t body_frame_handle)
Get the body index map from k4abt_frame_t.
k4a_capture_t k4abt_frame_get_capture(k4abt_frame_t body_frame_handle)
Get the original capture that is used to calculate the k4abt_frame_t.
k4a_wait_result_t k4abt_tracker_pop_result(k4abt_tracker_t tracker_handle, k4abt_frame_t *body_frame_handle, int32_t timeout_in_ms)
Gets the next available body frame.
k4a_result_t k4abt_tracker_create(const k4a_calibration_t *sensor_calibration, k4abt_tracker_configuration_t config, k4abt_tracker_t *tracker_handle)
Create a body tracker handle.