openMVG / SfM_quality_evaluation

SfM Camera trajectory quality evaluation
80 stars 46 forks source link

Error when running "EvaluationLauncher.py" at "compute camera motion" step #2

Open biesseck opened 7 years ago

biesseck commented 7 years ago

I got the followning error message when running "EvaluationLauncher.py" script, at "compute camera motion" step (performed by openMVG_main_GlobalSfM program):

_local_parameterization.cc:103 Check failed: constantparameters.size() < size Number of parameters held constant should be less than the size of the parameter block. If you wish to hold the entire parameter block constant, then a efficient way is to directly mark it as constant instead of using a LocalParameterization to do so. Aborted (core dumped)

I'm not a SfM specialist and don't really know what causes the error, but it seems some task of this step is not beeing completed and then the next step, "perform quality evaluation" (performed by openMVG_main_evalQuality program), doesn't perfomed as well. At the end of pipeline my folder "/home/bernardo/SfM_quality_evaluation/Benchmarking_Camera_Calibration_2008_out/evaluation_output/fountain-P11/SfM_Global/stats" is empty and the HTML file "ExternalCalib_Report.html" with final results is not being created as the "Readme.txt" file says.

pmoulon commented 7 years ago

I think it's due to the issue on this line https://github.com/openMVG/SfM_quality_evaluation/blob/master/EvaluationLauncher.py#L89 If you are using OpenMVG v1.X you must change the line from command = command + " -f 0" # Do not refine intrinsics to command = command + " -f NONE" # Do not refine intrinsics