Structure from Motion (SfM)
The README is divided into two parts,
git clone https://github.com/FlagArihant2000/sfm-mvs
cd sfm-mvs
. The directory for the image directory (Line 30), along with the camera parameters (Line 16) can be updated accordingly.python3 sfm.py
.sparse.ply
to analyse the sparse reconstruction using meshlab.The dataset used is a statue of Gustav II Adolf (Link). All the images have been used for obtaining the sparse point cloud.
A sample image:
IMPORTANT: Due to the lack of time, it wasn't possible to extend this project. Maybe in the near future, we would be able to optimize bundle adjustment, increase data association size, and incorporate Multiview Stereo. This is purely a project to learn and understand 3D Reconstruction of large scale data, and implement in an understandable manner, using python. Do NOT use it for research purposes. Use other incremental SfM pipelines like COLMAP.