Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output from openMVG_main_SfMInit_ImageListing is indicating that no usable files were listed in sfm_data.json #2269

Open
Tomxx7 opened this issue Nov 30, 2023 · 2 comments

Comments

@Tomxx7
Copy link

Tomxx7 commented Nov 30, 2023

All data are in png format. Yet, I am getting the following message:

INFO: [main_SfMInit_ImageListing.cpp:197] You called : openMVG_main_SfMInit_ImageListing
--imageDirectory /home/shoikot/Downloads/Dance1/data/originals
--sensorWidthDatabase /home/shoikot/openMVG/src/openMVG/exif/sensor_width_database/sensor_width_camera_database.txt
--outputDirectory matches
--focal -1
--intrinsics
--camera_model 3
--group_camera_model 1
--use_pose_prior 0
--prior_weights 1.0;1.0;1.0
--gps_to_xyz_method 0
INFO: [main_SfMInit_ImageListing.cpp:478] SfMInit_ImageListing report:
listed #File(s): 0
usable #File(s) listed in sfm_data: 0
usable #Intrinsic(s) listed in sfm_data: 0

can anybody help me with this?

@pmoulon
Copy link
Member

pmoulon commented Dec 1, 2023

It is because your camera is not in the database. Consider either adding your camera model to it or else use the -f option to specify manually a focal prior. The focal prior can be set to 1.2 * max(width, height)... I mean the value of this expression.

@pmoulon
Copy link
Member

pmoulon commented Dec 1, 2023

Sorry read to fast. We don't have metadata read for one (exif). That's why...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants