orbbec / OrbbecSDK-K4A-Wrapper

This repo is forked from Azure-kinect-Sensor-SDK,contain the K4A wrapper for OrbbecSDK.
https://www.orbbec.com/
MIT License
24 stars 7 forks source link

When the C# program calls the ColorImageTodepthcamera () method for the first time, an error must be reported. #73

Open josmoreno opened 1 month ago

josmoreno commented 1 month ago

When the C# program calls the ColorImageTodepthcamera () method for the first time, an error must be reported.

System.ObjectDisposedException HResult=0x80131622 Message=Cannot access a disposed object. ObjectDisposed_ObjectName_Name Source=Microsoft.Azure.Kinect.Sensor StackTrace: 在 Microsoft.Azure.Kinect.Sensor.Image.Reference() 在 \src\Microsoft.Azure.Kinect.Sensor\Image.cs 中: 第 577 行 在 Microsoft.Azure.Kinect.Sensor.Transformation.ColorImageToDepthCamera(Image depth, Image color, Image transformed) 在 \src\Microsoft.Azure.Kinect.Sensor\Transformation.cs 中: 第 393 行 在 Microsoft.Azure.Kinect.Sensor.Transformation.ColorImageToDepthCamera(Image depth, Image color) 在 \src\Microsoft.Azure.Kinect.Sensor\Transformation.cs 中: 第 328 行 在 Microsoft.Azure.Kinect.Sensor.Transformation.ColorImageToDepthCamera(Capture capture) 在 \src\Microsoft.Azure.Kinect.Sensor\Transformation.cs 中: 第 295 行

zzuliys commented 2 weeks ago

Can you describe the k4a version and firmware version you are using