You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use already known camera parameters(intrinsics+extrinsics) and refine it using HLOC.
Could you please guide how to achieve that using the right APIs?
From the documentation it is clear how to specify already known intrinsic and do the refinement during reconstruction but it is not yet clear if one could also specify the extrinsics for each image or not?
It is also not clear how to specify individual intrinsics with the call to reconstruction.main()
The text was updated successfully, but these errors were encountered:
There is no documentation. Use help(pycolmap) and check examples in the README. Example:
rec=pycolmap.Reconstruction()
camera_id=1# increment for each new cameracam1=pycolmap.Camera(model='PINHOLE', width=w, height=h, params=params, camera_id=camera_id)
rec.add_camera(cam1)
image_id=1# increment for each new imagecam_from_world=pycolmap.Rigid3d(pycolmap.Rotation3d(qvec), tvec)
im1=pycolmap.Image(image_name, [], cam_from_world, camera_id, image_id)
rec.add_image(im1)
rec.write("path/")
I want to use already known camera parameters(intrinsics+extrinsics) and refine it using HLOC.
Could you please guide how to achieve that using the right APIs?
From the documentation it is clear how to specify already known intrinsic and do the refinement during reconstruction but it is not yet clear if one could also specify the extrinsics for each image or not?
It is also not clear how to specify individual intrinsics with the call to
reconstruction.main()
The text was updated successfully, but these errors were encountered: