This is a project I have built for the Pattern Recognition Systems course. The purpose of this project is to detect and recognize traffic signs from images using the OpenCV framework.
In order to run this project you will need the following:
- OpenCV for Visual Studio
- You can also check my website [alexbondor.me] (http://alexbondor.me/thoughts/opencv-in-vs2015) if you want to run it with VS2015
- [German Traffic Signs Dataset] (http://benchmark.ini.rub.de/?section=gtsdb&subsection=dataset) - Training images
- Patience to understand the code if something goes wrong
After you make sure that the code is compiling you will need to have the following project directory tree:
.
├── Images # Images files
│ ├── 0.png # Random images you want to do the detection on
│ ├── 1.png
│ ├── ...
│ ├── Training # Training images downloaded at Requirements step
│ | ├── 00
│ | | ├── 00000.ppm
│ | | ├── 00001.ppm
│ | | └── ...
│ | ├── 01
│ | | ├── 00000.ppm
│ | | ├── 00001.ppm
│ | | └── ...
│ | └── ...
│ └── ...
└── Project # Project files
Set the executable arguments to:
argv[1] = <project_root_folder>/Images/Training
argv[2] = <project_root_folder>/Images/1.png