mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.42k stars 861 forks source link

How to use opensfm extend_reconstruction command? #1063

Open ksskatka opened 3 months ago

ksskatka commented 3 months ago

Hey y'all, I've seen this discussed before but I haven't been able to get an answer for my problem. In the NodeODM container I call

bin/opensfm extend_reconstruction /var/www/data/251ce1df-643a-412f-a4e9-13d2c41f71bd/opensfm --input reconstruction.json --output reconstruction2.json

This does create reconstruction2.json, but this output tells me something is definitely wrong:

2024-08-05 00:23:41,750 DEBUG: Ceres Solver Report: Iterations: 39, Initial cost: 2.042603e+04, Final cost: 1.586630e+04, Termination: CONVERGENCE 2024-08-05 00:23:41,963 INFO: Removed outliers: 1080 2024-08-05 00:23:42,109 INFO: ------------------------------------------------------- 2024-08-05 00:23:42,921 DEBUG: Ceres Solver Report: Iterations: 5, Initial cost: 1.085035e+04, Final cost: 1.077862e+04, Termination: CONVERGENCE 2024-08-05 00:23:43,119 INFO: Removed outliers: 90

My process is as so:

I'm quite sure I am invoking the command incorrectly, so could anybody provide an example or explain what part I'm doing wrong? Thanks!