How musaddiq9945/vehicle-license-plate-detection-and-recognition works
This repository demonstrates vehicle license-plate detection and registration-number recognition. Its user-facing workflow runs YOLO on a camera stream, displays detections, and saves cropped plates; EasyOCR can then read a saved crop. The README also documents a separate training workflow using an annotated Roboflow dataset and a trained model downloaded from Colaboratory. The training notebook is present, but its contents were not sampled, so its internal steps are not shown. The OCR script reads a hard-coded crop path, so the connection from saved crops is documented rather than directly wired in code.
Main entry points: yolo_demo.py YOLO inference · train_yolo11_object_detection_on_custom_dataset.ipynb YOLO training · Registration Number OCR.py EasyOCR reader
Components 9
Model training
- YOLO training
train_yolo11_object_detection_on_custom_dataset.ipynb - Trained model
Plate detection
- YOLO inference
yolo_demo.py - Saved plate crops
yolo_demo.py
Text recognition
- EasyOCR reader
Registration Number OCR.py - Recognized text
Other components
- Operator
- Annotated dataset
- Camera or media
Connections 9
- Operator → YOLO training: trains with
README.md - Annotated dataset → YOLO training: supplies annotations
README.md - YOLO training → Trained model: produces
README.md - Operator → YOLO inference: runs
yolo_demo.py - Camera or media → YOLO inference: provides frames
yolo_demo.py - Trained model → YOLO inference: loads
README.md - YOLO inference → Saved plate crops: saves crops
yolo_demo.py - Saved plate crops → EasyOCR reader: provides image
README.md - EasyOCR reader → Recognized text: returns text
Registration Number OCR.py