YOLO12s aerial vehicle and person detector
Find vehicles and people in images taken from above.
Model weights | Companion project and source code
What does it do?
This is an object detector: a trained program that draws boxes around objects in aerial images.
It is intended for competition-specific TEKNOFEST aerial imagery.
The weights are the information learned during training, saved in yolo12s-aerial-vehicle-person.pt.
Classes
| Class ID | Original stored name | Published English name | Meaning |
|---|---|---|---|
| 0 | Tasit | Person | Person |
| 1 | İnsan | Vehicle | Vehicle |
The original checkpoint stored the two class names in the wrong order; this release corrects the names, with learned weights and class IDs unchanged. This model has no landing-area classes and does not estimate vehicle motion from a single image.
The learned weights and class IDs were preserved.
Quick use
Install Python, then run this command in a terminal:
pip install ultralytics huggingface_hub
Save an aerial image as frame.jpg, or replace that name below with your own image path:
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
path = hf_hub_download(
repo_id="1at33/yolo12s-aerial-vehicle-person",
filename="yolo12s-aerial-vehicle-person.pt",
)
model = YOLO(path)
results = model.predict("frame.jpg", imgsz=640, device="cpu", conf=0.25)
results[0].save(filename="prediction.jpg")
The first download requires internet. prediction.jpg will show the predicted boxes and labels.
CPU inference works without an NVIDIA graphics card. Each result also exposes boxes, class IDs, and confidence scores through results[0].boxes.
Example prediction

Boxes and labels are actual predictions at confidence 0.25, not ground-truth annotations.
Stored training information
The following comes only from the checkpoint metadata in checkpoint_info.json. No new training or labelled validation evaluation was performed to prepare this card.
| Stored field | Value |
|---|---|
Requested epochs (train_args.epochs) | 100 |
| Saved epoch (zero-based; -1 means stripped/unknown) | 48 |
Training image size (imgsz) | 640 |
| Batch size | 8 |
| Checkpoint date | 2026-04-17T12:39:56.757982 |
| Ultralytics version saved in checkpoint | 8.4.38 |
| Embedded architecture | yolov12s.yaml |
Requested epochs are a training setting, not proof that every requested epoch was completed. The JSON preserves the stored hyperparameters and epoch history, with local paths reduced to basenames.
Stored aggregate validation metrics (values copied without rounding):
| Stored metric | Value |
|---|---|
| metrics/precision(B) | 0.87772 |
| metrics/recall(B) | 0.84781 |
| metrics/mAP50(B) | 0.88524 |
| metrics/mAP50-95(B) | 0.50612 |
| val/box_loss | 2.31104 |
| val/cls_loss | 2.80552 |
| val/dfl_loss | 1.02543 |
| fitness | 0.50612 |
These metrics use the project's own validation split. They are not an independent benchmark.
Per-class validation metrics are not stored in this checkpoint.
Precision (P) measures how many detections were correct; recall (R) measures how many labelled objects were found.
mAP summarizes detection quality: mAP50 uses a box-overlap threshold of 0.50; mAP50-95 averages stricter thresholds too.
B means bounding boxes. Loss values measure prediction error within this training setup.
Checkpoint preparation
Optimizer state was removed and personal filesystem paths were sanitized. Date, saved version, metrics and hyperparameters were preserved. The sanitized checkpoint was loaded with Ultralytics and compared with the source on three images (one screenshot and two video frames). Load, prediction-equivalence and full checkpoint-archive privacy checks were also performed. These checks confirm packaging consistency; they do not measure detection accuracy.
Limitations
- Trained on a small private dataset that is not published here. Its size and exact split composition are not established by checkpoint metadata.
- Competition-specific imagery and labels may not generalize to new cameras, altitudes, locations or lighting.
- Small objects, occlusion and unfamiliar scenes may cause missed detections or incorrect labels. Aggregate scores do not establish each class's performance.
- Evaluate on your own labelled images before use. This is not a certified flight-control, emergency-response or landing-safety system.
Related models and project
The companion project provides a browser interface for its main YOLO26s model and additional image-processing rules. These separate checkpoints have their own class layouts; do not assume they are interchangeable with the main demo model.
License and acknowledgements
AGPL-3.0. Derived from Ultralytics. An independent competition/portfolio project by hasbitas, published under 1at33.