To run the code for problem 1 following packages are needed:
python3, OpenCV, numpy, matplotlib, scipy.spatial.transform, itertools
- Place the files python3 vsingh03_project2_1.py and project2.avi in same folder
- On the terminal change the directory where above two files are placed.
- Run the below command. This will run the code. The results will be displayed on terminal, graphs on separate window.
python3 vsingh03_project2_1.py
To run the code for problem 2 following packages are needed:
python3, numpy, matplotlib, imutils, random
- Place the files python3 vsingh03_project2_2.py, images_1.png, images_2.png, images_3.png and images_4.png files in same folder
- On the terminal change the directory where above files are placed.
- Run the below command. This will run the code. The results will be displayed on terminal and graphs on separate window.
python3 vsingh03_project2_2.py