## ANPR-Parking
**Personal Project**
### Overview
Designed and deployed an AI-powered ANPR (Automatic Number Plate Recognition) solution for securing and automating vehicle access to residential properties.
The system detects vehicles, recognizes license plates from different formats (Algeria, France and UK), and automatically makes access decisions based on configurable business rules such as residents, blacklisted vehicles and temporary visitors.
### Key Features
* Automatic vehicle detection
* License plate detection and recognition
* Support for Algerian, French and UK plates
* Automatic access authorization / rejection
* Resident and visitor management
* Blacklist management
* Temporary visitor access
* Complete access logging
* Event screenshots and license plate crops
* Real-time monitoring dashboard
* Telegram alerts
* Barrier control integration
### AI Video Processing Pipeline
The core video pipeline combines multiple Computer Vision components:
**Camera / Video Stream → YOLO → ByteTrack → License Plate Detection → CRNN OCR → Validation → Business Rules → Access Decision**
The system uses tracking to maintain vehicle identities across frames and combines OCR results with validation and fallback mechanisms to improve recognition reliability.
### Technology Stack
* Python
* YOLO
* ByteTrack
* CRNN
* OpenCV
* OCR
* FastAPI
* Streamlit
* PostgreSQL
* ONNX
* Docker
### System Architecture
The solution was designed as a modular and robust video-processing system, separating:
* Video acquisition
* Object detection
* Object tracking
* License plate recognition
* OCR processing
* Business rules
* Event management
* Access control
* Monitoring and notifications
This architecture allows the system to be extended to additional cameras and other AI-based video analytics use cases.
### Value Delivered
The solution aims to reduce manual intervention, improve access traceability, and provide a smoother user experience through automated decisions, real-time monitoring and immediate notifications.
All access events can be recorded with timestamps, recognized plate numbers, images and license plate crops for later verification and auditing.