Automatic detection and recognition of vehicle number plates using advanced machine learning techniques.
This is a full-stack application for automatic number plate detection and recognition. It leverages YOLOv5 for detecting number plates and PaddleOCR for recognizing characters from detected plates. Built with a Python-based backend and a React frontend for a user-friendly experience.
project-root/
├── backend/
│ ├── model/
│ │ └── best.pt
│ ├── main.py
│ └── requirements.txt
└── frontend/
├── node_modules/
├── src/
│ ├── components/
│ ├── Dashboard.tsx
│ ├── DetectionPanel.tsx
│ ├── HistoryPanel.tsx
│ ├── NotificationsPanel.tsx
│ ├── NumberPlateDetection.tsx
│ └── StatsPanel.tsx
├── styles/
├── App.tsx
├── index.css
├── main.tsx
└── vite-env.d.ts
You can download the pre-trained YOLOv5 model weights from the following link:
Place the downloaded weights (best.pt
) into the backend/model/
directory.
git clone https://github.com/alok-ahirrao/Number-Plate-Detection-System.git
Navigate to the backend directory, install dependencies, and start the server:
cd backend
pip install -r requirements.txt
python main.py
Backend API runs at: http://localhost:8000
Navigate to the frontend directory, install dependencies, and start the development server:
cd frontend
npm install
npm run dev
Frontend app runs at: http://localhost:5173
- FastAPI
- PyTorch
- YOLOv5
- PaddleOCR
- OpenCV
- React
- Vite
Feel free to improve this project by submitting pull requests. Your contributions are welcome!
Copyright © 2025, Alok Ahirrao
Licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. You may use or modify this project for personal or educational purposes only. Commercial usage requires explicit permission.
For inquiries, please contact [email protected].
🌟 Happy Coding! 🌟