-
Notifications
You must be signed in to change notification settings - Fork 540
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
HLOC camera refinement(poses) of known camera parameters #372
Comments
If you need to specify both intrinsics and extrinsics, then you can follow the following steps:
|
Thanks for your response. Where can I find pycolmap documentation to go through the API calls and method signatures? |
There is no documentation. Use rec = pycolmap.Reconstruction()
camera_id = 1 # increment for each new camera
cam1 = 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 image
cam_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/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: