Skip to content

Vehicle Entry System - License Plate Detector This is a real-time license plate detection and recognition system built with Python, YOLOv8, OpenCV, and Flask. The application streams video from multiple camera sources, uses a deep learning model to accurately detect license plates in the video feed, and applies optical character recognition (OCR)

License

Notifications You must be signed in to change notification settings

Ashakk69/license-plate-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Vehicle Entry System - License Plate Detector

A real-time license plate detection and recognition system built with Python, YOLOv8, OpenCV, and Flask. This application can stream video from multiple cameras, detect license plates, and log them into a database.

Project Demo GIF ---

✨ Features

  • Multi-Camera Support: Stream from webcams or IP cameras (via RTSP).
  • High-Accuracy Detection: Uses a YOLOv8 model for robust license plate detection.
  • OCR Engine Options: Supports both Tesseract and EasyOCR for character recognition.
  • Universal Plate Filter: A flexible filter to detect various international plate formats.
  • Database Logging: Automatically logs every detected plate with a timestamp.
  • Web Interface: A clean web UI built with Flask and Bootstrap to view live feeds and logs.

🛠️ Tech Stack

Python Flask OpenCV PyTorch Bootstrap


🚀 Getting Started

Prerequisites

  • Python 3.8+
  • Git
  • Tesseract OCR Engine installed on your system

Installation

  1. Clone the repository:

    git clone [https://github.com/Ashakk69/license-plate-detector.git](https://github.com/Ashakk69/license-plate-detector.git)
    cd license-plate-detector
  2. Create and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows, use `.venv\Scripts\activate`
  3. Install the required libraries:

    pip install -r requirements.txt

    (Note: You'll need to create a requirements.txt file by running pip freeze > requirements.txt in your terminal)

Running the Application

  1. The YOLOv8 model will be downloaded automatically on the first run.

  2. Start the Flask server:

    python app.py
  3. Open your web browser and navigate to http://127.0.0.1:5000.


🖼️ Screenshots

Live Feed Detection Logs
![Live Feed Screenshot]
(image
) ![Logs Screenshot]
(image
)

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Vehicle Entry System - License Plate Detector This is a real-time license plate detection and recognition system built with Python, YOLOv8, OpenCV, and Flask. The application streams video from multiple camera sources, uses a deep learning model to accurately detect license plates in the video feed, and applies optical character recognition (OCR)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published