openMVG / SfM_quality_evaluation

SfM Camera trajectory quality evaluation
81 stars 47 forks source link

Invalid input image sequence;Error: Failed to Load Images!;Cannot initialize the GT dataset. #5

Open lichouchou opened 4 years ago

lichouchou commented 4 years ago

Hello, When i only use "openMVG_main_evalQuality" to get pose error of SFM ,but i get ERROR: " Invalid input image sequence Error: Failed to Load Images! Cannot initialize the GT dataset. " i have tried several times,but error occured still. Could you give me some answer? @rjanvier @pmoulon

pmoulon commented 4 years ago

Can you describe with GT dataset did you try to use? Can you share here the command line you are using?

lichouchou commented 4 years ago

Thanks for your attention.

i use Herz-Jesus-P8

./openMVG_main_evalQuality -i E:\Academic\sfmevaluation\HJ\Herz-Jesus-P8 -c E:\Academic\sfmevaluation\Herz-Jesus-P8\reconstruction\sfm_data.bin -o E:\Academic\sfmevaluation\Herz-Jesus-P8\evaluation

pmoulon commented 4 years ago

You can take a look to the scripting that exists here https://github.com/openMVG/SfM_quality_evaluation As I remember the script is still working.

lichouchou commented 4 years ago

Sorry , i changed the order after understanding the script. but error still occured,and contents also changes. " The provided GT directory does not have any .camera file. Error: Failed to Load Ground Truth! Cannot initialize the GT dataset. " But i have downloaded file of gt_dense_cameras,and it has .camera

03

the command line is : ./openMVG_main_evalQuality -i E:\Academic\sfmevaluation\HJ\Herz-Jesus-P8\ gt_dense_cameras -c E:\Academic\sfmevaluation\test02\outGlobal\sfm_data.bin -o E:\Academic\sfmevaluation\test02\outGlobal\stats

pmoulon commented 4 years ago

Does your image and camera have the same extension (jpg/jpg, or png/png)?

Also I noticed a space before the p8/ and your folder / gt... be sure you have the right path-i E:\Academic\sfmevaluation\HJ\Herz-Jesus-P8\ gt_dense_cameras=> E:\Academic\sfmevaluation\HJ\Herz-Jesus-P8\gt_dense_cameras

lichouchou commented 4 years ago

Thanks a lot. I have solved it. But I have a question, How can I get this results? results

Should I add images one by one?

pmoulon commented 4 years ago

The script generates the value, so you have to keep the values and put them in a plot