Python library 1.2.8 version
This Python library simplifies SAHI-like inference for instance segmentation tasks, enabling the detection of small objects in images. It caters to both object detection and instance segmentation tasks, supporting a wide range of Ultralytics models.
The library also provides a sleek customization of the visualization of the inference results for all models, both in the standard approach (direct network run) and the unique patch-based variant.
Model Support: The library offers support for multiple ultralytics deep learning models, such as YOLOv8, YOLOv8-seg, YOLOv9, YOLOv9-seg, FastSAM, and RTDETR. Users can select from pre-trained options or utilize custom-trained models to best meet their task requirements.
pip install patched-yolo-infer==1.2.8
🚀MAIN UPDATES:
The algorithm for duplicate suppression (intelligent_sorter) has been refined. It now allows for setting the number of bins (sorter_bins) to adjust the quality of suppression. A smaller number of bins makes the NMS more dependent on object sizes rather than confidence scores.