openMVG / openMVG

open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.
Mozilla Public License 2.0
5.56k stars 1.66k forks source link

The exif data i.e., focal length of an image is missing #2338

Open sanjaysgowda301221 opened 4 days ago

sanjaysgowda301221 commented 4 days ago

The focal length of my image dataset is missing. Can I add the focal length to the image or can I bypass it. FYI I am running it in the linux environment. The error specifically that I got is this!!!!!!!!! First Error 231114_163228436: Focal length is missing. Second Error: ERROR: [sequential_SfM.cpp:110] Unable to choose an initial pair, since there is no defined intrinsic data. INFO: [sequential_SfM.cpp:173] Cannot find a valid initial pair - stop reconstruction.

  1. Colorize Structure ERROR: [main_ComputeSfM_DataColor.cpp:69] The input SfM_Data file "/home/dcil/openMVGOutput/reconstruction_sequential/sfm_data.bin" cannot be read.

(I have checked in openMVGOutput folder the sfm_data.bin file itself is not created. But it is created for the dataset of the images which has focal length)

And also I am using panoramic Road image for GIS application.