Views
No views yet
| Metric | Value |
|---|---|
| Architecture | YOLO26n-Pose |
| Task | pose |
| Classes | 1 (thai-id-card) |
| Keypoints | 4 (TL, TR, BR, BL corners) |
| Box mAP50 | 0.993 |
| Box mAP50-95 | 0.900 |
| Pose mAP50 | 0.993 |
| Pose mAP50-95 | 0.991 |
| Parameters | ~2.4M |
| GFLOPs | 5.4 (fused) |
| Input | 640x640 |
| Training | Roboflow Card Detector v4 (303 images, 243 train / 60 val) |
| Experiment | EXP-001 |
1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4model_path = hf_hub_download("chayuto/thai-id-ocr-yolo26n-card-corner-detector", "best.pt")
5model = YOLO(model_path)
6results = model("path/to/image.jpg")Input: [1, 3, 640, 640]
→ YOLO26n backbone + neck
→ 1-class bbox head (card boundary)
→ 4-keypoint pose head (TL, TR, BR, BL corners)
Output: [1, 300, 14] (NMS-free, top-300 detections)
→ [x1, y1, x2, y2, conf, class, kp1_x, kp1_y, kp2_x, kp2_y, kp3_x, kp3_y, kp4_x, kp4_y]Camera Frame (640x640)
→ YOLO26n-Pose Finder (this model)
→ Card boundary + 4 corner keypoints
→ Perspective correction via corners
→ Zone extraction using fixed card layout (ISO 7810 ID-1)
→ 3 Reader Experts (Numeric, English, Thai)
→ Validator (CID Mod11 checksum, date logic)1from ultralytics import YOLO
2model = YOLO("best.pt")
3model.export(format="tflite", int8=True, nms=False, imgsz=640)| File | Description |
|---|---|
best.pt | Ultralytics YOLO26n-pose weights (~5.6 MB) |
config.json | Architecture params, training metadata, metrics |