charlesCXK / Depth2HHA-python

Use python3 to convert depth image into hha image
MIT License
172 stars 38 forks source link

ValueError: too many values to unpack (expected 2) #11

Open sreshu opened 3 years ago

sreshu commented 3 years ago

File "getHHA.py", line 67, in hha = getHHA(camera_matrix, D, RD) File "getHHA.py", line 26, in getHHA pc, N, yDir, h, pcRot, NRot = processDepthImage(D * 100, missingMask, C); File "/home/reshu/Desktop/Depth2HHA-python/utils/rgbd_util.py", line 18, in processDepthImage X, Y, Z = getPointCloudFromZ(z, C, 1) File "/home/reshu/Desktop/Depth2HHA-python/utils/rgbd_util.py", line 62, in getPointCloudFromZ h, w= Z.shape

ValueError: too many values to unpack (expected 2)

mhkoosheshi commented 1 year ago

Same error here. Any solution?

mhkoosheshi commented 1 year ago

Solved it. It was the source depth image, nothing to do with the code.

card12 commented 6 months ago

@mhkoosheshi Can you tell me about your solution?