...

YOLOv8 Small Object Detection with SAHI in Python (Sliced Inference)

YOLOv8 small object detection with SAHI

Last Updated on 22/04/2026 by Eran Feit

YOLOv8 small object detection with SAHI is one of the fastest ways to improve detections when targets are tiny (distant cars, small drones, pests on leaves) and full-image inference keeps missing them.
In this tutorial, you’ll build a repeatable Python script that runs two passes on the same image: standard YOLOv8 inference, and then SAHI sliced inference (tiling + merging).