Skip to content

gdutcv-classroom-2024-homework-04-lab03_sfm_ba-homework-04-lab03_sfm_BA created by GitHub Classroom

Notifications You must be signed in to change notification settings

wowowowowoo/homework-04-lab03-sfm-ba-wowowowowoo

 
 

Repository files navigation

CS4277/CS5477: Structure from Motion and Bundle Adjustment

Setting Up

If you are using Anaconda, you can run the following lines to setup:

conda create -n sfm python==3.7.6
conda activate sfm
pip  install -r requirements.txt

Running Scripts

To run the scripts:

python preprocess.py --dataset temple  # performs preprocessing for temple dataset
python preprocess.py --dataset mini-temple  # performs preprocessing for mini-temple dataset
python sfm.py --dataset temple # performs structure from motion without bundle adjustment 
python sfm.py --dataset mini-temple --ba # performs structure from motion with bundle adjustment on mini-temple dataset
python sfm.py --dataset mini-temple # performs structure from motion without bundle adjustment on mini-temple dataset

To visualize, run:

python visualize.py --dataset mini-temple  # visualize 3d point cloud from reconstruction.

About

gdutcv-classroom-2024-homework-04-lab03_sfm_ba-homework-04-lab03_sfm_BA created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.9%
  • Jupyter Notebook 31.1%