Skip to content

Matching fails if at least one image has no GPS data #198

@jleistner

Description

@jleistner

I've installed the latest version of OpenSfM today and now all my data sets don't work anymore. From the console output below you can see that the matching fails but I can't figure out why.
townhall.zip

bin/opensfm_run_all data/townhall
2017-07-09 14:36:09,696 Extracting focal lengths for image IMGP3419.jpg
2017-07-09 14:36:09,700 Extracting focal lengths for image IMGP3428.jpg
2017-07-09 14:36:09,702 Extracting focal lengths for image IMGP3420.jpg
2017-07-09 14:36:09,704 Extracting focal lengths for image IMGP3417.jpg
2017-07-09 14:36:09,706 Extracting focal lengths for image IMGP3425.jpg
2017-07-09 14:36:10,079 Extracting ROOT_HAHOG features for image IMGP3419.jpg
2017-07-09 14:36:10,079 Extracting ROOT_HAHOG features for image IMGP3428.jpg
2017-07-09 14:36:10,079 Extracting ROOT_HAHOG features for image IMGP3420.jpg
2017-07-09 14:36:10,080 Extracting ROOT_HAHOG features for image IMGP3417.jpg
2017-07-09 14:36:10,080 Extracting ROOT_HAHOG features for image IMGP3425.jpg
2017-07-09 14:36:11,178 Found 4827 points in 0.954954862595s
2017-07-09 14:36:11,183 Found 4889 points in 1.01493597031s
2017-07-09 14:36:11,407 Found 4888 points in 1.18394899368s
2017-07-09 14:36:11,476 Found 4885 points in 1.27148008347s
2017-07-09 14:36:11,774 Found 4809 points in 1.55314683914s
2017-07-09 14:36:12,325 Matching 0 image pairs
2017-07-09 14:36:12,350 Matching IMGP3428.jpg  -  1 / 5
2017-07-09 14:36:12,350 Matching IMGP3425.jpg  -  2 / 5
2017-07-09 14:36:12,351 Matching IMGP3419.jpg  -  3 / 5
2017-07-09 14:36:12,351 Matching IMGP3417.jpg  -  4 / 5
2017-07-09 14:36:12,351 Matching IMGP3420.jpg  -  5 / 5
2017-07-09 14:36:12,794 reading features
2017-07-09 14:36:12,881 Merging features onto tracks
2017-07-09 14:36:12,881 Good tracks: 0
2017-07-09 14:36:13,212 Starting incremental reconstruction
2017-07-09 14:36:13,238 0 partial reconstructions in total.
Traceback (most recent call last):
  File "OpenSfM-master/bin/opensfm", line 34, in <module>
    command.run(args)
  File "OpenSfM-master/opensfm/commands/mesh.py", line 22, in run
    reconstructions = data.load_reconstruction()
  File "OpenSfM-master/opensfm/dataset.py", line 355, in load_reconstruction
    with open(self.__reconstruction_file(filename)) as fin:
IOError: [Errno 2] No such file or directory: 'data/townhall/reconstruction.json'

Both example data sets work fine. An older version of OpenSfM on a different machine does work fine as well. I've already tried the following:

  • reinstall OpenSfM (multiple times)
  • use the default config
  • use SIFT instead of HAHOG
  • use a different data set (multiple)

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions