ENPM673 Spring 2022: Perception for Autonomous Robots Project 1
Submission by - Tanuj Thakkar (117817539, [email protected]) M. Engg Robotics University of Maryland, College Park
Instructions -
-
Following is the directory structure after extracting the zip file -
tanuj_p2 |- Code |- problem_1.py |- problem_2.py |- problem_3.py |- utils.py |- Results |- Report.pdf |- ReadMe.md
-
Run the terminal from the "tanuj_p2/Code" folder
-
To run the code for problem_1: Histogram Equalization, use the following command -
python problem_1.py --Visualize --DataDir: Path to data directory --ResultDir: Path to results directory --AHE: Toggle Adaptive Histogram Equalization --Visualize: Toggle visualization
-
To run the code for problem 1: Adaptive Histogram Equalization, use the following command -
python problem_1.py --Visualize --AHE
-
To run the code for problem 2, use the following command -
python problem_2.py --Visualize --VideoPath: Path to input video --Save: Toggle to save output --SavePath: Path to results folder --Visualize: Toggle visualization
-
To run the code for problem 3, use the following command -
python problem_3.py --Visualize --VideoPath: Path to input video --Save: Toggle to save output --SavePath: Path to results folder --Visualize: Toggle visualization
-
Here are the links to the videos generated for questions 2a and 2b,
1a. Histogram Equalization - https://drive.google.com/drive/folders/1fGqqQomtB9VWh9KOSRSx6lEkmVLo1enS 1b. Adaptive Histogram Equalization - https://drive.google.com/drive/folders/1-RvlqZ7zyyRIWiX3tw12CeG3zawjxrpj 2. Lane Detection - https://drive.google.com/file/d/1l0tcD-ZyBv96EO-qwFRYmlbIY36eMyA9/view 3. Curvature Estimation - https://drive.google.com/file/d/1BQQLsum4ozc2-ML-vrIp23pra-GXthHK/view
Please reach out to me if you face any issues running the code. Tanuj Thakkar - [email protected]