Add a k4a sensor capture to the tracker input queue to generate its body tracking result asynchronously.
- Parameters
-
tracker_handle | Handle obtained by k4abt_tracker_create(). |
sensor_capture_handle | Handle to a sensor capture returned by k4a_device_get_capture() from k4a SDK. It should contain the depth data for this function to work. Otherwise the function will return failure. |
timeout_in_ms | Specifies the time in milliseconds the function should block waiting to add the sensor capture to the tracker process queue. 0 is a check of the status without blocking. Passing a value of K4A_WAIT_INFINITE will block indefinitely until the capture is added to the process queue. |
- Returns
- K4A_WAIT_RESULT_SUCCEEDED if a sensor capture is successfully added to the processing queue. If the queue is still full before the timeout elapses, the function will return K4A_WAIT_RESULT_TIMEOUT. All other failures will return K4A_WAIT_RESULT_FAILED.