Automated Number Plate Recognition for Parking Systems | By-Pass Project


By-Pass: India First AI powered security system

An intelligent Number Plate Recognition system for effortless and efficient parking management.

Website Front Page

Image1: Website Front Page (1823x904 pixels)

Project Overview

By-Pass is an automated number plate detection system designed for parking facilities in malls, hospitals, and other large venues. The system captures multiple images of vehicles, detects the license plate using OCR, classifies the vehicle type, and sends the details to a server in JSON format. The goal is to automate parking management by tracking vehicle entries and exits in real-time.

Objective

Automate vehicle detection and license plate recognition, sending data (vehicle type, plate number, and timestamps) to a server to improve parking management efficiency.

Tech Stack

  • Programming Language: Python
  • Libraries/Frameworks: OpenCV, Tesseract OCR, TensorFlow, Keras
  • Hardware: Raspberry Pi
  • Data Transmission Protocol: HTTP
  • Server Communication: REST API

Step-by-Step Process

  1. Vehicle Detection & Image Capture: A sensor triggers a Raspberry Pi script to capture 4 images of the vehicle as it enters or exits the parking lot.
  2. Object Detection (YOLO): YOLO detects the vehicle and extracts the license plate from the images.
  3. Optical Character Recognition (OCR): The isolated license plate is processed using OCR to extract the alphanumeric characters (license plate number).
  4. Vehicle Classification: A CNN model classifies the vehicle type (e.g., car, motorbike, truck).
  5. Data Transmission: The vehicle type, license plate number, and timestamps are sent to the server in JSON format using HTTP.
  6. {
                            "event_type": "VEHICLE_ENTRY",
                            "timestamp": "2024-10-19T08:45:00Z",
                            "device_id": "EDGE-12345",
                            "location_id": "PARKING-5678",
                            "vehicle": {
                                "type": "car",
                                "plate_number": "XYZ9876",
                                "make": "Toyota",
                                "model": "Corolla",
                                "color": "White"
                            },
                            "image_url": "https://server.com/images/xyz9876_entry.jpg",
                            "confidence_score": 0.98,
                            "gate_id": "GATE-1",
                            "operator_id": null,
                            "source": "ANPR_CAMERA",
                            "transaction_id": "TXN-202410190845XYZ9876",
                            "status": "PENDING_VERIFICATION"
                        }
                        
  7. Log Entry and Exit: The vehicle entry and exit times are logged for parking management and billing purposes.