v0.1.0 · CPU · Apple MPS · CUDA · ROCm
Sliced inference that stays on the GPU¶
Run any detector on 4K and 8K drone, aerial, satellite and CCTV frames without shrinking them. EASI cuts the frame on the GPU, detects overlapping tiles in batches, and merges objects cut by a tile edge back into one box.
pip install easi-cv
43 FPSon 4K, yolo11n, RTX 3090
2.3xfaster than Ultralytics' tiling
up to 5xfaster than SAHI

Same frame, same detector. The car is wider than the tile overlap, so two tiles each see a part of it: standard tiling and NMS keep two partial boxes, EASI merges them into one.
The problem it solves¶
Your 4K camera sees the car. Your detector may not. A 4K frame holds 8.3 million pixels; resized for a 640 px detector, about 230 thousand are left, and a 30 px car shrinks to 5 px. Sliced inference (SAHI, Akyon et al., ICIP 2022) wins those pixels back by running the detector on overlapping tiles. But dozens of tiles take time, and anything lying on a tile edge comes out in pieces. EASI is built for both.

The same car in both panels. Photo: Tyrone Madera, Wikimedia Commons, CC BY-SA 4.0; cropped, tiles and boxes added.
-
Cut on the GPU, stay on the GPU
Tiles are cropped from the frame tensor in batches and stay on the device until detection is done: 23.0 ms for a 4K frame (yolo11n, FP16, RTX 3090).
-
One car, one box
A piece cut by a tile edge merges only with a box from another tile that continues past the cut, so two cars parked bumper-to-bumper on a seam stay two cars.
-
Bring your own detector
Ultralytics (YOLO, RT-DETR, TensorRT/ONNX exports), torchvision, Hugging Face Transformers, or any callable.
How it compares¶
| EASI | obss/sahi | supervision | Ultralytics tile | |
|---|---|---|---|---|
| Tiled inference on a frame already on the GPU | ||||
| Tiles in batches | ||||
| Seam-aware handling of cut objects | ||||
| Plug in any detector as a plain callable |
What "partial" means and which versions were checked: methods.
Frames per second (higher is better) at three frame sizes, and the time for one 4K frame (lower is better). yolo11n, same weights, tiles and batch size in every library.
Setup and full tables under Benchmarks.
Runs on the GPU you have¶
| Platform | GPU | One 4K frame, yolo11n | Compared with |
|---|---|---|---|
| NVIDIA CUDA | RTX 3090 | 23.0 ms (FP16) | 51.9 ms for Ultralytics tiling |
| AMD ROCm | Radeon RX 9070 XT | 41.8 ms (FP16) | 64.4 ms for Ultralytics tiling |
| Apple MPS | M3 Pro | 169 ms (FP32) | 210 ms for Ultralytics tiling |
Setup and full tables: AMD, Apple, all results.
Two calls to a result¶
Works with¶
| Backend | Pass as model |
|---|---|
| Ultralytics YOLO / RT-DETR | "yolo11n.pt", "rtdetr-l.pt", or an export such as "yolo11n.engine" |
| torchvision | "torchvision:fasterrcnn_resnet50_fpn_v2" |
| Hugging Face Transformers | "hf:PekingU/rtdetr_r50vd" |
| Your own model | any callable: [B, 3, h, w] in, B tuples of (boxes, scores, labels) out |
Where to go next¶
-
Installation
pip install easi-cv, the extras, and the setup the benchmarks ran with. -
Options and evidence
Every option measured for v0.1.0, with the numbers behind it.
-
API reference
easi.predict, theEASIengine, adapters, detections and post-processing. -
Migrate from SAHI or supervision
Only the slicing and merging step changes; drop-in snippets.
-
Benchmarks
Speed and accuracy against obss/sahi, supervision and Ultralytics tiling.
-
Threads and streams
What is safe to share between threads, and one engine per video stream.