Azure-Kinect-Sensor-SDK icon indicating copy to clipboard operation
Azure-Kinect-Sensor-SDK copied to clipboard

Use Calibration function without opening the Device

Open ridasaleem0 opened this issue 4 years ago • 9 comments

Hi, I was wondering if we can use use calibration function without opening the device in case we don't have access to the hardware. Can we probably hard-code the serial number and hardware specifications along with other parameters which the Device instance usually get to initiate a device?

Basically I want to use transform = k4a.Transformation(calibration) without opening the device. Is there a possibility?

ridasaleem0 avatar Nov 03 '21 08:11 ridasaleem0

@UnaNancyOwen @qm13

ridasaleem0 avatar Nov 03 '21 08:11 ridasaleem0

I assume this is in reference to handling images in recordings. The recording includes the calibration of the Azure Kinect DK that was used for the recording. You can use k4a_playback_get_calibration() to get the calibration from the recording.

qm13 avatar Nov 04 '21 18:11 qm13

@qm13 Not really related to playback, I am segregating a pipeline and I need to use the Transform function on incoming frames from the client end to the server-side, I suppose we cannot use Transform function() without opening the device? If there is a way, please suggest it. Basically using transform function on color and depth frames without access to the camera.

ridasaleem0 avatar Nov 05 '21 09:11 ridasaleem0

@qm13 any leads?

ridasaleem0 avatar Nov 08 '21 07:11 ridasaleem0

@UnaNancyOwen If someone could help, I can't find anything on the web regarding it.

ridasaleem0 avatar Nov 16 '21 08:11 ridasaleem0

I have never used it, so I don't know the details. You may be able to use these APIs for your purpose. These APIs can be used to store and reload the calibration information.

There is little information on web about what you want to do, so you need to implement them by oneself. I don't know that if there is any API that can help you or if you need to implement conversion table. That's all the advice I can give you. I hope it will go well.

UnaNancyOwen avatar Nov 17 '21 01:11 UnaNancyOwen

@UnaNancyOwen Thank you for your response. However what exactly do you mean by conversion table?

ridasaleem0 avatar Nov 30 '21 08:11 ridasaleem0

It mean is the information of the corresponding color pixels and depth pixels. however, I don't know about that whether is it possible to implement that, and how to implement that.

UnaNancyOwen avatar Nov 30 '21 09:11 UnaNancyOwen

The C++ wrapper interface for read/write

adahbingee avatar Jun 28 '22 03:06 adahbingee