How many pixels does a detector need to find a person from the air?
Seen from a drone, a person can be just a few pixels tall. A bachelor’s thesis at Turku UAS measured how small targets can get before an object detector stops finding it, and which steps between the camera and the detector lose the most.

The bigger the target, the more often the detector finds it. Image: Viktoriia Yemelianova. Data: VisDrone2019-DET (Zhu et al. 2022).
Drones and masts carry cameras that watch large areas, so people and cars far away look tiny in the image. And before the neural network gets the frame, the system has already compressed it, resized it and fitted it to the size the network expects. Any of these steps can wipe out the few pixels a small target has. The commissioning company develops camera-based detection systems. It wanted to know how much each step actually costs, in numbers that can be checked again later.
A tool that measures instead of guessing
A Python tool built for the thesis measures detection performance by target size. It runs YOLOv8n, a small and popular detection network (Jocher et al. 2023), on VisDrone, a public set of drone images where every person and vehicle is marked by hand (Zhu et al. 2022). Then it counts how many of the marked targets the detector finds in each size group. This share is called recall.
One number, D50, sums up the whole curve: it is the height at which the detector finds half of the targets. The lower the D50, the smaller the targets the detector can handle.
Around 19 pixels for a person
The drop is sharp. People under 8 pixels tall were almost never found. At 8–12 pixels the detector found 8 % of them, and above 48 pixels more than 90 %. The halfway point was at about 19 pixels. Cars were found at smaller sizes than people, but even the biggest cars were sometimes missed.
Shrinking the frame hurts more than compression
Next, the tool applied typical processing steps one by one:
- JPEG compression, at quality levels from 30 to 90, moved D50 by about one pixel at most.
- Black borders added to fit the frame cost very little.
- Stretching the frame made people taller, which helped with the small ones, but large vehicles were found less often.
- A bigger network input made the largest difference: with 960 pixels instead of 640, the share of people found went up from 28 % to 44 %.
So most of the loss comes from shrinking the frame to the input size of the network. Compression quality matters much less.
The detector or the measure?
Whether a detection counts as correct depends on how closely the predicted box has to match the real one. The usual rule, Intersection over Union (IoU), looks at how much the two boxes overlap, and for tiny boxes it is very strict. The thesis therefore also counted near-misses: boxes of roughly the right size placed a few pixels off. Counting them explained only part of the gap. Most of the small people that the detector missed, it did not see at all.
What this means in practice
- Give the detector as much of the camera’s resolution as the hardware can handle, for example with a larger input size or by cutting the image into tiles.
- Find out how the software resizes frames. Borders, stretching and even the interpolation method change the result.
- When reporting results for small targets, show recall per size group and D50, not only averaged scores.
The tool can be run again whenever the camera, the processing or the detector changes. A question that used to come up again and again now takes one measurement to answer.
Sources
Jocher, G., Chaurasia, A. & Qiu, J. 2023. Ultralytics YOLOv8. Software. Accessed 14.11.2026 https://github.com/ultralytics/ultralytics
Yemelianova, V. 2026. Stage-wise analysis of small-target detection loss in aerial imaging systems. Bachelor’s thesis. Turku: Turku University of Applied Sciences. https://www.theseus.fi/handle/11111/408872
Zhu, P., Wen, L., Du, D., Bian, X., Fan, H., Hu, Q. & Ling, H. 2022. Detection and tracking meet drones challenge. IEEE Transactions on Pattern Analysis and Machine Intelligence 44 (11), 7380–7399.