YOLOv8 OBB - Khmer & Math Detection
YOLOv8n-obb model for detecting Khmer text and LaTeX math expressions in document images.
Classes
| ID | Name |
|---|---|
| 0 | khmer |
| 1 | expression |
Metrics
- mAP50: 0.995
- mAP50-95: 0.918
Usage
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict("image.jpg", conf=0.3)
for result in results:
if result.obb:
for obb in result.obb:
print(f"Class: {obb.cls}, Conf: {obb.conf:.2f}")