Open3D
Open3D copied to clipboard
When I run azure_kinect_mkv_reader.py to get the depth map in mkv, the error Invalid k4a_capture_t appears
This is the error when I run the code. MKV reader initialized. Press [SPACE] to pause/start, [ESC] to exit. [2021-02-04 12:11:29.096] [error] [t=9420] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (118): k4a_capture_t_get_context(). Invalid k4a_capture_t 0000016503094650 [2021-02-04 12:11:29.096] [error] [t=9420] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (344): Invalid argument to capture_get_color_image(). capture_handle (0000016503094650) is not a valid handle of type k4a_capture_t
I hope to get help, thank you very much
Hi @DreamOneYou can you provide more information about your Open3D install, system and environment, following the bug report template?
Hi @ssheorey Thank you for your reply。 I installed open3d using the pip install open3d command. My system is Windows 10 Home Edition.
I also have this issue. The issue appears whenever the azure kinect is called to capture, or to read captured files, so it fails on the MKV reader example but it also fails on the Kinect viewer example. It appears in both cases that the is something wrong in the source code with how the k4a capture command is being requested. From the below I can see "k4a_capture_t_get_context()." but when i look at the kinect sdk list of commands this doesn't seem to be one of them?
- Running Windows 10 Pro
- OS Build 19041.804
- python 3.9.7
- azure Sdk 1.2 and 1.41 both tried - same result
- open3d 0.12, 0.11 and 0.8 all tried - same result (installed by pip)
[Open3D INFO] AzureKinectSensor::Connect [Open3D INFO] sensor_index 0 [Open3D INFO] Serial number: 000155301312 [Open3D INFO] Firmware build: Rel [Open3D INFO] > Color: 1.6.102 [Open3D INFO] > Depth: 1.6.75[6109.7] Sensor initialized. Press [ESC] to exit. [2021-02-17 21:06:59.439] [error] [t=16176] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (118): k4a_capture_t_get_context(). Invalid k4a_capture_t 0000000000000000
[2021-02-17 21:06:59.439] [error] [t=16176] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (344): Invalid argument to capture_get_color_image(). capture_handle (0000000000000000) is not a valid handle of type k4a_capture_t
[2021-02-17 21:06:59.439] [error] [t=16176] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (118): k4a_capture_t_get_context(). Invalid k4a_capture_t 0000000000000000
[2021-02-17 21:06:59.439] [error] [t=16176] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (359): Invalid argument to capture_get_depth_image(). capture_handle (0000000000000000) is not a valid handle of type k4a_capture_t
[2021-02-17 21:06:59.439] [error] [t=16176] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (118): k4a_capture_t_get_context(). Invalid k4a_capture_t 0000000000000000
@RecursiveAV Exact same for me..
@yxlao is this likely to be looked at in the near future? Keen to work with the library but this is in the way. Appreciate it's one of many things to cover!
Also experiencing this. Haven't been able to figure out a work-around, always get those errors.
@yxlao Just checking in on this as there hasn't been any responses to the issues highlighted. I know this is just one of many thing the team have to cover - but it would be good to know if this has been looked at and if there is a solution? Thanks in advance 👍🏻
same issue:
Windows 10 Azure Kinect SDK v1.4.1 with open3d=0.13.0, python=3.7.10
Trying to use this library in Python to read and extract the frames, colour and depth, from the recorded .mkv file.
Any updates on the solution?
same error, is there a solution? Is the team dealing with the problem?
It works for the viewer and recorder, but throws errors when running the mkv_reader. Window 10 Azure Kinect SDK v1.4.1| v1.3.0 open3d=0.13.0 via pip python=3.8
Having this problem with the Python and C++ builds for windows. Keep getting D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\allocator\allocator.c (118): k4a_capture_t_get_context(). Invalid k4a_capture_t
. Can anyone confirm if this works on linux?
This is holding back my ability to evaluate Open3D's usefulness in my current project.
Hi, I would like to work on this Issue. it would be great could you please assign this issue to me
Hi @jhunjhunwala1234 thanks for helping with this - github only allows "assigning" maintainers. But please go ahead and work on this issue. We accept bug fixes from users!