Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyk4a.depth_image_to_point_cloud Fails #13

Open
jbrownkramer opened this issue Nov 1, 2023 · 2 comments
Open

pyk4a.depth_image_to_point_cloud Fails #13

jbrownkramer opened this issue Nov 1, 2023 · 2 comments

Comments

@jbrownkramer
Copy link

Describe the bug
Calling pyk4a.depth_image_to_point_cloud kills the python kernel.

To Reproduce
Run the following code

import os
os.environ["K4A_DLL_DIR"] = r"C:\Users\jbrownkramer\projects\OrbbecSDK-K4A-Wrapper\build\bin"
import pyk4a

config = pyk4a.Config(depth_mode = pyk4a.DepthMode.WFOV_2X2BINNED, camera_fps = pyk4a.FPS.FPS_15)
k4a = pyk4a.PyK4A(config)
k4a.start()

capture = k4a.get_capture()
pyk4a.depth_image_to_point_cloud(capture.depth,k4a.calibration,thread_safe=False)

Expected behavior
I expect it to produce a pointcloud. However, instead it takes down the python kernel.

Screenshots
image

Desktop (please complete the following information):

  • OS with Version: Windows 11
  • SDK Version: ob/1.8.x
@zhonghong322
Copy link

Are you using a self-packaged python SDK or an open source one? You can use the azure kinect python version provided by us.

https://github.com/orbbec/pyKinectAzure

@jbrownkramer
Copy link
Author

jbrownkramer commented Jan 15, 2024

Are you using a self-packaged python SDK or an open source one? You can use the azure kinect python version provided by us.

https://github.com/orbbec/pyKinectAzure

I am using pyk4a, which is open source.

I was not aware of pyKinectAzure, so that's interesting! Looking at the front page, it looks like it was inspired by pyKinectAzure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants