Skip to content

Error when calling openMVG_main_evalQuality: "The input SfM_Data file "/path/to/sfm_data.json" cannot be read." #1

@biesseck

Description

@biesseck

I got the following error message when running EvaluationLauncher.py: "The input SfM_Data file "/path/to/sfm_data.json" cannot be read.".

In line 98 of this python script "outGlobal_dir" is passed as argument to openMVG_main_evalQuality program, but "matches_dir" should be used because "sfm_data.json" file is stored in "/path/to/SfM_quality_evaluation/Benchmarking_Camera_Calibration_2008_out/evaluation_output/fountain-P11/matching" directory. For my understanding the line 98 should be written as

command = command + " -c " + matches_dir + "/sfm_data.json"

instead of

command = command + " -c " + outGlobal_dir + "/sfm_data.json"

Hope this helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions