Skip to page content
SAVRN
Search Plan a project

Open-weight model · Object detection

DEIMv2_nano_license_plate

by Nguyen Trung Kien KienNguyen2k1/DEIMv2_nano_license_plate

DEIMv2_nano_license_plate is an open-weight model for object detection from Nguyen Trung Kien, released under MIT License. Its published files total 5.7 KB.

Mô hình phát hiện biển số xe thời gian thực, fine-tune từ DEIMv2 Nano (backbone HGNetv2-B0, pretrained COCO) trên bộ dữ liệu License Plate Recognition của Roboflow Universe.

Parameters—
Context—
Weights5.7 KB
Licensemit
AccessOpen weights
Monthly Downloads—

Model Card

By Nguyen Trung Kien, published under mit, revision db39b0cf3c43.

Mô hình phát hiện biển số xe thời gian thực, fine-tune từ DEIMv2 Nano (backbone HGNetv2-B0, pretrained COCO) trên bộ dữ liệu License Plate Recognition của Roboflow Universe. - Kiến trúc: DETR thời gian thực, không cần NMS khi suy luận - Mã nguồn train, inference, export: kienkk-0808/DEIMv2-nano-custom Chỉ số được tính bằng COCO mAP qua lệnh --test-only (xem mục Evaluation). 2. Inference 3. Export ONNX Dữ liệu. Tải dataset từ Roboflow Universe ở định dạng YOLO và sắp xếp: Đặt numclasses trong configs/dataset/customdetection.yml khớp với data.yaml. Huấn luyện. Kết quả lưu tại --output-dir: beststg1.pth, last.pth, log.txt, summary/ (TensorBoard). Tiếp tục train với -r last.pth. Cần truyền lại…

Read Nguyen Trung Kien's full model card

DEIMv2 Nano — License Plate Detection

Overview

Mô hình phát hiện biển số xe thời gian thực, fine-tune từ DEIMv2 Nano (backbone HGNetv2-B0, pretrained COCO) trên bộ dữ liệu License Plate Recognition của Roboflow Universe.

  • Kiến trúc: DETR thời gian thực, không cần NMS khi suy luận
  • Kích thước ảnh đầu vào: 640 × 640
  • Hỗ trợ export ONNX / TensorRT
  • Mã nguồn train, inference, export: kienkk-0808/DEIMv2-nano-custom

Model Details

Kiến trúc DEIMv2 Nano (HGNetv2-B0)
Tác vụ Object detection (bounding box)
Khởi tạo Checkpoint COCO pretrained
Dataset Roboflow Universe — license-plate-recognition-rxg4e
Định dạng nhãn YOLO (class_id cx cy w h, chuẩn hóa 0–1)
Framework PyTorch 2.x
Giấy phép MIT (mã nguồn gốc: Apache-2.0)

Performance

Split Precision Recall mAP@50 mAP@50:95
Validation đang cập nhật đang cập nhật đang cập nhật đang cập nhật

Chỉ số được tính bằng COCO mAP qua lệnh --test-only (xem mục Evaluation).

How to use

1. Cài đặt

git clone https://github.com/kienkk-0808/DEIMv2-nano-custom.git
cd DEIMv2-nano-custom
pip install -r requirements.txt

2. Inference

python tools/inference/torch_inf.py \
  -c configs/deimv2_nano_custom.yml \
  -r best_stg1.pth \
  -i path/to/image.jpg

3. Export ONNX

python tools/deployment/export_onnx.py \
  -c configs/deimv2_nano_custom.yml \
  -r best_stg1.pth \
  --check --simplify

Tham số chính xác của từng script: chạy với --help.

Training

Dữ liệu. Tải dataset từ Roboflow Universe ở định dạng YOLO và sắp xếp:

mydata/
├── data.yaml
├── images/{train,val}
└── labels/{train,val}

Đặt num_classes trong configs/dataset/custom_detection.yml khớp với data.yaml.

Huấn luyện.

python train.py --data mydata/data.yaml
Siêu tham số Mặc định
Epochs 100
Batch size 32
Learning rate 2e-4
Mixed precision (AMP) Bật
Khởi tạo COCO pretrained (head không khớp số lớp được bỏ qua)

Kết quả lưu tại --output-dir: best_stg1.pth, last.pth, log.txt, summary/ (TensorBoard). Tiếp tục train với -r last.pth.

Evaluation

python train.py --data mydata/data.yaml --epochs 100 -r best_stg1.pth --test-only

Cần truyền lại --data và --epochs giống lúc train.

Applications

  • Bãi đỗ xe thông minh: phát hiện biển số tại làn vào/ra
  • Giám sát giao thông: trích xuất vùng biển số từ camera
  • Tiền xử lý cho OCR: cắt vùng biển số để đọc ký tự ở bước sau

Limitations

  • Biển số nhỏ hoặc ở xa: tăng eval_spatial_size và Resize trong config.
  • Chất lượng phụ thuộc vào dataset; điều kiện ánh sáng, góc chụp và kiểu biển số ngoài phân phối dữ liệu huấn luyện có thể giảm độ chính xác.
  • Mô hình chỉ phát hiện vị trí biển số, không đọc ký tự.
  • Dataset nhỏ (dưới vài trăm ảnh): giảm lr và/hoặc số epoch để tránh overfit.

Acknowledgements

  • DEIMv2, DEIM, RT-DETR (Apache-2.0)
  • Dataset: Roboflow Universe — tuân thủ giấy phép của tác giả dataset.

Identity and Version

Repository
KienNguyen2k1/DEIMv2_nano_license_plate
Publisher
Nguyen Trung Kien
Task
Object detection
Modality
Image
Library
pytorch
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
db39b0cf3c433637d3fad66f2106c976ddc40ea8
First published
2026-10-12
Last updated
2026-10-12

Files and Weights

2 files, 5.7 KB in total.

Documentation1 file · 4.2 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
README.mdDocumentation4.2 KB —
.gitattributesRepository1.5 KB —

License and Download

License
mit
Access
Open weights, no gate
Download from Nguyen Trung Kien

Released by Nguyen Trung Kien through its official repository on Hugging Face. Read the license.

Built From

  • Trained on (disclosed) roboflow-universe-projects/license-plate-recognition-rxg4e

Questions About DEIMv2_nano_license_plate

Can I use DEIMv2_nano_license_plate commercially?

Yes. DEIMv2_nano_license_plate is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Object detection

locate-anything.cpp-gguf

Mudler

GGUF builds of nvidia/LocateAnything-3B for locate-anything.cpp - a C++/ggml inference engine for open-vocabulary detection / visual grounding, no Python at inference time. Brought to you by the LocalAI team. The detections are the same as the official PyTorch implementation (the engine is parity-gated against it), and it runs faster - on CPU and GPU. The full-precision f32 GGUF (~15 GB) is reproducible from the HF weights with scripts/convertlocateanythingtogguf.py in the repo. Same detections as the official model, faster. Full methodology, the warm/median setup, parity checks, and more images are in the repo's Slow-mode inference on the 448 fixture; vs official divides the official…

Open weights other gguf

Model · Object detection

Anzhcs_YOLOs

Anzhc

YOLOs in this repo are trained with datasets that i have annotated myself, or with the help of my friends(They will be appropriately mentioned in those cases). YOLOs on open datasets will have their own pages. Ultralytics 8.3.217 updates mask handling, which breaks function in main Adetailer repo. Install Ultralytics==8.3.216 or lower. Alternatively - use forks that fix this. - Fixed in main repo. I've added some features to make Adetailer more usable and less manual - https://github.com/Anzhc/aadetailer-reforge Im open to commissions, hit me up in Discord - anzhc P.S. All model names in tables have download links attached:3 Series of models aiming at detecting and segmenting face…

Open weights agpl-3.0 ultralytics

This is a fine-tuned version of YOLOv11 (n, s, m, l, x) specialized for License Plate Detection, using a public dataset from Roboflow Universe: The upstream Roboflow dataset (license-plate-recognition-rxg4e) contains train/test contamination — the same source images appear in both the training and test splits with only minor manual augmentation applied (see Discussion #2 for concrete examples). As a result: - The reported metrics below are likely overestimated, because the test set is not a true held-out evaluation. - Real-world generalization performance is expected to be lower than the numbers in the table. - Treat all evaluation figures with caution and validate the model on your own…

Open weights agpl-3.0 ultralytics

Model · Object detection

surya_layout2

Datalab

A lightweight document layout detection model used by Surya. It detects layout regions (text, tables, figures, headers, captions, equations, etc.) on a page image and runs on CPU or GPU. This is the "fast" layout detector — a compact object detector that serves as a drop-in alternative to Surya's VLM-based layout model. Documentation, installation, and everything else lives in the Point the fast layout predictor at this checkpoint: Or make it the default so the CLI and library use it without an explicit path: Released under the AI Pubs OpenRAIL-M license (see LICENSE) — the same license as the surya-ocr-2 model weights.

Open weights openrail surya

Model · Object detection

detr-resnet-50

Joshua

https://huggingface.co/facebook/detr-resnet-50 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Test it out here, or create your own object-detection demo with 1 click! Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 1,024 tokens transformers.js