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

Pointcloud error #1

Open
Ronald-Kray opened this issue Nov 4, 2022 · 1 comment
Open

Pointcloud error #1

Ronald-Kray opened this issue Nov 4, 2022 · 1 comment

Comments

@Ronald-Kray
Copy link

@Chim-SO
Hi!

could you give me a comment on this error, please?
I reckon this error happened as the input image size is larger than expected.

Traceback (most recent call last):
File "C:\Users\PycharmProjects\pointcloudprocessing_Chim_SO\pointcloudfromdepth\pointcloud_from_depth.py", line 77, in
height, width = depth_image.shape
ValueError: too many values to unpack (expected 2)

@Chim-SO
Copy link
Owner

Chim-SO commented Nov 5, 2022

Hello!
I think your depth image isn't a single channel image.
In my case, here is the depth image description:

Image resolution: (480, 640)
Data type: int32
Min value: 0
Max value: 2980

The depth image is generally a single channel image where each pixel provides its distance from the sensor.
Can you provide me with your depth image or its resolution?

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