# What is the recommended aspect ratio to use for object detection

**URL:** <https://forum.opencv.org/t/what-is-the-recommended-aspect-ratio-to-use-for-object-detection/24804>\
**Category:** Uncategorized\
**Created:** [November 13, 2026, 5:23am UTC](https://forum.opencv.org/t/what-is-the-recommended-aspect-ratio-to-use-for-object-detection/24804 "2026-11-13T05:23:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![turner](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@turner](https://forum.opencv.org/u/turner)\
**Post date:** [November 13, 2026, 5:23am UTC](https://forum.opencv.org/t/what-is-the-recommended-aspect-ratio-to-use-for-object-detection/24804/1 "2026-11-13T05:23:55Z")

</div>

Before I take pictures and do yolo AI training, what camera aspect ratio would be best to use to detect objects within four meters, 16:9 or 4:3, what is the typical standard that is used?

---

<div class="post-metadata">

**Author:** ![lesha\_pattaya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/lesha_pattaya/32/14646_2.png) [@lesha\_pattaya](https://forum.opencv.org/u/lesha_pattaya)\
**Post date:** [December 6, 2026, 5:30am UTC](https://forum.opencv.org/t/what-is-the-recommended-aspect-ratio-to-use-for-object-detection/24804/5 "2026-12-06T05:30:09Z")

</div>

YOLO doesn’t inherently prefer 16:9 or 4:3. I’ve worked in computer vision for over seven years and regularly use YOLO. I’d choose the framing that covers the area you need, then check how many pixels the smallest target occupies at four meters. A wider frame is useful if you actually need the extra coverage. If the target is tiny, usable resolution on the object matters more than the aspect ratio.

If only part of the scene matters, you can crop that region before resizing it for the model so you don’t shrink the target unnecessarily. A crop can preserve detail, but it can’t recover detail the camera didn’t capture.

What objects are you trying to detect, and how wide is the area you need to cover at four meters? If you can share one uncropped sample frame with the smallest target at that distance, it’ll be much easier to recommend a setup before you collect the training images.
