Depth2HHA-python icon indicating copy to clipboard operation
Depth2HHA-python copied to clipboard

ValueError: too many values to unpack (expected 2)

Open sreshu opened this issue 4 years ago • 3 comments

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)

sreshu avatar Dec 09 '20 12:12 sreshu

Same error here. Any solution?

mhkoosheshi avatar May 21 '23 10:05 mhkoosheshi

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

mhkoosheshi avatar May 21 '23 11:05 mhkoosheshi

@mhkoosheshi Can you tell me about your solution?

card12 avatar Mar 04 '24 04:03 card12