Giter Site home page Giter Site logo

Comments (4)

paulinus avatar paulinus commented on May 21, 2024

The functionality is there already. It works with no changes as long as the images contain gpano information.
Things you may want to change to improve the results:

  • Make sure images are detected as equirectangular. Look at the generated file camera_models.json and see if projection_type is equirectangular. If it is not, rename that file to camera_models_overrides.json and edit the projection type.
  • Increase the image resolution and number of features to extract. For example set
feature_min_frames: 16000
feature_process_size: 4000

in config.yaml

from opensfm.

 avatar commented on May 21, 2024

Thank you for your quick reply.
It was thanks to your advice that I can perform sfm for equirectangular images.
(It is necessary for me to edit the projection type.)

I like this the best in many sfm libraries.
I hope further development of this project!

from opensfm.

salus-sage avatar salus-sage commented on May 21, 2024

Hi,
I tried building using a equirectangular image, which breaks, below is the full log. After i tried yoour suggestion to rename camera_model.json to camera_models_overrides.json and run bin/run_all another camera_models.json is created with projection type "perspective"

libdc1394 error: Failed to initialize libdc1394 2016-12-28 15:02:13,127 Extracting focal lengths for image panorama.jpg libdc1394 error: Failed to initialize libdc1394 2016-12-28 15:02:13,490 Extracting ROOT_HAHOG features for image panorama.jpg 2016-12-28 15:02:22,575 Found 18584 points in 8.88563394547s libdc1394 error: Failed to initialize libdc1394 2016-12-28 15:02:24,703 Matching 0 image pairs 2016-12-28 15:02:24,737 Matching panorama.jpg - 1 / 1 libdc1394 error: Failed to initialize libdc1394 2016-12-28 15:02:25,198 reading features 2016-12-28 15:02:25,225 Merging features onto tracks 2016-12-28 15:02:25,225 Good tracks: 0 libdc1394 error: Failed to initialize libdc1394 2016-12-28 15:02:25,542 0 partial reconstructions in total. libdc1394 error: Failed to initialize libdc1394 Traceback (most recent call last): File "/source/OpenSfM/bin/opensfm", line 34, in <module> command.run(args) File "/source/OpenSfM/opensfm/commands/mesh.py", line 22, in run reconstructions = data.load_reconstruction() File "/source/OpenSfM/opensfm/dataset.py", line 305, in load_reconstruction with open(self.__reconstruction_file(filename)) as fin: IOError: [Errno 2] No such file or directory: 'data/esg2/reconstruction.json'

from opensfm.

paulinus avatar paulinus commented on May 21, 2024

@salus-sage You need to use more than 1 image to run OpenSfM

closing the issue since the original problem is solved

from opensfm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.