Slicing Aided Hyper Inference and Fine-tuning for Small Object Detection

Fatih Cagatay Akyon, Sinan Onur Altinuc, Alptekin Temizel
2/14/2022
cs.CVcs.LG

Official code: obss/sahi (5,559 stars, MIT, PyTorch, last commit 2026-10-16). 1 more implementation below.

Abstract

Detection of small objects and objects far away in the scene is a major challenge in surveillance applications. Such objects are represented by small number of pixels in the image and lack sufficient details, making them difficult to detect using conventional detectors. In this work, an open-source framework called Slicing Aided Hyper Inference (SAHI) is proposed that provides a generic slicing aided inference and fine-tuning pipeline for small object detection. The proposed technique is generic in the sense that it can be applied on top of any available object detector without any fine-tuning. Experimental evaluations, using object detection baselines on the Visdrone and xView aerial object detection datasets show that the proposed inference method can increase object detection AP by 6.8%, 5.1% and 5.3% for FCOS, VFNet and TOOD detectors, respectively. Moreover, the detection accuracy can be further increased with a slicing aided fine-tuning, resulting in a cumulative increase of 12.7%, 13.4% and 14.5% AP in the same order. Proposed technique has been integrated with Detectron2, MMDetection and YOLOv5 models and it is publicly available at https://github.com/obss/sahi.git .

View on arXivView PDF

Code Implementations(2)

obss/sahiOfficial100%
PyTorchMIT

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

5,559791Shell, PythonJan 30, 20211 weeks agoMIT
cococomputer-visiondeep-learningexplainable-aififtyone+15 more
PyTorchMIT

icip2022 paper: sahi benchmark on visdrone and xview datasets using fcos, vfnet and tood detectors

20222PythonDec 19, 20211 years agoMIT
benchmarkcocofcosicip2022mmdetection+8 more

Similar Papers

Cite this paper

@article{akyon2022slicing,
  title  = {Slicing Aided Hyper Inference and Fine-tuning for Small Object Detection},
  author = {Fatih Cagatay Akyon and Sinan Onur Altinuc and Alptekin Temizel},
  year   = {2022},
  eprint = {2202.06934},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06934}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.06934.svg)](https://codeofpaper.com/paper/2202.06934)

Discussion