βοΈ Clash of Clans Troops Detection YOLO11
This repository hosts a custom YOLO11 object detection model trained to detect troops and spells in the game Clash of Clans.
π Dataset Included
The entire dataset used to train this model (images and labels) is included directly in this repository in YOLO format (train/, valid/, test/).
βοΈ Training Information
- Base Model: YOLO11n
- Epochs Trained: 200 (Early stopped at best epoch via patience=30)
- Image Size: 640x640
π Training Results & Loss Curves
Below are the core indicators of how the model performed.
Metrics Curve
Confusion Matrix
Sample Output Predictions (Validation)
π» Usage
from ultralytics import YOLO
model = YOLO('best.pt')
results = model('path/to/your/screenshot.jpg')
results[0].show()


