truthofmatthew/persian-license-plate-recognition

PLPR utilizes YOLOv5 and custom models for high-accuracy Persian license plate recognition, featuring real-time processing and an intuitive interface in an open-source framework.

What it solves

It reads Iranian license plates from cameras, videos, or photos, checks them against a list of residents, and decides whether a car is allowed to enter.

How it works

Frames pass through a YOLOv5 ONNX plate detector and a character detector, followed by a grammar check and a voting tracker that ensures each car produces a single result. The core engine is available as a Python library, a TypeScript web port, a desktop app, a FastAPI server, and an edge agent.

Who it’s for

Developers and operators looking for a complete, self-hosted system to monitor gates, log vehicle entries, and process Iranian license plates across web, desktop, and edge environments.

Highlights

  • Runs via ONNX Runtime without requiring PyTorch at runtime
  • Deploys across a browser web app, desktop app, API server, and edge agent
  • Includes a tracker that aggregates results across frames so one car results in one log entry
  • Supports offline usage with local browser storage via IndexedDB
  • Provides tools for synthetic plate generation, ONNX export, benchmarking, and quantization

Related

  • Project
  • Project
  • Project
  • Project
  • Project