OpenSfM is a Structure from Motion library written in Python. The library serves as a processing pipeline for reconstructing camera poses and 3D scenes from multiple images. It consists of basic modules for Structure from Motion (feature detection/matching, minimal solvers) with a focus on building a robust and scalable reconstruction pipeline. It also integrates external sensor (e.g. GPS, accelerometer) measurements for geographical alignment and robustness. A JavaScript viewer is provided to preview the models and debug the pipeline.
Checkout this blog post with more demos
This update relay on the silx python package.
To install it you will need to install pyopencl. Please see the installation guide Here.
In order to test if all the packages were installed correctly. Try to run my test code. Which match two of the images in the Berlin data. The code can be found in the main folder under the name "test_sift_gpu.py".
To run this Code simply write:
cd OpenSfm_sift_gpu
python test_sift_gpu.py
If all the dependencies were installed correctly. To run the opensfm pipeline enter this commands:
cd OpenSfm_sift_gpu
./bin/opensfm_run_all data/berlin_gpu
To check the sfm, enter:
python3 -m http.server
and click on this link to see the reconstruction.
Here you can see the results of the Sift_GPU implementation.
Feature Matching on image (3264x2448) on 1080-TI-GTX took 0.28 sec
Feature Matching took 0.025 sec
For more information, you can contact me via Email