Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sakshikakde authored Jan 13, 2022
1 parent 297e48f commit f43111e
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Structure from Motion: Classical Approach
Python solution for [project 3: CMSC733 Computer vision course](https://cmsc733.github.io/2019/proj/p3/).
## Introduction
In this project, we reconstructed a 3D scene and simultaneously obtained the camera poses with respect to the scene,
with a given set of 6 images from a monocular camera and
Expand All @@ -19,21 +20,24 @@ Please refer the [report](https://github.com/sakshikakde/SFM/blob/master/Report-


## How to run the code
1) Change the directory to the folder where Wrapper.py is located. Eg.
`cd /home/sakshi/Documents/Buildings-built-in-minutes-An-SfM-Approach/Code`
- Change the directory to the folder where Wrapper.py is located. Eg.
```
cd ./Code
```

2) Run the .py file using the following command:
`python3 Wrapper.py --DataPath /home/sakshi/courses/CMSC733/Buildings-built-in-minutes-An-SfM-Approach/Data/`
- Run the .py file using the following command:
```
python3 Wrapper.py --DataPath ./Data/
```

## Parameters
1) `--DataPath`: the path where the data is stored
2) `--savepath`: the path to folder where the output will be saved
3) `--BA`: True-If we want to use bundle adjustment
- `--DataPath`: the path where the data is stored
- `--savepath`: the path to folder where the output will be saved
- `--BA`: True-If we want to use bundle adjustment

## Result

![Result image](https://github.com/sakshikakde/SFM/blob/master/images/result.png)


## Assignment link
https://cmsc733.github.io/2019/proj/p3/

0 comments on commit f43111e

Please sign in to comment.