Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_device_start_cameras()

k4a_result_t k4a_device_start_cameras ( k4a_device_t  device_handle,
const k4a_device_configuration_t config 
)
related

Starts color and depth camera capture.

Parameters
device_handleHandle obtained by k4a_device_open().
configThe configuration we want to run the device in. This can be initialized with K4A_DEVICE_CONFIG_INIT_DISABLE_ALL.
Returns
K4A_RESULT_SUCCEEDED is returned on success.
Remarks
Individual sensors configured to run will now start to stream captured data.
It is not valid to call k4a_device_start_cameras() a second time on the same k4a_device_t until k4a_device_stop_cameras() has been called.