lgrzybowski/seraphim-drone-detection-dataset
Updated โข 2.25k โข 12
How to use TomSmail/drone-yolo-v1 with ultralytics:
from ultralytics import YOLOvv8
model = YOLOvv8.from_pretrained("TomSmail/drone-yolo-v1")
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)Multi-class drone detection model trained on quadcopter and military fixed-wing drones.
quadcopter (class 0) โ Multirotor drones (DJI Mavic, Mini, etc.)fixed-wing (class 1) โ Military fixed-wing drones (Shahed-131/136, Lancet, Orlan-10)| Metric | Value |
|---|---|
| mAP50 | 91.3% |
| mAP50-95 | 62.1% |
| Precision | 94.6% |
| Recall | 85.9% |
Model integrates with monocular distance estimation using known object sizes:
Formula: distance = (real_wingspan * focal_length) / bbox_width_px
from ultralytics import YOLO
# Load model
model = YOLO('TomSmail/drone-yolo-v1')
# Run inference
results = model.predict('image.jpg', conf=0.3)
# Get detections
for result in results:
for box in result.boxes:
class_name = result.names[int(box.cls[0])]
confidence = float(box.conf[0])
x1, y1, x2, y2 = box.xyxy[0].tolist()
print(f"{class_name}: {confidence:.2%}")
from drone_cv import Detector
detector = Detector(config_path="configs/")
result = detector.predict(frame)
for detection in result.detections:
print(f"{detection.class_name}: {detection.distance_m:.1f}m")
@misc{drone-yolo-v1,
author = {FRAID Labs},
title = {Drone Detection & Distance Estimation Model},
year = {2026},
publisher = {HuggingFace},
url = {https://huggingface.co/TomSmail/drone-yolo-v1}
}
CC-BY-4.0
Training datasets used: