From 4a4f9ae0ad45420dd05b6db0fbac46bc38245df3 Mon Sep 17 00:00:00 2001 From: Marek Kowalski Date: Wed, 18 Sep 2019 19:26:02 +0100 Subject: [PATCH] Synchronized mode gets slightly better framerate when multiple devices connected --- src/LiveScanClient/azureKinectCapture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LiveScanClient/azureKinectCapture.cpp b/src/LiveScanClient/azureKinectCapture.cpp index 0cafebd..33d9140 100644 --- a/src/LiveScanClient/azureKinectCapture.cpp +++ b/src/LiveScanClient/azureKinectCapture.cpp @@ -38,6 +38,7 @@ bool AzureKinectCapture::Initialize() config.color_format = K4A_IMAGE_FORMAT_COLOR_BGRA32; config.color_resolution = K4A_COLOR_RESOLUTION_1080P; config.depth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED; + config.synchronized_images_only = true; // Start the camera with the given configuration bInitialized = K4A_SUCCEEDED(k4a_device_start_cameras(kinectSensor, &config));