r/computervision • • 7h ago

Showcase I made [ EASI ], an open-source library for detecting small objects in 1080p/4K/8K images using GPU-based sliced inference

Thumbnail
gallery
9 Upvotes

Hey everyone!

I've been working on this for the past few months and finally got around to releasing the first version. It's called EASI (Edge-Aware Sliced Inference), available as easi-cv on PyPI.

The idea is pretty simple. If you've ever tried running object detection on high-resolution images, you've probably noticed that small objects tend to disappear. Most detectors operate around 640px, so when you resize a 4K image down to that, a 30px car ends up being roughly 5px. There's not much left for the model to detect at that point.

The usual workaround is sliced inference, where you split the image into smaller tiles, run detection on each tile, and merge the results. SAHI is probably the most familiar implementation of this.

I ran into two issues while using it for another project:

  1. It was surprisingly slow, even on machines with fairly powerful GPUs. After profiling, I found that CPU-based slicing was becoming a bottleneck. One CPU core was constantly maxed out while the GPU was often sitting idle.
  2. Objects near tile boundaries could get split into two separate bounding boxes, making it difficult to merge detections properly.

I started wondering if the slicing and batching could be moved directly onto the GPU instead. I also wanted a better way to handle objects that get cut across neighbouring tiles.

Couldn't find an implementation that did both the way I wanted, so I ended up building one myself. That's how EASI started.

What it does

  • Slices images directly on the GPU and runs tiles in batches.
  • Merges objects split across tile boundaries using neighbouring tile information.
  • Supports Ultralytics models (YOLO11, YOLO26, RT-DETR, TensorRT/ONNX), torchvision, Hugging Face models (including RF-DETR), and custom callables.
  • Runs on NVIDIA, AMD and Apple Silicon GPUs, with CPU fallback.

I spent quite a bit of time benchmarking it against the existing alternatives. Here are some results.

Speed

Setup: YOLO11n, 3840 × 2160, 640px tiles, 20% overlap, batch size 16, FP16, RTX 3090. The input frame starts in CPU memory, and all implementations use the same weights, tiles, thresholds and batch size.

LibraryTime per frame
EASI23.0 ms
Ultralytics tiling51.9 ms
Supervision54.6 ms
SAHI113.6 ms

A few other numbers:

  • At 1080p, EASI runs YOLO11n at around 155 FPS. The next fastest implementation I tested was around 59 FPS.
  • With TensorRT at 4K, EASI takes 19.2ms compared to 43.1ms for Ultralytics tiling.
  • On an Apple M3 Pro GPU (FP32), the difference is smaller: 169ms vs 210ms for Ultralytics.

Accuracy

I also wanted to make sure the speed improvements weren't coming at the cost of detection quality.

Using YOLO11s fine-tuned on VisDrone, with 640px tiles and FP16:

LibraryTest-dev AP
EASI0.262
Ultralytics tiling0.262
Supervision0.251
SAHI0.251

The seam merging itself adds around 1.1 AP points compared to using plain NMS on the same tiles (0.262 vs 0.251).

There are also a few optional settings if you're willing to trade inference time for accuracy:

  • full_frame_size=1280: Adds a full-image inference pass. Improved validation AP from 0.334 to 0.350, costing another 6-10ms per frame on an RTX 3090.
  • zoom_size=1280: Re-runs tiles containing lots of small objects at 2x resolution. Improved test-dev AP from 0.262 to 0.276.
  • flip_tta=True: Improved test-dev AP from 0.262 to 0.272, at roughly twice the inference time.
  • Combining zoom, full-frame inference and multi_label=True gave a 4.4 AP point improvement on validation and 2.9 points on test-dev (FP32).

These options aren't free, obviously. They can add quite a bit of inference time depending on the image and hardware.

A few limitations

  • At default settings, it ties Ultralytics tiling on AP rather than beating it.
  • CPU-only performance is roughly comparable to the other libraries. The speed advantage mainly comes from GPU execution.
  • Exported models (TensorRT/ONNX) are compiled for a fixed input size, so variable-size zoom_size and full_frame_size require .pt weights.
  • Only axis-aligned bounding boxes are supported for now. No segmentation masks or rotated boxes.

If anyone wants to give it a try:

pip install "easi-cv[ultralytics,fast]"

import easi

det = easi.predict("drone_4k.jpg", "yolo11n.pt")

GitHub: https://github.com/RajChaudhary01/EASI

PyPI: https://pypi.org/project/easi-cv/PyPI

There's also a Colab notebook in the README where you can run plain YOLO, SAHI, Supervision and EASI on the same VisDrone image. One thing worth mentioning: that particular image was selected as EASI's best case from the validation set, and the notebook explicitly discloses this.

I'm the author, so obviously I'm a little biased, but I'd genuinely appreciate people trying it out and pointing out where it doesn't work well.

I'm especially curious about what image sizes and detectors people here use for sliced inference, and whether you've run into similar issues with tile boundaries.

Next, I'll be researching how to increase accuracy with minimal speed loss, edge-device support, and other practical areas like segmentation, etc. Any help, ideas, or contributions are much appreciated.

Thanks for taking a look!


r/computervision • • 42m ago

Discussion Production ML Engineering Workshop: Deployment, Validation & Monitoring (Dec 5)

1 Upvotes

hey everyone! sharing this for people working with machine learning models who want to understand more about what happens after model development.

whether you're working with computer vision models or other ML applications, deploying a model is only the beginning.

you also need to think about reproducibility, input validation, monitoring and detecting performance degradation once the model starts receiving real-world data.

Packt is hosting a hands-on Production ML Engineering workshop on December 5 covering:

  • deploying trained ML models
  • building reproducible workflows
  • validating model predictions
  • monitoring production performance
  • detecting data and model drift
  • working with popular Python ML libraries
  • building applications using Streamlit

the workshop uses scikit-learn, XGBoost, LightGBM and CatBoost for practical implementation.

it's a live online session at 9:30 AM EST.

Full workshop details and agenda

thought this might be useful for ML practitioners interested in production deployment.


r/computervision • • 50m ago

Discussion Need to start learning OpenCV

1 Upvotes

A few months ago, I posted about needing to start leaning computer vision, and many of you suggested cs231n, which was the best course I had since I started learning AI.

Now, I'm asking you guys for suggestions on resources to learn OpenCV, especially the dnn module, along with projects and practical stuff.

Thank you guys.


r/computervision • • 11h ago

Showcase Fast Monocular VIO Initialization: Combining Static and Motion-Based Approaches

7 Upvotes

Getting monocular VIO initialization right was the hardest part of development. I wanted the camera to start tracking so quickly that you’d barely notice the initialization step, without sacrificing the accuracy of the initial estimate.

I tried several open-source VIO implementations, but none gave me the balance of speed and accuracy I was looking for on the board. In the end, I combined static and motion-based initialization. For the motion-based part, I reimplemented a fast initialization algorithm published in IEEE Transactions on Robotics (T-RO) and tuned it for the board.

That gave me the fast, reliable startup I was looking for. In most cases, the camera initializes almost as soon as you pick it up and start moving it.

If anyone else is playing with mono VIO, feel free to drop by the Discord: discord.gg/Aw7gRjm3DD](https://discord.gg/Aw7gRjm3DD


r/computervision • • 9h ago

Discussion Vision-language-action models: why video matters

Thumbnail
motion56.com
2 Upvotes

Still images show a model what the world looks like. Video shows it how the world behaves.

That's why video is the fuel for fine-tuning vision-language-action models: time, motion, cause and effect, all from the viewpoint the model will actually have.

What makes footage fine-tuning-ready?

Read the breakdown


r/computervision • • 9h ago

Showcase RawLens - bringing next-gen RAW processing to an open-source Android

Post image
1 Upvotes

Hi everyone,

I’ve been working on RawLens, an open-source Android camera built around a scene-referred RAW pipeline, and I’d love to share it with this community.

The idea is to bring more of the control and processing we enjoy in desktop RAW tools into the camera itself: capture full-resolution sensor data, make exposure decisions using RAW measurements, and choose how the image is developed or save a DNG and continue on the desktop.

Some of the features that might interest people here:

  • RAW development on the phone: AMaZE or RCD demosaicing, AgX rendering, and darktable’s inpaint-opposed highlight reconstruction.
  • More output choices: DNG, JPEG, JPEG XL and Ultra HDR JPEG, with optional lossless JPEG XL compression inside DNG.
  • Multi-Frame Burst & Alignment: Implements Lucas–Kanade Reloaded (Lecouat et al., 2021) multi-frame super-resolution alongside Wronski et al. (2019) and Hasinoff et al. (2016) HDR+ burst merging in native code, including offline merging for saved exposure brackets.
  • Exposure tools based on RAW data: ETTR, RAW clipping zebras, false colour, and a spot meter showing exposure relative to sensor clipping.
  • Manual control and calibration: ISO, shutter speed, white balance, focus, and per-camera DNG calibration overrides.
  • Video too: lossless RAW recording in the .craw container with full DaVinci Resolve support, plus encoded video with S-Log3/S-Gamut3.Cine, HLG and custom LUT support.

RawLens draws on work from projects including RawTherapee, darktable, libcamera, Magic Lantern, Open Camera and PhotonCamera, alongside published multi-frame reconstruction research. The repository includes acknowledgements and references to the implementations we’ve used or adapted.

It’s GPLv3-or-later, with no ads, analytics, accounts or cloud processing. Everything runs on the device; the GitHub build’s optional update check is its only network use.

Hardware support is the big variable. You need Android 10 or newer and a camera exposing RAW through Camera2. Available lenses, capture sizes and recording performance depend on what the manufacturer exposes.

Source, build instructions and documentation (https://github.com/matthew777777/RawLens)

Downloads (https://github.com/matthew777777/RawLens/releases)


r/computervision • • 14h ago

Discussion What Are the Top 10 Egocentric Data Collection Companies for Physical AI and Robotics?

2 Upvotes

I'm looking for companies that provide first-person (egocentric) video datasets, human activity recordings, hand-object interaction data, and multimodal data for robotics and AI model training.

Which companies would you recommend for high-quality, large-scale egocentric data collection and annotation?

Any recommendations or real-world experiences would be appreciated!


r/computervision • • 23h ago

Showcase Vision Transformers are too computationally expensive for phones. New research makes them up to 10x cheaper.

Thumbnail
youtube.com
2 Upvotes

A new paper, Active Vision Transformers, explores a different approach to running vision models efficiently on devices like smartphones.

I put together a short breakdown explaining how the approach works, the results, and what they actually mean.

Watch here: https://www.youtube.com/watch?v=j6g4Ln1-Gds

Paper: https://arxiv.org/abs/2611.39952


r/computervision • • 1d ago

Showcase YOLO26 / YOLOE in cpp. CPU with GPU offloading

Thumbnail
github.com
4 Upvotes

The app is actually with my own pure C system. This one is built on top of ggml / llama.cpp. It's better on PC plus it has the llama.cpp GPU offloading ( all GPUs ) . I need to fix some threading issues then I'll upload the app using this system to the repo.

https://www.youtube.com/shorts/LdhYoXquvbY


r/computervision • • 1d ago

Showcase How silicone masks for presentation attack detection are made

Thumbnail
youtube.com
4 Upvotes

Saw this video showing the process of creating silicone masks in my feed

Never thought about this, but scammers might use complex attacks to access bank accounts, for example

So, the video shows how the videos that help to prevent this kind of fraud are made. To prevent scammers from getting your data, companies train their models on these safe videos. This task is called presentation attack detection

Looks really interesting


r/computervision • • 1d ago

Discussion WACV Poster/Oral announcement date?

2 Upvotes

When I go to my profile, I see type as Poster next to the paper that was accepted for WACV 2027. However, I have not received any email communication. Has anyone here received any email or does anyone's profile say type as Oral?


r/computervision • • 1d ago

Showcase Testing my RGB SLAM Camera on a ride

3 Upvotes

I took my camera out for a quick test while riding my little electric scooter today. Tracking stayed steady on this run. I went with a fisheye lens with a 193° diagonal field of view, so there’s quite a lot in the frame.

I originally built it to be small and light enough for my drone. I’d like to try it for collecting data on a robot next and see how it does there.

If you’ve tried something similar or want to compare notes, feel free to chat on Discord: https://discord.gg/Aw7gRjm3DD


r/computervision • • 1d ago

Research Publication Will It Render? — Learned Attention Steering for Object Presence in Text-to-Video (WACV 2027)

1 Upvotes

Text-to-video models frequently fail to render all objects mentioned in a prompt. At 4 objects, fewer than 40% of generated videos include all of them — and it gets worse as the prompt grows.

We train a small model (37k parameters) on the generator's cross-attention maps to predict from early and mid denoising steps whether each requested object will appear, then use it as a differentiable steering signal. No retraining of the base model.

Results across three backbones (avg rate of prompts where ALL objects appear):

  • LTX-2: 38% → 75%
  • WAN 2.1: 27% → 60%
  • CogVideoX: 31% → 66%

VBench quality is preserved, and a user study preferred our method.

We also extend VBench's multi-object benchmark from 2 objects to 7 (473 prompts, 76 classes).

HuggingFace: https://huggingface.co/papers/2611.40949
arXiv: arxiv.org/abs/2611.40949
Project page: benf22.github.io/will-it-render
Code: github.com/benf22/will-it-render-code


r/computervision • • 1d ago

Help: Theory Questions about Depth Map Generation?

1 Upvotes

Hello,

I am trying to generate a (relative) depth map from an input image. The images depict outdoor scenes, meaning: buildings, cars, roads, trees, poles, other city and landscape elements. Images are taken with a phone camera (portrait mode), and are 3072 × 4080 in size.

What models are currently the most accurate? I tested Depth Anything 3 (DA3MONO-Large) and DepthPro2 H+, but I noticed that both are quite inaccurate when it comes to scenery around 30-40+ meters away. The model fails to separate different surfaces properly, and kind of "smears" details together.

Questions:

  1. How can I ensure details past 30ish meters are still decently distinguished by the model instead of being smeared together?
  2. What inference resolution to use? I tried different ones - with DepthPro, you can essentially use everything up to the native resolution if you have enough VRAM. With DA3, you are supposed to use certain multiples of I think 14 or something. I think I tried 1008 for example.
  3. What is the absolute best model for my task/environment, that yields the best results? Anything that outperforms DA3 and DP2?
  4. My goal is to generate a dense depth map, meaning a depth value for each image pixel. My idea was to generate a relative depth map with a model, and leverage sparse but accurate depth data (e.g. handmade laser-measurements/LIDAR data) to then infer the depth for every other pixel. I think that approach should be feasible? Thoughts? I am aware there are metric variants of these models, but my results with them weren't great, that is why I want to use sparse anchors to infer the rest.
  5. I was wondering about 1 vs 2 images - my setup (cameras on a ring) only allow 1 image per direction, - however, the neighboring cameras have some overlap - would that help with improving accuracy? I am basically wondering what are the best options with a single image, and if known camera intrinsic and extrinsics as well as overlap of neighboring cameras allow me to refine the output?

r/computervision • • 1d ago

Showcase I used SAM 3 to auto-label 3,000 IR night frames for a custom YOLO dog detector (then a slipper humbled it 123 times)

Thumbnail
gallery
11 Upvotes

Hey guys, not sure if this is helpful but I thought I would share a quirky vision project I built and something that kinda surprised me.

Our chocolate Lab kept sneaking onto the sofa at night, so I pointed a $37 Tapo night cam at it on an old Mac mini. Off-the-shelf models struggled badly in IR (Apple's built-in one kept calling him a cat, and stock YOLO fired on brown blankets).

What worked sooo well was using Meta's SAM 3 offline as a teacher to auto-label ~3,000 night frames, fine-tuning a small YOLO model on those labels, plus a tick/cross UI to feed mistakes into round two. Night detection jumped from 68% up to 98%.

The funny bit tho: first live night it spotted him 141 times and 123 were a slipper on the sofa arm. In the end a dumb movement rule (dont count anything until it moves) beat more retraining.

Curious how folks here split retraining vs simple post-processing rules on fixed cameras?

Wrote it up with clips here if you wanna see: https://stack.convex.dev/training-a-model-to-keep-my-dog-off-the-sofa (YouTube: https://youtu.be/joUy_JKHwOE)


r/computervision • • 2d ago

Research Publication LiteCalib: Camera Calibration from Single Image

Thumbnail
kocurvik.github.io
68 Upvotes

Hi we just released LiteCalib, a fast single-image camera calibration method. You give it one photo and it returns the focal length and lens distortion. Similarly to AnyCalib, it works with pinhole, radial, division, UCM/EUCM, Kannala-Brandt and other radially symmetric models. The network outputs an intermediate representation and you can choose which camera model you fit to it.

This is useful if you have distorted images (e.g. from action camera) and want to run a pipeline that was trained on pinhole images such as 3D reconstruction methods such as VGGT, Pi3, DepthAnythingV3, MapAnything, monocular depth estimators such as MoGe, UniDepth, SurGe or even classical pipelines like COLMAP. It can also estimate focal lengths for individual images if you need to use crowdsourced or user-provided images.

This is not new as previous methods such as AnyCalib or GeoCalib have similar capabilities. However, our network was trained using much broader distribution making it much more accurate than previous SOTA. We have also made the full camera calibartion faster by predicting only a sparse representation instead of dense one and making parts of the network much lighter. Our whole network with the camera model fit runs in 9.7 ms on A100 compared to 50+ ms for AnyCalib. We have also trained ViT-S and ViT-B variants when you are even more compute constrained.

Try it:

pip install litecalib

import litecalib

model = litecalib.load("litecalib_vitl")

calib = model.calibrate("photo.jpg", cam_id="division:1")

calib.K #pinhole intrinsics

undistorted = calib.undistort("photo.jpg") #undistorted image

- More info on our project page: https://kocurvik.github.io/litecalib


r/computervision • • 1d ago

Showcase We built a Nuke plugin that turns AI roto into real, editable Roto shapes. Free up to 2K, Linux and Windows

Thumbnail
youtube.com
0 Upvotes

Hi all. I'm Lukka, I run a small team in Hyderabad building AI tools for VFX. Most AI roto I've tried hands you a matte, and then someone still has to clean it up or rebuild it as shapes for comp. So we went the other way.

LUCYROTO for Nuke gives you keyed B-spline shapes in a normal Roto node:

- Hover over the Viewer to preview a subject, click to keep it

- One button tracks it through the shot. Keys only go where Nuke's own in-between would drift off the edge, so the curve stays light

- LR_SPLITS breaks a person into animated parts (head, torso, arms, legs) as separate named shapes

- Feather Outward / Inward / Both on every shape and key

- Everything stays editable: points, feather, keys. Nothing is baked or locked

Demo on a handheld fisheye skate plate: https://youtu.be/1kWlMGRF5qY

It's free on plates up to 2K: every node, no key, no account. A licence key unlocks 4K and larger.

Honest limitations so you know before you download:

- Linux and Windows only for now (no Mac yet), Nuke 14+, NVIDIA GPU (tested on 12 GB)

- The download is big (about 13 GB) because the models ship with it. There's a one-command install that resumes if your connection drops

- Hair and very fine detail are the hard part, as always. The shapes hug the edge and the feather handles the soft falloff, but it won't replace a hair pass

Download: https://lucyroto.lucylabs.in/download

What I'd really like: throw your worst shot at it and tell me where it breaks. Crowds, motion blur, occlusion, anything. I'll read every comment.


r/computervision • • 1d ago

Showcase I built a Nuke plugin that turns AI roto into real, editable Roto shapes. Free up to 2K, Linux and Windows

Thumbnail
youtube.com
0 Upvotes

r/computervision • • 1d ago

Help: Theory Yolo v8

0 Upvotes

Is it difficult to fine tune and improve yolov8 I was thinking to do this for my computer vision class just along your advise if there are things I can work on or improve or leave it and it’s complicated


r/computervision • • 1d ago

Discussion Can frontier LLMs do pose estimation?

Thumbnail
gallery
13 Upvotes

They absolutely can!

Lately I noticed that models like Gemini, GPT and Claude can draw decent bounding boxes. That surprised me: they just write the pixel coordinates out as text.

Boxes are coarse, though. So I gave all three 128 photos of people and asked for something finer: 17 body keypoints (COCO).

They're pretty good. Gemini Neon was the most accurate, but also the most expensive and the heaviest thinker. GPT (Astra 6.2) came second and Claude (Fable 5.2) third.


r/computervision • • 1d ago

Showcase I built a 39-keypoint pose model for low-end phones (benchmark vs MoveNet and BlazePose)

Thumbnail
posetracker.com
1 Upvotes

I run PoseTracker, an SDK that lets apps follow the body with the phone camera. It has always run on MoveNet. Today we released our own model, PoseTrackerNet.

What it does: 39 keypoints of one person instead of 17 (heels, big toes, neck, trunk front and back, shoulder line), from a 192 px input, on the phone's CPU with LiteRT.

Why speed was the point ? Our camera gives you 33 ms per frame for everything, and whatever the pose model takes is gone for movement recognition and feedback.

What we measured on a Samsung Galaxy A13 (Helio G80): 9.6 ms per frame against 14.3 ms for MoveNet Lightning (both int8, model alone, 4 threads), and the camera's rate of 29.6 fps held for 10 minutes on a warm phone.

It is a proprietary model, free to evaluate. Happy to answer questions about the measurements or the on-device side.


r/computervision • • 1d ago

Help: Project How would you improve a drone-based cattle counter that double-counts animals when tracking IDs reset?

2 Upvotes

I’m building a Python tool to count cattle from drone videos. It runs a detector on each frame, uses BoT-SORT to track animals, and exports an annotated video and a JSON report. I’ve been experimenting with YOLO, RF-DETR, and tiled inference for cattle that appear small in 4K footage. My GPU is an RTX 3060 with 12 GB of VRAM.

The hardest part is counting unique animals across a flight. If a cow goes behind another animal or leaves the frame during a camera pan, it can get a new tracking ID and be counted twice. Taking the maximum number visible in one frame can also undercount a herd spread across the pasture.

DroneMegaDetector found cattle in both of my short test clips where the stock YOLO26s and RT-DETRv4-S checkpoints returned zero detections at the settings I tried. That’s a small sanity check. I’m planning to annotate clips manually so I can measure misses and double counts.


r/computervision • • 2d ago

Discussion Is the VLM research field becoming oversaturated?

12 Upvotes

Lately, it feels like dozens of new Vision-Language Model papers drop every week, and a large portion of them follow the exact same formula: take a standard open-weights LLM, slap on a vision encoder, train on a slightly tweaked synthetic dataset, and claim SOTA on a handful of benchmarks.

I have a research idea that I'm working on, but I'm afraid that it might be too late for entering the VLM research field...

The research is trying to fill the gap between VLMs and more traditional specialized models with their dedicated heads (detections, segmentation and such). Models like Florence and SAM are already bridging that gap, but they require a dedicated training menu, my goal is to mainly instruments the existing weights instead of training from scratch.

I have some ideas to differentiate the work, but not sure how effective it can be:

  • Don't just write papers, create tools that can be used by community.
  • While many papers focus too heavily on the accuracy, I want to explore the balance between cost/performance, which is very important in the industry.
  • I don't want to reinvent the finding in those papers, instead replicate those methods and build on top of them to increase the accuracy or reduce the cost.

What do you think? Do I score anything in innovation?


r/computervision • • 2d ago

Help: Theory How does Google Earth/Maps render the images for its 3D view?

Thumbnail
reddit.com
2 Upvotes