#242 · Primary category: Computer Vision
YOLO-Patch-Based-Inference
Python library for YOLO small object detection and instance segmentation
Project last updated:04/22/26
GitHub Stars
557
Forks
32
Contributors
5
License
AGPL-3.0
Why we included this project
Small objects are the classic failure case for object detectors: by the time a tiny target is downscaled to fit the network input, it has often shrunk to a few pixels and gets missed entirely. This library handles that the way SAHI does, by slicing the image into overlapping patches and running inference on each one before merging the results with non-maximum suppression. It wraps Ultralytics models, so you can point it at YOLOv8, YOLO11, YOLOv9, RTDETR, or FastSAM checkpoints, including custom-trained ones, and it covers both detection and instance segmentation. If your work involves aerial imagery, satellite data, or high-resolution industrial photos where targets are small relative to the frame, the pip-installable package and the included Colab notebooks are a practical starting point. The library also has its own visualization helpers for both direct and patch-based runs, which is handy when you want consistent output styling across experiments.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)