Open fsblu opened 2 years ago
Since you are dealing with sequences, you can be more careful with the selection of the image pairs using both:
If the camera parameters (focus and distortion) of the video are constant over the frames, I guess that it could improve the results to use the single camera
mode. By default, reconstruction assumes that all the images can have different camera parameters.
For example, I changed
model = reconstruction.main(sfm_dir, images, sfm_pairs, features, matches, image_list=references)
to
model = reconstruction.main(sfm_dir, images, sfm_pairs, features, matches, image_list=references, camera_mode=pycolmap.CameraMode.SINGLE)
I assumed that the camera were already shared, thanks @soskek for highlighting this. In hloc v1.3, we have a new parameter camera_mode which has the default value AUTO. This mode shares the same camera among images that have identical EXIF tags:
// Note: When using AUTO mode a camera model will be uniquely identified by the // following 5 parameters from EXIF tags: // 1. Camera Make // 2. Camera Model // 3. Focal Length // 4. Image Width // 5. Image Height
In hloc v1.3 the default value of camera_mode should be fine if all images were captured by the same camera on the same date. To be on the safe side you should check this after the reconstruction.
Hello, Thank you for this project. I have a question regarding working with my own dataset for reconstruction. SFM construction steps are quite clear, and seem to work. However, when I use my own data (extracted images of a video taken while going around a block), reconstruction step outputs half of the expected model (maybe only front and sides of the block. Back of the block is not part of the model). Here are my questions:
Thank you!