-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfc7142
commit 1c270cd
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
The file structure is a as follows: | ||
## The file structure is a as follows: | ||
|
||
sakshi_hw1 | ||
Code -- all .py and .ipynb files | ||
Data -- video files | ||
graphs -- all plotted graphs are saved here | ||
video1 | ||
video2 | ||
|
||
-----Code -- all .py and .ipynb files | ||
-----Data -- video files | ||
-----graphs -- all plotted graphs are saved here | ||
--------video1 | ||
--------video2 | ||
|
||
## Running the code | ||
Change the directory to sakshi_hw1/Code | ||
|
||
Part 1 - Curve fitting | ||
### Part 1 - Curve fitting | ||
Run the CurveFitting.py using the command | ||
python3 CurveFitting.py --BasePath='/home/sakshi/courses/ENPM673/sakshi_hw1/' --VideoFilePath='/home/sakshi/courses/ENPM673/sakshi_hw1/Data/Ball_travel_10fps.mp4' --SaveFolderName='graphs/video1' | ||
The arguments are | ||
1)BasePath - This is the base folder path | ||
2)VideoFilePath - By default, the path is set as BasePath + 'Data/Ball_travel_10fps.mp4' | ||
3)SaveFolderName - the path to folder where all the plots will be saved. The folder must be inside the BasePath | ||
|
||
Part 2 - | ||
python3 Homography.py | ||
### Part 2 - | ||
python3 Homography.py |