Chim-SO / pointcloudprocessing

Code examples of point cloud processing in python.
50 stars 15 forks source link

Pointcloud error #1

Open Ronald-Kray opened 2 years ago

Ronald-Kray commented 2 years ago

@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 commented 2 years ago

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?