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

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

Open
sreshu opened this issue Dec 9, 2020 · 3 comments
Open

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

sreshu opened this issue Dec 9, 2020 · 3 comments

Comments

@sreshu
Copy link

sreshu commented Dec 9, 2020

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
Copy link

Same error here. Any solution?

@mhkoosheshi
Copy link

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

@card12
Copy link

card12 commented Mar 4, 2024

@mhkoosheshi Can you tell me about your solution?

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

3 participants