r/computervision • • Sep 16 '26

Showcase 64x48 grayscale, no depth: a fruit fly looming-detector pipeline vs a small CNN for obstacle avoidance

5 Upvotes

Two controllers steer a simulated drone through 120 m corridors of poles and boxes, using only a 64x48 grayscale frame per step. No depth and no scene state. One is a hand-built looming detector based on the fruit fly's Giant Fiber escape model (Ache et al. 2019, Current Biology). The other is a ~35k-param CNN trained by imitation. The detector pipeline and the whole sim are my own implementation. The published part is the model's size and expansion tuning.

The detector pipeline:

- Average the frame into a 16x12 grid and compute normal-flow magnitude, |dI/dt| / |grad I|, with a gradient floor so flat cells don't blow up.

- Cancel self-motion. Forward flight makes everything expand, roughly in proportion to distance from the focus of expansion. I fit that slope per frame from the median of flow/eccentricity over outer cells, then keep only cells that beat the fitted baseline by a margin. Fitting from outer cells matters: near the centre the ratio is noise, and objects dead ahead would get blinded.

- Threshold relative to the frame's own peak, take the largest 8-connected component as "the object", and dodge away from its centroid side.

- Size: flat-shaded surfaces only produce flow at their edges, so the component is an outline, and its cell count underestimates the object badly. I treat its bounding box as filled and use the equal-area circle's diameter. Even so, the estimate runs about 0.3x the true angular size.

What didn't work, for anyone building something similar: flow divergence (constant everywhere for a linear radial field), blur-and-subtract high-pass (scattered self-motion blobs look just like objects), flow direction consistency with the FOE (the aperture problem biases it), and pooling all active cells into one size, which saturated the size tuning. That last one was the real bug for a long time.

Two renderer bugs cost me days. The WebGL read-back was in linear colour, so frames came out too dark. It was also horizontally mirrored, so the detector dodged into obstacles. The CNN would have trained straight through the mirroring.

Results on 100 held-out corridors (collisions):

no steering 665

detector, zero training 288

detector with 7 hand-set constants tuned on 20 train corridors 195

CNN trained on 5 demo flights 213

CNN trained on 200 demo flights 49

Where the detector fails: I logged its decisions against ground-truth geometry. It flags 94% of obstacles actually in its path, at a median 5.5 m. But 76% of its escapes are at obstacles it would have missed anyway. Looming tells you something is getting bigger, not that it's on your course. A constant-bearing gate cut the false alarms but missed 39% of real threats, because the drone's own swerving makes everything drift sideways.

Caveats: rendered scenes with flat shading, simplified kinematics (sideways steering only), one training run per CNN point, and the CNN's teacher could see obstacle positions.

Both run live in the browser: https://shauryasharma.tech/fly-circuit-vs-cnn.html

Code: https://github.com/Shaurya-34/FlyvsCNN

Open question: is there a pixel-only way to tell "on a collision course" from "passing close by" when the camera itself is swerving?


r/computervision • • Sep 16 '26

Showcase DeepFace is now running on PyTorch

9 Upvotes

I'm the maintainer of DeepFace, an open-source face recognition library I've been developing since 2019.

When DeepFace started, TensorFlow/Keras was the dominant deep learning ecosystem, so that's what the library ran on.

Over the years, several community members requested PyTorch support, and the latest release now runs on both TensorFlow and PyTorch through optional extras.

pip install "deepface[tensorflow]"

pip install "deepface[pytorch]"

For backward compatibility, pip install deepface will continue to install the TensorFlow variant for a while.

I'd love feedback from people using PyTorch in production CV pipelines

Repo: https://github.com/serengil/deepface


r/computervision • • Sep 16 '26

Showcase DO NOT TRUST “convenient” inference APIs provided by famous repos!

14 Upvotes

I had a hunch: those nice one-line inference APIs like model(["input1", "input2", ...]) are screwing the preprocessing, leaving GPU wasting a surprising amount of time waiting.

So I tested it! To check it, I built explicit pipelines around the very same models and optimized the preprocessing. I wanted to see how much latency could change before touching the model itself.

On an NVIDIA L4, with the same models and eight-image batches, moving the input work into an explicit pipeline cut end-to-end latency by:

WorkloadNative APIExplicit route
YOLO detection65.95 ms32.37 ms
PaddleOCR text detection374.25 ms196.90 ms
Hugging Face ViT classification1786.22 ms593.35 ms

That is 51%, 47%, and 67% lower latency respectively.

The model did not get faster. I just stopped letting opaque convenience code decide when the model should run.

This is not “framework X is bad,” and it is not a universal result. It is one hardware setup and a few common inference paths. But it is a useful reminder that the friendly API boundary is also a performance decision.


r/computervision • • Sep 16 '26

Help: Project I was going to turn this into a SaaS, Open-sourcing it instead. Automatic 16:9 → 9:16 video reframing

Thumbnail reddit.com
0 Upvotes

r/computervision • • Sep 16 '26

Help: Project Looking for team members for RSNA Knee MRI Kaggle competition

8 Upvotes

Hi, i am putting together a team to compete for the RSNA knee MRI competition. I am a fellowship trained MSK radiologist with nearly 10 years in academic practice doing 100% MSK.

This is a computer vision machine learning multilabel classification problem with 4407 Knee MRI studies with corresponding MRI reports, and only 58 studies with ground truth labels. And the goal is to create a model that can detect 12 findings accurately (meniscal, cruciate lig. tears, OA etc.).

https://www.kaggle.com/competitions/rsna-knee-abnormality-detection/overview

I am looking for people that have these skills:

  • Computer Vision in Medical imaging
  • Access to GPU clusters for training.
  • Comfortable with PyTorch or Tensorflow
  • DINOv2/DINOv3, ViTs, ConvNeXt/EfficientNet, or similar backbones
  • 2D/2.5D/3D MRI classification
  • Kaggle competition pipelines and ensembling
  • Weak/soft labels, pseudo-labeling, active learning, or noisy-label training
  • LLM expertise to extract labels from reports

OR:

  • MSK trained radiologists willing to do over-reads of the MRI's

There are prize amounts for the top 10 most accurate models and the top 3 most efficient models, and winning teams will be able to present at RSNA with waived fee. We could also get a publication out of the effort and collaborate on future projects.

Note that this is primarily an opportunity to build your resume and gain skills/experience as the prize money will be relatively modest after compensating for costs for training the model and dividing among the team members. We currently have 2 machine learning specialists on board, but are looking for more people. Please DM me with some information about yourself and your experience with machine learning or msk radiology.

Thanks for your time!


r/computervision • • Sep 16 '26

Research Publication Looking for a research collaborator in CNN / Computer Vision / Deep Learning — APC funding required

Thumbnail reddit.com
1 Upvotes

r/computervision • • Sep 15 '26

Showcase Getting SLAM to fit on a tiny camera board took me 20 months

Thumbnail
mightycamera.com
59 Upvotes

r/computervision • • Sep 16 '26

Discussion Canvas Manipulation – How javascript can be used to shoot down US drones

Thumbnail academia.edu
0 Upvotes

r/computervision • • Sep 16 '26

Discussion BMVC 2026 - Looking for Roommate in Lancaster

2 Upvotes

Hi everyone,

I am a researcher from IISER Bhopal, India, and my paper has been accepted to BMVC 2026. I'll be attending the conference to present my paper in Lancaster this November.

I’m looking for a male roommate to share accommodation in Lancaster and split the cost. Ideally, I’m looking at the conference dates (around 23–26 November), but I’m flexible depending on travel plans.

If you’re also attending BMVC 2026 and looking for someone to share accommodation with, please DM me.

Thanks! 😄


r/computervision • • Sep 15 '26

Showcase Veggie chopping using cv (Knife skill assessment)

14 Upvotes

Hello! Made this through the summer, it Looks fun! You can practice using your phone (UI is ai slop lol)

https://cookcredit-knife-demo.web.app/

I'm more than happy to discuss the math behind it and suggestions to make it better! Thanks


r/computervision • • Sep 16 '26

Help: Theory Stereo with different cameras

1 Upvotes

Im starting to implement a stereo system with different cameras (2 Mpx 120FOVH and 5 Mpx 60 FOVH). I know that it is feasible, I read a paper 5-6 years ago about a system with different FOV cameras. Im reviewing the literature and find a lot of papers about stereo and trinocular systems, but only one paper about different FOV cameras. Can u help me to find papers/references about stereo/trinocular systems with different FOV, different resolution cameras?


r/computervision • • Sep 15 '26

Showcase I built a fully browser-based COLMAP photogrammetry workspace.

35 Upvotes

Hello!

I'm super excited to launch my free browser-based photogrammetry workspace today:

offlinetools.io/colmap

It’s a free and fully local browser implementation of the popular open-source photogrammetry software COLMAP.

No download, installation or cloud upload is required — all processing and footage stay on the user’s machine.

More info:
offlinetools.io/colmap-landing

Why?
Photogrammetry apps are typically desktop applications that require installation on your machine.

The alternative are cloud services that require uploading of data to servers.
However, both of these are not a good fit for professions dealing with sensitive data (often on restricted machines) such as police, medical, law enforcement, insurance. Or simply users who want results quickly without dealing with signups, setups, etc.

This implementation solves both issues and it's the first that reaches native-class performance and, in some cases, even outperforms the native build.

It produces standard COLMAP-compatible outputs such as camera poses, sparse point clouds, keypoints and masks for downstream workflows including Gaussian Splatting.

About me:
I’m a former Google engineer with around 20 years of experience in 3D computer vision.


r/computervision • • Sep 16 '26

Showcase YOLO26n training speed comparison

0 Upvotes

r/computervision • • Sep 15 '26

Showcase ShadeNet-2 20M — single-pass inverse rendering (albedo/depth/normal/shading) from any RGB image

Thumbnail gallery
3 Upvotes

r/computervision • • Sep 14 '26

Showcase Trained a multi-spot parking occupancy detector using a DINO backbone + procedural Blender synthetic data

573 Upvotes

I built this parking lot occupancy detector to work on real-world security cameras which tend to have lower angles and lots of obstructions from other cars.

I have seen other parking lot detection CV demos that use off-the-shelf object detectors (like standard YOLO bounding boxes). They would generally only work on impractical camera setups (e.g., drone shots or 200+ foot high cameras).

A couple of technical takeaways from training this that might be interesting:

  1. DINO Backbone vs. Standard CNNs: I tested several backbones, but the DINO Vision Transformer performed the best by a good margin. Because DINO learns patch-level representations without supervised class labels, it captures semantic surface texture (the difference between empty asphalt, tree shadows, and car undercarriages) and proved far more invariant to direct sun glare and rain washout than supervised backbones.
  2. Synthetic Data via Blender (The Biggest Upgrade): Public parking datasets are fairly limited and rarely capture extreme conditions. I built a parametric Blender pipeline to procedurally reconstruct parking lots and vehicles—randomizing asphalt PBR textures, camera angles/heights, sun positions, and vehicle placements. Mixing synthetic data with real sequences was surprisingly effective and gave the single biggest jump in zero-shot generalization to unseen cameras. One huge advantage of the synthetic data is that the labeling was always right (human annotation for far-off, angled parking spots is suprisingly error prone)
  3. The parking spots are drawn on the ground plane, and the vehicles are fairly disconnected from that visually. The large receptive field allows the model to learn interesting "cheats" that a human might also use to infer that a car is there even when it can't really be seen. For example, it may use a shadow on the pavement to identify that the space is occupied even if the body is blocked by another car.

Code:

The web app is open source on GitHub: https://github.com/lotvulture/lotvulture

The repo includes a community model and a higher-accuracy engine as a commercial feature: https://www.lotvulture.com/

Happy to answer questions about the synthetic data pipeline or edge inference trade-offs!


r/computervision • • Sep 15 '26

Discussion Tried using a Siamese Network for a small computer vision problem

4 Upvotes

I've been experimenting with one-shot learning and wanted to try something other than a standard classifier.

The problem is pretty simple: classify images as front view vs top view.

I trained a Siamese network where two images go through the same encoder, and the model learns whether their embeddings should be close or far apart using contrastive loss.

So instead of directly asking:

"Is this a front view image?"

the idea is more like:

"Is this image more similar to my front view reference or my top view reference?"

It was interesting to see how changing the problem from classification to similarity/metric learning changes the whole approach.

I'm still experimenting with it, so I'm curious what others would do for a problem like this.

Would you use a Siamese network, a regular classifier, pre trained embeddings + cosine similarity, or something else?


r/computervision • • Sep 15 '26

Help: Project Magnetic Vision: teaching AI to "see" motion using just a Hall-effect sensor — no camera required. 👇😊🧲

Thumbnail
hackster.io
1 Upvotes

r/computervision • • Sep 15 '26

Help: Project Advice needed: pediatric wrist radiograph measurement AI without DICOM or physical calibration

1 Upvotes

Hi everyone,

I am working on a thesis project to estimate pediatric wrist radiographic measurements from X-ray images: ulnar variance on frontal views and IUL on lateral views.

Main constraints:

  • Around 742 images, with historical target measurements in cm/mm.
  • No DICOM files and no reliable PixelSpacing metadata.
  • No radiopaque ruler or object of known size in the images.
  • Images are PSD, PNG, or JPEG; some may be scanned, cropped, or stored with different orientations.
  • Pediatric anatomy is highly variable: bones may be incompletely developed, so using bone size as a fixed physical reference is not valid.

We tested several approaches: segmentation, MedSAM with oracle bounding boxes, landmark detection, CLAHE/Canny/Scharr/edge-based methods, distance transforms, geometry-only methods, and dense image matching. None could locate the anatomical landmarks reliably enough to produce a true physical pixel-to-mm measurement.

The current approach is therefore supervised image-to-value prediction, trained separately for frontal and lateral views. For the frontal-view model, a CNN ensemble currently achieves:

  • Internal validation MAE: 0.735 mm
  • Locked internal holdout MAE: 0.728 mm

However, this is not a true physical measurement from pixels to millimeters. It is a statistical estimate in mm learned from the historical measurements in our dataset. The app also displays an internal uncertainty estimate and flags technically poor or ambiguous images for human review.

My question is: given these constraints, what would be the most scientifically defensible way to strengthen the project? Should I stay with direct supervised prediction plus uncertainty/quality control, or is there a realistic computer vision, self-supervised learning, or domain-adaptation approach that could improve robustness without DICOM, physical calibration, or a large new annotation effort?


r/computervision • • Sep 14 '26

Showcase GPT-6 Astra for Sports Analytics 🎾

126 Upvotes

GPT-6 Astra doesn't support video, but I got it doing tennis analytics anyway. The API rejects mp4, so I sent the video as a sequence of frames instead at 5 FPS, timestamp was attached in prompt, and a strict JSON schema to get event type/timestamp/player. Astra returns SERVE / HIT / POINT / FAULT events, so we can reconstruct scoreboard from events.

Cost: ~45k input tokens per 20s chunks, ~3 minute processing time, about $1 per 100 frames.

Astra is not a per-frame tracker tho, the skeletons in the video come from RF-DETR keypoint pose model, Astra only reasons on top.

Full write-up with the exact prompts, schemas and output videos: https://blog.roboflow.com/gpt6-astra-video-understanding/ (disclosure: I work at Roboflow)


r/computervision • • Sep 15 '26

Showcase What if a robotic dog can be trained on a video from a real dog? (3D mesh -> pose inference from video)

2 Upvotes

r/computervision • • Sep 15 '26

Help: Project Hardware Recommendations: What edge computer should I buy for a local Roboflow Docker vision system?

1 Upvotes

Hi everyone,

I am designing an automated computer vision inspection system for a food production line and need recommendations for the local computing hardware.

The camera specs are already locked in: we are using a high-resolution GigE Vision camera with a Global Shutter sensor. It will stream uncompressed images over a dedicated network interface to the computer.

The Project Parameters:

  • Conveyor Speed: 0.28 m/s
  • Frame Rate: 9 FPS
  • Defects to Catch: Shape deformations, bent edges, surface bubbles, and blisters on moving cookies.
  • Software Stack: An object detection model trained on Roboflow, deployed locally on the factory floor using a self-hosted Roboflow Inference Server Docker container.

My Question for the Community:

What specific computing platform or industrial edge computer would you propose to handle this?

I need something that can handle a continuous high-resolution GigE network stream at 9 FPS without packet loss or CPU starvation, while providing enough local GPU acceleration and VRAM to run local Docker inference on multiple cropped items per frame.


r/computervision • • Sep 15 '26

Research Publication SUPREME: an open-source framework for evaluating image-classification unlearning

1 Upvotes

We built SUPREME to make image-classification unlearning methods easier to evaluate and compare against retraining.

It provides a unified training, unlearning and evaluation workflow, with multi-GPU support, independent seed control, and an extensible Python API. Included components cover ResNet18, Vision Transformers, and methods such as SSD, SCRUB and Bad Teacher.

The framework is free and MIT-licensed. We’d welcome feedback from anyone working on unlearning for computer vision.

Code and documentation: https://github.com/pedroandreou/supreme-unlearning

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


r/computervision • • Sep 15 '26

Showcase I built a computer vision system for ASL-based restaurant ordering

4 Upvotes

I built a computer vision system for ASL-based restaurant ordering

_Post_

I built KaiSign, an accessible restaurant kiosk that uses computer vision to support ASL-based ordering.

It supports:

• Camera-based ASL input

• Capacitive touch controls

• Voice ordering with spoken confirmation

The camera recognises signed requests and displays the result for confirmation before adding it to the order.

The prototype uses a Raspberry Pi for the AI pipeline, along with a XIAO ESP32-S3 Sense, MPR121, microphone, and speaker.

The goal is to help Deaf customers place and customise orders independently.

🎥 Demo: https://youtu.be/E7D-2-5b5FE?si=2WjCvpyS5P89NVEZ

🔧 Full build: https://www.hackster.io/kaizen/kaisign-accessible-dining-reimagined-e8b724

This is my entry for the Seeed Studio Interactive Signage Contest. I’d appreciate feedback on recognition accuracy, confidence handling, and user confirmation.


r/computervision • • Sep 14 '26

Showcase Filling gaps in baseball tracking when the object detector misses frames

23 Upvotes

my best friend and I have been working on tracking a hit baseball from a single side-view 240 FPS camera.

the left side is the original footage. the blue boxes are frames where our object-tracking model successfully detected the baseball.

as you can see, there are a lot of gaps.

the right side is a temporal frame-differencing pipeline we tuned specifically for tracking a hit baseball from this camera angle.

what surprised me is how clearly the baseball separates from the scene temporally. even when the object model misses it, the temporal tracker can often keep following it very consistently.

the pink/purple X on the original footage is the position recovered by the temporal tracker.

so instead of requiring the object model to successfully detect the ball in every frame, we can use its detections as anchors and let the temporal system fill the missing parts of the trajectory.

that matters because those first post-contact frames are what we eventually use to estimate exit velocity, launch angle, and projected distance.

still working on making the recovery as robust as possible, but I thought the visualization was pretty cool.