Azure-kinect-sensor-sdk: Gain color control value is kept in memory after camera software restart but image shows otherwise

Created on 5 Nov 2019  路  8Comments  路  Source: microsoft/Azure-Kinect-Sensor-SDK

Describe the bug
Gain color control value is saved between two disconnects but the image shows otherwise. Getting a previously set gain value after a software restart or camera restart works fine (tested in k4aviewer and using C sdk). After a software restart, the captured image have a gain of 255. We can see this clearly when exposure is low (where gain variation can easily be seen in a color image).

To Reproduce

  1. Open viewer, start camera stream.
  2. Lower exposure to a value where changing the gain color control parameter can be noticed easily in the image.
  3. Modify the gain. Set it to zero.
  4. Stop camera.
  5. Start camera.
  6. Notice gain value is still zero, yet image shows it is 255.

Expected behavior
After stopping cameras and restarting, gain parameter used to produce images should reflect the values obtained with get_color_control.

Logs

Screenshots

Desktop (please complete the following information):

  1. Tested on Windows 10 (surface device) with SDK version 1.2 and 1.3
  2. Tested on Arch Linux with SDK version 1.2

Additional context

Bug Firmware

Most helpful comment

Gotcha, you will need FW 1.6.107078014 or better. This version will remove the fixed gain that is being applied and allows the gain to be set.

All 8 comments

Firmware team has this issue in their queue.

Is there anyway for me to help with this issue?

Thanks, we have everything we need to fix this. We currently have some higher priority FW fixes in work so this fix will take some time. You should not be blocked though as you can write the value to a know setting before starting the camera.

You should not be blocked though as you can write the value to a know setting before starting the camera.

This does not work.
A gain setting that is set before starting the camera is not used by the camera.

Gotcha, you will need FW 1.6.107078014 or better. This version will remove the fixed gain that is being applied and allows the gain to be set.

Great! Is this firmware available publicly yet? I can't find anywhere AzureKinectDK_Fw_1.6.107078014.bin

Correct that it is not yet released.

Fixed with device software update. Thanks!

Was this page helpful?
0 / 5 - 0 ratings