This is a streamlit app which helps you to classify images of different traffic signs. In total we have 58 classes in the Data Set.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Download and install Python 3.10.0
-
First check python version in terminal, if it's 3.10.0 then go ahead.
python --version
-
Go to folder where you want to clone this repository and use below command to clone this repo to your local machine.
git clone https://github.com/ipiyushvaghela/TrafficSignClassification.git
-
Create virtual Environment
python -m venv venvForTrafficSign --system-site-packages
To Activate our virtual environment we use
venvForTrafficSign/Script/Activate.bat
-
Install packages using requirements.txt
pip install -r requirements.txt
-
Now check if streamlit is installed properly or not.
streamlit version
- Run below command in terminal to run streamlit application.
streamlit run app.py
Now we are all set to go. just upload the image of any given class and it will classify that image and also it gives other 5 possible classes from which image could belong to.
- Folder named
BestPerformingModelscontains download file from which you can download 1 model which has .h5 extension and put that model inBestPerformingModelsand that used inapp.pyfile. - Folder named
ModelBuildingIPYNBscontains IPYNB files in which all the code is present, by using those IPYNBs our model is created, you can customize the code according to your need.
Piyush Vaghela - @ipiyushvaghela - ipiyushvaghela@gmail.com
Project Link - github.com/ipiyushvaghela/TrafficSignClassification
