How dangkhoitotheworld/automaticnumberplaterecognitiondemo works
This is a Vietnamese vehicle number-plate recognition demo. Its main workflow accepts images or video, detects plates, tracks plates across frames, reads and combines characters, then annotates and saves results. The README also documents a GUI, three recognition modes, RapidOCR fallback, and notebook-based model fine-tuning. The implementation is a single Python file; unsampled internals are represented only where the README describes their role.
Main entry points: bien_so_yolo.py Character recognition · huan_luyen_yolov8_colab.ipynb Model fine-tuning · plate.pt Plate YOLO weights · char.pt Character YOLO weights
Components 18
Input and interface
- CLI entry point
bien_so_yolo.py - Image/video/webcam GUI
bien_so_yolo.py - Image and video input
bien_so_yolo.py
Plate recognition
- Plate detection
bien_so_yolo.py - Plate crop and warp
bien_so_yolo.py - Character recognition
bien_so_yolo.py - RapidOCR fallback
bien_so_yolo.py - Character assembly
bien_so_yolo.py
Video processing
- SORT tracking
bien_so_yolo.py - Track result voting
bien_so_yolo.py - Result annotation
bien_so_yolo.py
Models and results
- Plate YOLO weights
plate.pt - Character YOLO weights
char.pt - Save output
bien_so_yolo.py - Result artifacts
ket_qua/ket_qua.csv - Model fine-tuning
huan_luyen_yolov8_colab.ipynb
Other components
- User
- Roboflow datasets
Connections 19
- User → CLI entry point: runs
README.md - User → Image/video/webcam GUI: opens
README.md - CLI entry point → Image and video input: selects input
README.md - Image/video/webcam GUI → Image and video input: opens input
README.md - Image and video input → Plate detection: supplies frames
README.md - Plate detection → Plate YOLO weights: uses weights
README.md - Plate detection → SORT tracking: passes detections
README.md - SORT tracking → Plate crop and warp: tracks plates
README.md - Plate crop and warp → Character recognition: supplies crops
README.md - Character recognition → Character YOLO weights: uses weights
README.md - Character recognition → RapidOCR fallback: falls back
README.md - Character recognition → Character assembly: returns characters
README.md - Character assembly → Track result voting: supplies plate text
README.md - Track result voting → Result annotation: provides final text
README.md - Result annotation → Save output: provides annotated media
README.md - Save output → Result artifacts: writes results
README.md - Roboflow datasets → Model fine-tuning: provides data
README.md - Model fine-tuning → Plate YOLO weights: fine-tunes
README.md - Model fine-tuning → Character YOLO weights: fine-tunes
README.md