This project aims to enhance road safety and vehicle identification by developing a radar system that utilizes advanced detection technologies to capture real-time images of vehicle license plates and send them to a central database for processing.
This project consists of two main folders: model
and api
. The model
folder contains a deep learning model created using Python and TensorFlow for license plate detection and recognition. The api
folder contains the main Flask API, which has several APIs. Each API renders an HTML template with an image input and then tries to fetch the license plate value from an Oracle database to send an email to the vehicle owner and the city of the license plate.
├── 📁 model
│ ├── 📝 license-plate-recognition-final.ipynb
│ ├── 📝 model.h5
└── 📁 api
├── 📝 main.py
├── 📁 templates
│ ├── 📝 index.html
│ └── 📝 users.html
└── 📝 script.sh
└── 📁 data
│ ├── 📝 Cars1.PNG
└── 📝 script.sql
The model
folder contains two Jupyter notebooks that were used to create the license plate detection and recognition models. The trained models are also included in the model
folder.
The api
folder contains the main Flask API, which is located in the main.py
file. The templates
folder contains the HTML templates for the web application, and the config.py
file contains the configuration settings for the API.
To get started with this project, you'll need to follow the steps below:
- Clone the repository to your local machine.
- Install the required packages by running
pip install --upgrade --force-reinstall -r requirement.txt
in your terminal. - Start the API by running
python api/main.py
in your terminal. - Access the web application by visiting
http://localhost:5000/
in your browser.
- Python 🐍
- TensorFlow 🧠
- Flask 🌶️
- Oracle 🔮
This project is a great example of how technology can be used to improve road safety and vehicle identification. By developing a radar system that can detect and recognize license plates in real-time, we can create a safer and more secure environment for drivers and pedestrians alike.