DirectVoxGO icon indicating copy to clipboard operation
DirectVoxGO copied to clipboard

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

Open hitsz-zuoqi opened this issue 2 years ago • 3 comments

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 avatar Sep 28 '22 07:09 hitsz-zuoqi

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

hitsz-zuoqi avatar Sep 28 '22 08:09 hitsz-zuoqi

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 avatar Nov 01 '22 02:11 sunset1995

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

sunset1995 avatar Nov 01 '22 02:11 sunset1995