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

ERROR: the correct camera poses for current points cannot be accessed #38

Open
hitsz-zuoqi opened this issue Sep 28, 2022 · 3 comments
Open

Comments

@hitsz-zuoqi
Copy link

I capture some pictures using my phone, but when i finish the colmap mapper process. it send out this message. I find code related to it.
pts_arr = [] vis_arr = [] for k in pts3d: pts_arr.append(pts3d[k].xyz) cams = [0] * poses.shape[-1] for ind in pts3d[k].image_ids: if len(cams) < ind - 1: print('ERROR: the correct camera poses for current points cannot be accessed') return cams[ind-1] = 1 vis_arr.append(cams)
But i have no idea. Could you help me?

@hitsz-zuoqi
Copy link
Author

I found the number is not equal.
Cameras 5
Images # 6

@sunset1995
Copy link
Owner

It happened when some of the images COLMAP fail to solve the poses. I can modify the code to use the maximum number of available images but recently don't have enough time.

@sunset1995
Copy link
Owner

Wait, it seems that I have implemented it before: b8d2023.
Are you using the newest version?

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