Skip to content

๐Ÿ“ CHANGELOG

๐Ÿš€ SAHI v0.11.31 Release Notes

We're excited to announce SAHI v0.11.31 with important bug fixes and improvements!

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.30...0.11.31

๐Ÿš€ SAHI v0.11.30 Release Notes

We're excited to announce SAHI v0.11.30 with improved performance tracking, enhanced testing infrastructure, and better developer experience!

๐Ÿ“ˆ Milestones

  • Academic papers citing SAHI reached 400! (#1168)

๐Ÿš€ Key Updates

โšก๏ธ Performance & Monitoring

  • Fixed postprocess duration tracking in get_sliced_prediction - now properly separates slice, prediction, and postprocess timings for accurate performance monitoring (#1201) - Thanks @Toprak2!

๐Ÿงฉ Framework Updates

  • Refactored Ultralytics support with ONNX model support and better compatibility (#1184)
  • Updated TorchVision support to latest API (#1182)
  • Improved Detectron2 support with better config handling to prevent KeyError issues (#1116) - Thanks @Arnesh1411!
  • Added Roboflow framework support for RF-DETR models from the Roboflow Universe (#1161) - Thanks @nok!
  • Removed deepsparse integration as the framework is no longer maintained (#1164)

๐Ÿงช Testing Infrastructure

  • Migrated test suite to pytest (#1187)
  • Tests now run faster with better parallel execution
  • Extended Python version coverage (3.8, 3.9, 3.10, 3.11, 3.12)
  • Updated to more recent PyTorch versions for better compatibility testing
  • Improved test organization and maintainability
  • Refactored MMDetection tests for better reliability (#1185)

๐Ÿ’ป Developer Experience

  • Added Context7 MCP integration for AI-assisted development (#1198)
  • SAHI's documentation is now indexed in Context7 MCP
  • Provides AI coding assistants with up-to-date, version-specific code examples
  • Includes llms.txt file for AI-readable documentation
  • Check out the Context7 MCP installation guide to integrate SAHI docs with your AI workflow

๐Ÿ› ๏ธ Improvements

๐Ÿงน Code Quality & Safety

  • Immutable bounding boxes for thread-safe operations (#1194, #1191) - Thanks @gboeer!
  • Enhanced type hints and docstrings throughout the codebase (#1195) - Thanks @gboeer!
  • Overloaded operators for prediction scores enabling intuitive score comparisons (#1190) - Thanks @gboeer!
  • PyTorch is now a soft dependency improving flexibility (#1162) - Thanks @ducviet00!

๐Ÿ—๏ธ Infrastructure & Stability

  • Improved dependency management and documentation (#1183)
  • Enhanced pyproject.toml configuration for better package management (#1181)
  • Optimized CI/CD workflows for MMDetection tests (#1186)

๐Ÿ› Bug Fixes

  • Fixed CUDA device selection to support devices other than cuda:0 (#1158) - Thanks @0xf21!
  • Corrected parameter naming from 'confidence' to 'threshold' for consistency (#1180) - Thanks @nok!
  • Fixed regex string formatting in device selection function (#1165)
  • Resolved torch import errors when PyTorch is not installed (#1172) - Thanks @ducviet00!
  • Fixed model instantiation issues with AutoDetectionModel.from_pretrained (#1158)

๐Ÿ“ฆ Dependencies

  • Updated OpenCV packages from 4.10.0.84 to 4.11.0.86 (#1171) - Thanks @ducviet00-h2!
  • Removed unmaintained matplotlib-stubs dependency (#1169)
  • Cleaned up unused configuration files (#1199)

๐Ÿ“š Documentation

  • Added context7.json for better AI tool integration (#1200)
  • Updated README with new contributors (#1175, #1179)
  • Added Roboflow+SAHI Colab tutorial link (#1177)

๐Ÿ™ Acknowledgments

Special thanks to all contributors who made this release possible: @nok, @gboeer, @Toprak2, @Arnesh1411, @0xf21, @ducviet00, @ducviet00-h2, @p-constant, and @fcakyon!


Full Changelog: https://github.com/obss/sahi/compare/0.11.24...0.11.30

๐Ÿš€ SAHI v0.11.29 Release Notes

๐Ÿ†• What's Changed

Full Changelog: https://github.com/obss/sahi/compare/0.11.28...0.11.29

๐Ÿš€ SAHI v0.11.28 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.27...0.11.28

๐Ÿš€ SAHI v0.11.27 Release Notes

๐Ÿ†• What's Changed

Full Changelog: https://github.com/obss/sahi/compare/0.11.26...0.11.27

๐Ÿš€ SAHI v0.11.26 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.25...0.11.26

๐Ÿš€ SAHI v0.11.25 Release Notes

๐Ÿ†• What's Changed

Full Changelog: https://github.com/obss/sahi/compare/0.11.24...0.11.25

๐Ÿš€ SAHI v0.11.24 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.23...0.11.24

๐Ÿš€ SAHI v0.11.23 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.22...0.11.23

๐Ÿš€ SAHI v0.11.22 Release Notes

๐Ÿ†• What's Changed

Full Changelog: https://github.com/obss/sahi/compare/0.11.21...0.11.22

๐Ÿ“š Core Documentation Files

๐Ÿ“ฆ Prediction Utilities

  • Detailed guide for performing object detection inference
  • Standard and sliced inference examples
  • Batch prediction usage
  • Class exclusion during inference
  • Visualization parameters and export formats
  • Interactive examples with various model integrations (YOLOv8, MMDetection, etc.)

โœ‚๏ธ Slicing Utilities

  • Guide for slicing large images and datasets
  • Image slicing examples
  • COCO dataset slicing examples
  • Interactive demo notebook reference

๐Ÿ’ COCO Utilities

  • Comprehensive guide for working with COCO format datasets
  • Dataset creation and manipulation
  • Slicing COCO datasets
  • Dataset splitting (train/val)
  • Category filtering and updates
  • Area-based filtering
  • Dataset merging
  • Format conversion (COCO โ†” YOLO)
  • Dataset sampling utilities
  • Statistics calculation
  • Result validation

๐Ÿ’ป CLI Commands

  • Complete reference for SAHI command-line interface
  • Prediction commands
  • FiftyOne integration
  • COCO dataset operations
  • Environment information
  • Version checking
  • Custom script usage

๐Ÿ‘๏ธ FiftyOne Integration

  • Guide for visualizing and analyzing predictions with FiftyOne
  • Dataset visualization
  • Result exploration
  • Interactive analysis

๐Ÿ““ Interactive Examples

All documentation files are complemented by interactive Jupyter notebooks in the demo directory: * slicing.ipynb - Slicing operations demonstration * inference_for_ultralytics.ipynb - YOLOv8/YOLO11/YOLO12 integration * inference_for_yolov5.ipynb - YOLOv5 integration * inference_for_mmdetection.ipynb - MMDetection integration * inference_for_huggingface.ipynb - HuggingFace models integration * inference_for_torchvision.ipynb - TorchVision models integration * inference_for_rtdetr.ipynb - RT-DETR integration * inference_for_sparse_yolov5.ipynb - DeepSparse optimized inference

๐Ÿšฆ Getting Started

If you're new to SAHI:

  1. Start with the prediction utilities to understand basic inference
  2. Explore the slicing utilities to learn about processing large images
  3. Check out the CLI commands for command-line usage
  4. Dive into COCO utilities for dataset operations
  5. Try the interactive notebooks in the demo directory for hands-on experience

๐Ÿš€ SAHI v0.11.21 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.20...0.11.21

๐Ÿš€ SAHI v0.11.20 Release Notes

๐Ÿ†• What's Changed

Full Changelog: https://github.com/obss/sahi/compare/0.11.19...0.11.20

๐Ÿš€ SAHI v0.11.19 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.18...0.11.19

๐Ÿš€ SAHI v0.11.18 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.16...0.11.18

๐Ÿš€ SAHI v0.11.16 Release Notes

๐Ÿš€ SAHI v0.11.15 Release Notes

๐Ÿš€ SAHI v0.11.14 Release Notes

๐Ÿ†• What's Changed

๐Ÿ™Œ New Contributors

Full Changelog: https://github.com/obss/sahi/compare/0.11.13...0.11.14

๐Ÿš€ SAHI v0.11.13 Release Notes

๐Ÿš€ SAHI v0.11.12 Release Notes

๐Ÿš€ SAHI v0.11.11 Release Notes

๐Ÿš€ SAHI v0.11.10 Release Notes

๐Ÿš€ SAHI v0.11.9 Release Notes

๐Ÿš€ SAHI v0.11.8 Release Notes

๐Ÿš€ SAHI v0.11.7 Release Notes

๐Ÿš€ SAHI v0.11.6 Release Notes

๐Ÿš€ SAHI v0.11.5 Release Notes

๐Ÿš€ SAHI v0.11.4 Release Notes

๐Ÿš€ SAHI v0.11.3 Release Notes

๐Ÿš€ SAHI v0.11.2 Release Notes

๐Ÿš€ SAHI v0.11.1 Release Notes