cvg / GeoCalib

GeoCalib: Learning Single-image Calibration with Geometric Optimization (ECCV 2024)
Apache License 2.0
411 stars 17 forks source link

Multiple frame optimization #5

Closed Yasaman-Haghighi closed 1 week ago

Yasaman-Haghighi commented 2 weeks ago

Hello,

Thank you for your great work! Is there a script available for optimizing camera parameters using multiple images captured from the same camera?

Thanks in advance!

sarlinpe commented 2 weeks ago

You can pass a batch of images: model.calibrate(image_batch, shared_intrinsics=True) https://github.com/cvg/GeoCalib/blob/dd26a4e8bde5ac59b7aa4d9f6111fbc0dc484eb0/geocalib/extractor.py#L66-L72 We should indeed document this, sorry that it isn’t right now.

Yasaman-Haghighi commented 2 weeks ago

Thanks a lot for your quick reply!