[Sync] How do I check the synchronization on two kinect dk cameras ?

yh c 26 Reputation points
2021-02-23T06:13:34.783+00:00

I am using 2 cameras. Is this setting correct? What function can I use to check if it is in sync?

    left_config_ = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL;
    left_config_.camera_fps = K4A_FRAMES_PER_SECOND_30;
    left_config_.color_format = K4A_IMAGE_FORMAT_COLOR_BGRA32;
    left_config_.depth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED;
    left_config_.color_resolution = K4A_COLOR_RESOLUTION_1080P;
    left_config_.wired_sync_mode = K4A_WIRED_SYNC_MODE_SUBORDINATE;
    left_config_.synchronized_images_only = true;

    right_config_ = K4A_DEVICE_CONFIG_INIT_DISABLE_ALL;
    right_config_.camera_fps = K4A_FRAMES_PER_SECOND_30;
    right_config_.color_format = K4A_IMAGE_FORMAT_COLOR_BGRA32;
    right_config_.depth_mode = K4A_DEPTH_MODE_NFOV_UNBINNED;
    right_config_.color_resolution = K4A_COLOR_RESOLUTION_1080P;
    right_config_.wired_sync_mode = K4A_WIRED_SYNC_MODE_MASTER;
    right_config_.synchronized_images_only = true;
Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
288 questions
{count} votes

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,666 Reputation points Microsoft Employee
    2021-02-23T12:04:14.283+00:00

    @yh c you will need to Calibrate the devices as a synchronized set

    "
    There are multiple options for cross-calibrating devices. Microsoft provides the GitHub green screen code sample, which uses the OpenCV method. The Readme file for this code sample provides more details and instructions for calibrating the devices.

    For more information about calibration, see Use Azure Kinect calibration functions.
    "