Drone Object Detection with YOLOv8
This repository contains a fine-tuned YOLOv8 model for detecting drones.
🚀 Quickstart
Install required libraries:
pip install ultralytics huggingface_hub
Run inference in Python:
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
# Download weights from Hugging Face
model_path = hf_hub_download(repo_id="Tuzelkhan/drone-yolov8", filename="best.pt")
# Load model
model = YOLO(model_path)
# Predict on an image
results = model.predict(source="path/to/drone_image.jpg", conf=0.25, save=True)
# Show results
for result in results:
result.show()
📊 Details
- Architecture: YOLOv8
- Task: Object Detection
- Format: PyTorch Checkpoint (
best.pt)