Downloads · 30 days
40
14% of all-time downloads
BnhHo/yolo26n-video-detecter
yolo26n-video-detecter is a object detection model from BnhHo. Use it when you need objects located in an image. It is set up for ultralytics.
[](https://opensource.org/licenses/MIT) [](1-key-performance-highlights) [](1-key-performance-highlights) [](1-key-performance-highlights)
Downloads · 30 days
40
14% of all-time downloads
All-time downloads
287
Public
Repo size
154 MB
Likes
0
Public
Click a slice to open those files.
.pt10.8 MB · 60%
From the Hugging Face model README
Fine-tuned YOLO detector optimized for high-precision detection and spatial localization of burned-in video captions, dialogue subtitles, corner & floating watermarks, channel logos, and video text overlays.
Evaluated on the independent, strictly non-leaked 464-image validation benchmark (1,217 ground-truth instances):
| Metric | Starting Baseline (best_start.pt) | Production Model (best.pt) | Improvement ($\Delta$) | Technical Assessment |
|---|---|---|---|---|
| Precision | 88.64% | 97.03% | 🟢 +8.39% | Severe reduction in False Positives |
| Recall | 81.66% | 87.05% | 🟢 +5.39% | Fewer missed text instances |
| mAP@50 | 85.41% | 91.92% | 🟢 +6.51% | Substantial overall detection boost |
| mAP@50-95 | 74.33% | 78.15% | 🟢 +3.82% | Tighter, more accurate bounding boxes |
| val/box_loss | 0.581 | 0.435 | 🟢 -25.1% error | Superior box coordinate convergence |
| val/cls_loss | 0.420 | 0.249 | 🟢 -40.7% error | Crisp class discrimination |
| Class ID | Class Label | Baseline mAP@50 | New Model mAP@50 | Improvement ($\Delta$) |
|---|---|---|---|---|
0 | subtitle | 98.34% | 99.10% | +0.76% (Near-perfect detection) |
1 | watermark | 98.08% | 99.05% | +0.97% (Handles floating/moving watermarks) |
2 | logo | 98.03% | 99.26% | +1.23% (High-fidelity brand mark detection) |
3 | other_burn_in_text | 47.17% | 70.28% | 🚀 +23.11% (Major breakthrough on complex overlays) |
| Class ID | Label | Definition & Boundaries |
|---|---|---|
0 | subtitle | Spoken dialogue, narration captions, stacked multilingual subtitles (enclosed in single bounding box per utterance). |
1 | watermark | Creator/account attribution, handles, floating and static watermark tags. |
2 | logo | Channel logos, station badges, graphical platform marks. |
3 | other_burn_in_text | Titles, infographics, financial tables, banners, disclaimers, stickers. |
pip install ultralytics opencv-python
from ultralytics import YOLO
# Load the production checkpoint
model = YOLO('weights/best.pt')
# Run inference on image or video
results = model.predict(
source='input_video.mp4',
imgsz=1024,
conf=0.25,
device=0,
save=True
)
for r in results:
for box in r.boxes:
cls_id = int(box.cls[0])
conf = float(box.conf[0])
coords = box.xyxy[0].tolist()
print(f"Detected {model.names[cls_id]} ({conf:.2f}) at {coords}")
1024 x 1024 (preserves small fonts, diacritics, and semi-transparent watermarks).AdamW (lr0: 1e-4, weight_decay: 0.0005).fliplr=0.0, flipud=0.0, mosaic=0.0, degrees=0.0.@model{yolo26n_video_detecter_2026,
title={YOLO26n Burned-in Video Text Detector},
author={BnhHo and MediaFlow Team},
year={2026},
publisher={Hugging Face},
url={https://huggingface.co/BnhHo/yolo26n-video-detecter}
}