← Portfolio

COMPUTER VISION / SMALL-OBJECT DETECTION

Small objects.
A closer look.

How much accuracy can a compact aerial detector recover without a larger model? One trained YOLO11n checkpoint, tested at different resolutions and with tiled inference.

Upload an aerial image. Detection runs on your device.

HELD-OUT RESULT1,610 IMAGES

More detail. More small objects.

Small-object AP, IoU 0.50–0.95. +6.44 percentage points at a median T4 latency of 17.12 ms, versus 12.34 ms for Whole 640.

6,471training images
60 epochsYOLO11n · training at 640
548validation images
1,610held-out test-dev images
01 / RESOLUTION

The gain survives
on held-out images.

Resolution was selected on validation, then frozen before test-dev evaluation. These comparisons use the same weights and the same 1,610 test-dev images. Changing inference resolution does not retrain the model.

Whole image 640 → Whole image 1280

Whole 640 · baselineWhole 1280 · candidate

ENGINEERING DECISION

Keep the compact model and increase inference resolution. Overall AP moves from 13.69% to 18.61%; median latency rises from 12.34 to 17.12 ms. That is a measured tradeoff, with no assumed latency budget.

02 / INFERENCE STRATEGY

Did tiling earn
its extra work?

On all 548 validation images, compare whole-image inputs at 640, 960 and 1280 with 640px tiles at 20% overlap. All points below use the full-data checkpoint; these are validation results.

Accuracy against median T4 latency

Zero-based axes. Median batch-one PyTorch latency includes preprocessing, inference, merging and transfer; image-file decoding is excluded. Points are measurements from this run, with no repeat-run uncertainty estimate.

WHAT WE LEARNED

Whole 1280 reaches 21.73% AP at 16.4 ms; tiled 640 reaches 20.47% at 66.1 ms. Tiling has slightly higher small-object average recall: 28.92% versus 28.02%. This tested tile configuration was less efficient; that is not a verdict on every tiling strategy.

03 / CLASS BREAKDOWN

Better overall.
Uneven by class.

All ten class AP values improve at 1280, but a common class can dominate the impression. Inspect the full held-out breakdown on one shared scale.

Per-class AP · 1,610 test-dev images

Whole 640 · baselineWhole 1280 · candidate

AP averages IoU thresholds 0.50–0.95; percentages, zero-based shared axis. Higher resolution helps each class here, while rare and small classes remain difficult. No confidence intervals or repeat-training variation were measured.

04 / ENGINEERING

The work around
the network.

Ultralytics provides YOLO11n and the training engine. This project adds reproducible data handling, controlled inference experiments, scoring, export verification and browser deployment.

  1. 01

    Prepare & audit

    Convert VisDrone annotations, clip boxes, verify images and preserve seeded manifests and hashes. Exact-image overlap checks across splits; related scenes are still possible.

  2. 02

    Train & compare

    Fine-tune COCO-pretrained YOLO11n on 6,471 images, 60 epochs, batch 16, seed 42. Compare resolutions and tiled coordinate mapping with class-aware merging.

  3. 03

    Freeze & evaluate

    Select settings using 548 validation images. Freeze Whole 1280 and confidence 0.30, then evaluate 1,610 test-dev images. AP integration uses confidence 0.001.

  4. 04

    Export & deliver

    Dynamic-shape FP32 ONNX, opset 17. Check ten fixed validation images and three synthetic shapes. Run browser preprocessing, NMS and detections in a dedicated CPU worker.

What the scores mean

Custom COCO-style scoring with a crowd approximation for ignored regions, not official VisDrone challenge scores. NMS IoU 0.7; prediction and evaluator limit 1,000. Small-object bins follow COCO areas in original image coordinates.

What the browser demonstrates

The fine-tuned FP32 model at nominal 1280, with local Canvas preprocessing and ONNX Runtime Web CPU inference. The default confidence is 0.55 for viewing; recorded operating-point results use 0.30. Full test-dev accuracy was measured with PyTorch, not the browser.

Experiment records & export checks ↗

Export checks covered 518 matched detections on ten images, using count/class agreement, box IoU ≥ 0.99 and score difference ≤ 0.001. This sample does not establish full-set browser accuracy.

One training seed; test-dev has now been inspected. No new training or benchmark was performed to build this page.

05 / LIVE DETECTOR

Give it a view
from above.

Upload an aerial or drone JPG/PNG of roads, traffic or parking areas. Your image stays on your device. The first detection loads the model and runtime; CPU inference can take several seconds.

01 / YOUR IMAGE

Start from above.

0.55

Add an aerial image to begin.

YOLO11n / AeroVision v1

10 classes · runs in your browser
Your image stays on your device.

02 / IMAGE EXPLORERAERIAL INPUT

Aerial images go here.

Try a drone view of a road, intersection, or parking lot.
Clear daytime images are a good place to start.

Trained categories: pedestrian, people, bicycle, car, van, truck, tricycle, covered tricycle, bus and motorbike. Browser latency is measured on your device and is separate from the T4 results above.