SAHI

Slicing aided inference library that improves small object detection on large images with any detector.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Small objects get lost when a high resolution image is squeezed down to a detector's input size, and SAHI attacks that problem by slicing the image into overlapping tiles, running inference on each slice, and merging the predictions back into full-image coordinates. The approach, called slicing aided hyper inference, works as a wrapper around existing models rather than a new architecture, with adapters for Ultralytics YOLOv8 through YOLO26, MMDetection, Detectron2, TorchVision, Hugging Face Transformers, RT-DETR, Roboflow RF-DETR, YOLO-World, and YOLOE. The package installs with pip install sahi, adds a CLI for prediction plus COCO dataset utilities such as slicing, subsetting, and error analysis, and integrates with FiftyOne for visual inspection. It runs wherever the underlying detector runs, on CPU or GPU, and is released under the MIT license. The method was published at IEEE ICIP 2022 and is widely used for aerial and satellite imagery, surveillance footage, and other domains where targets occupy a handful of pixels; the repository has passed 5,000 GitHub stars.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
MIT
Added
Jul 29, 2026

Related Tools

Featured

Contrastive language-image pre-training model by OpenAI for zero-shot visual classification.

Open SourceSelf HostedOfflineGPU 4GB+
Intermediate
0.0 (0)

Lightweight face recognition and analysis framework wrapping multiple models.

Open SourceSelf HostedOffline
Easy
0.0 (0)

Foundation model for monocular depth estimation by TikTok.

Open SourceSelf HostedOfflineGPU 4GB+
Easy
0.0 (0)

Monocular depth estimation model producing detailed depth maps from single images.

Open SourceSelf HostedOfflineGPU 4GB+
Easy
0.0 (0)

Meta AI research platform for object detection, segmentation, and pose estimation.

Open SourceSelf HostedOfflineGPU 8GB+
Advanced
0.0 (0)

Simple and effective multi-object tracking using every detection box.

Open SourceSelf HostedOfflineGPU 4GB+
Intermediate
0.0 (0)
Browse all Computer Vision & Object Detection tools