βš”οΈ Clash of Clans Area Detection (Town Hall 11 and Below)

This repository hosts a custom YOLOv8 object detection model trained to detect troop deployment boundaries in the game Clash of Clans. Specifically, it is trained to identify the valid deployable areas and boundary outlines for enemy bases that are Town Hall 11 and below.

βš™οΈ Training Information

The model was built using the Ultralytics YOLOv8 framework with the following configurations:

  • Base Model: YOLOv8n (Nano architecture for fast inference)
  • Epochs Trained: 300
  • Image Size: 640x640

πŸ“‰ Training Results & Loss Curves

Below are the core indicators of how the model performed during the 300 epochs training! You can observe how the precision and recall stabilized as the dataset was digested.

Metrics Curve

Results Curve

Confusion Matrix

Confusion Matrix

Sample Output Predictions (Validation)

Validation Predictions

πŸ’» Usage

To test and run this model locally using Python and the Ultralytics library, simply load the weights:

from ultralytics import YOLO

# Load the trained model
model = YOLO('best.pt')

# Perform predictions on a Clash of Clans screenshot
results = model('path/to/your/screenshot.jpg')

# Show and save results
results[0].show()
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support