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

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

14 Feb 2022arXiv:2202.06934archive 2025-07-28

Fatih Cagatay Akyon, Sinan Onur Altinuc, Alptekin Temizel

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 .

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2202.06934")

Code

Syntology Ran 1 of 19 code samples harvested from 3 repositories linked to this paper; 18 have no recorded run. Of those that ran: 1 ran · fixture could not drive it.

By repository: official repository: 3 samples from 2 repositories, 1 ran; community (archive-listed): 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fcakyon/sahi-benchmark officialmentioned in papermentioned on GitHubpytorchMIT report
obss/sahi officialmentioned in papermentioned on GitHubpytorch report
airctic/icevision pytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 1 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
18unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

annotation_inside_slice obss/sahi/sahi/slicing.py official repository ran · fixture could not drive it MIT (permissive) · 52989f234436027c · report
get_ordered_image_name_list fcakyon/sahi-benchmark/xview/xview_to_coco.py official repository unverified MIT (permissive) · d0520a0e6473e8cc · report
get_slice_bboxes obss/sahi/sahi/slicing.py official repository unverified MIT (permissive) · 7fc4f6b132018cc2 · report
annotation_inside_slice Resham-Sundar/sahi-yolox/sahi/slicing.py community (archive-listed) unverified MIT (permissive) · e257047ab1fda46c · report
batched_greedy_nmm Resham-Sundar/sahi-yolox/sahi/postprocess/combine.py community (archive-listed) unverified MIT (permissive) · b54053e66ee738d8 · report
batched_nms Resham-Sundar/sahi-yolox/sahi/postprocess/combine.py community (archive-listed) unverified MIT (permissive) · 8ed0517756dd1b38 · report
calculate_box_union Resham-Sundar/sahi-yolox/sahi/postprocess/utils.py community (archive-listed) unverified MIT (permissive) · 686cde694bfeddb7 · report
fix_full_shape_list Resham-Sundar/sahi-yolox/sahi/utils/compatibility.py community (archive-listed) unverified MIT (permissive) · 4b5d7326bb4f1646 · report
fix_shift_amount_list Resham-Sundar/sahi-yolox/sahi/utils/compatibility.py community (archive-listed) unverified MIT (permissive) · abc6663a9ae9fce0 · report
get_slice_bboxes Resham-Sundar/sahi-yolox/sahi/slicing.py community (archive-listed) unverified MIT (permissive) · 0e3c82c0dee22fd7 · report
merge Resham-Sundar/sahi-yolox/sahi/utils/coco.py community (archive-listed) unverified MIT (permissive) · 4d47f766c74c1466 · report
merge_from_list Resham-Sundar/sahi-yolox/sahi/utils/coco.py community (archive-listed) unverified MIT (permissive) · 4ab401060d4dd491 · report
nms Resham-Sundar/sahi-yolox/sahi/postprocess/combine.py community (archive-listed) unverified MIT (permissive) · 272238bc5ffeef61 · report
object_prediction_list_to_numpy Resham-Sundar/sahi-yolox/sahi/postprocess/utils.py community (archive-listed) unverified MIT (permissive) · 1c10c8ef13619529 · report
object_prediction_list_to_torch Resham-Sundar/sahi-yolox/sahi/postprocess/utils.py community (archive-listed) unverified MIT (permissive) · 2de419bb83449d6e · report
read_image Resham-Sundar/sahi-yolox/sahi/utils/cv.py community (archive-listed) unverified MIT (permissive) · 7a2ae5c4bf39dd82 · report
read_image_as_pil Resham-Sundar/sahi-yolox/sahi/utils/cv.py community (archive-listed) unverified MIT (permissive) · c8c3e5a8345b053a · report
read_large_image Resham-Sundar/sahi-yolox/sahi/utils/cv.py community (archive-listed) unverified MIT (permissive) · 91ba8065c40815aa · report
update_categories Resham-Sundar/sahi-yolox/sahi/utils/coco.py community (archive-listed) unverified MIT (permissive) · ece1ba05d166226f · report

Tasks

ObjectObject DetectionSmall Object Detectionobject-detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionConvolutionFCOSFPNNon Maximum SuppressionVFNetVarifocal Loss

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections