obss /sahi

Framework agnostic sliced/tiled inference + interactive ui + error analysis plots

★ 5,604⑂ 793👁 47⑃ 891● 0▤ 120
PythonMITCreated 2021-01-30obss.github.io/sahi/
Download: 0.14.00.14.0 ↓0.14.02026-11-01
+1
Daily
5,604
stars
793
forks
47
watchers
891
prs
0
issues
120
releases

README

SAHI: Slicing Aided Hyper Inference



  A lightweight vision library for performing large scale object detection & instance segmentation



    




  
  
  
  
  




  
  
  
  




  
  
  
  




 Overview

SAHI helps developers overcome real-world challenges in object detection by
enabling sliced inference for detecting small objects in large images. It
supports various popular detection models and provides easy-to-use APIs.



🌐 English | 🇨🇳 简体中文 | 🇹🇷 Türkçe



| Command                                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| predict                   | Perform sliced/standard video/image prediction using any ultralytics / mmdet / huggingface / torchvision model, see CLI guide |
| predict-fiftyone | Perform sliced/standard prediction using any supported model and explore results in fiftyone app, learn more                                                                                                                                                                                                                                       |
| coco slice             | Automatically slice COCO annotation and image files, see slicing utilities                                                                                                                                                                                                                                                                                                                 |
| coco fiftyone       | Explore multiple prediction results on your COCO dataset with fiftyone ui ordered by number of misdetections                                                                                                                                                                                                                                                           |
| coco evaluate       | Evaluate classwise COCO AP and AR for given predictions and ground truth, check COCO utilities                                                                                    

Discussions

Latest release

0.14.0 0.14.0 2026-11-01
A minor release that moves the tests, docs and examples to YOLO26, defaults YOLOE to YOLOE-26, fixes bugs in the YOLOE, YOLO-World, torchvision, Hugging Face and mmdet wrappers, downloads and scripts, and makes COCO slicing and mask drawing faster with the same output.

 💥 Breaking Changes

- YOLOE loads yoloe-26s-seg.pt when no model_path is given (1499) instead of yoloe-11s-seg.pt. Pass model_path to keep using YOLOE-11.
- The hugging_face_universal_segmentation model type is removed (1498). It had no module behind it and always failed with ModuleNotFoundError. Use huggingface_segmentation f

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON