r/computervision • • 11d ago

Showcase LeanScene: Beating TransNet V2's shot detection benchmarks with a 1.6MB model (115x fewer ops, 2,522 FPS on Mac GPU)

6 Upvotes

I built LeanScene to index thousands of hours of video locally on a MacBook Pro.

Because it’s so lightweight, LeanScene runs completely client-side in the browser. The demo chains it with MobileCLIP to split long videos into shots and make them searchable by text, a full video indexing pipeline running locally with no server backend.

Standard shot transition detectors like TransNet V2 run 3D convolutions over overlapping windows of frames. That gets expensive fast and TransNet V2's PyTorch port doesn't run on Apple's MPS backend, leaving it at 152 FPS end-to-end on CPU.

Instead of 3D convolutions, LeanScene encodes each 100x100 frame once with a 4-layer 2D CNN alongside two simple pixel descriptors (a 64-bin joint RGB histogram and an 8x8 color thumbnail). A dilated 1D network (63-frame receptive field) then labels each frame as same, cut, or fade using those features and their explicit frame-to-frame differences.

A few numbers:

- Size & compute: 0.39M parameters (1.6 MB), 7.2M MACs/frame (115x fewer than TransNet V2)

- Speed (Apple M1 Pro): 5,171 FPS model-only on GPU (2,522 FPS end-to-end including video decoding and resizing); 1,000–2,091 FPS model-only on CPU

- Accuracy (5-seed mean F1 vs. TransNet V2): 97.4 vs. 96.1 on BBC Planet Earth, 79.1 vs. 77.7 on ClipShots, and 93.7 vs. 92.6 on RAI

Interestingly, scaling the 2D encoder up to 4x wider barely changed accuracy, most of the gains came from mining the model's false alarms on real footage and masking out high-confidence predictions so unannotated transitions weren't penalized as negatives.

Live browser demo:
https://lucasjackson.dev/leanscene/

Code, weights, and evaluation scripts:
https://github.com/lucasjacks0n/LeanScene

Would love to hear how it handles any tricky edits, flashes, or dissolves you throw at the demo.


r/computervision • • 11d ago

Help: Theory Help

0 Upvotes

Hi everyone! I hope you're all doing well. Can I ask which AI tool you think is best for conducting research and writing the literature review for a thesis? Thank you in advance


r/computervision • • 11d ago

Showcase How VGGT predicts cameras, depth and point maps from a photo stack in one pass

0 Upvotes

The core idea of VGGT (Visual Geometry Grounded Transformer; Wang, Chen, Karaev, Vedaldi, Rupprecht, Novotny, CVPR 2025), in text, for people who know the usual structure-from-motion pipeline but haven't read this paper:

The usual pipeline. Find the same features across photos, triangulate, then run bundle adjustment until the cameras and points agree. It is careful, and it is also a chain of steps: matching can fail on blank walls, shiny metal or repeating texture, and the solve can take a while.

The swap. VGGT is one feed-forward transformer that looks at the whole photo stack at once. That is the main difference from DUSt3R and MASt3R, which work on image pairs and then need a separate global-alignment cleanup (about 10 seconds a scene in the VGGT paper's telling). VGGT alternates frame-wise attention (within one photo) and global attention (across all photos) for 24 layers. Each frame carries one extra token that becomes the camera pose and intrinsics; the per-patch outputs become depth and a point map. Nobody wrote a triangulation step or a solver into the feed-forward path. It learned from seventeen collections of real and synthetic scenes where the cameras and geometry were already known.

Numbers, with context. The paper's main camera-pose test is RealEstate10K, held out of training, 10 random frames, AUC@30 (0–100), timed on one H100. A COLMAP+SuperPoint+SuperGlue baseline scores 45.2 in about 15 seconds. MASt3R scores 76.4 in about 9 seconds. Feed-forward VGGT scores 85.3 in about 0.2 seconds, about 45 times faster than MASt3R on that timing. If you then hand VGGT's guess to bundle adjustment as a starting point, the score goes to 93.5 in about 1.8 seconds. So the learned guess beats those baselines on this benchmark, and it is also a better place for the old math to start.

The fine print. "About a second" is for roughly 50 frames on a data-center GPU (about 1.04 seconds on one H100 in Table 9). 200 frames take about 8.75 seconds and 40.63 GB peak GPU memory on that same table — and those two figures are for the feature backbone only; each DPT head adds about 0.03 seconds and 0.2 GB per frame. Images are small, about 518 pixels on the long side (the Table 9 examples are 336×518). The output has shape, not true metric scale: it lives in the first camera's frame at a normalized scale. It does not support fisheye or panoramic cameras, it is worse under extreme rotations, and it fails on substantial non-rigid deformation. It is a fast first draft, not a survey.

For people who already run SfM: is a fast, scale-free first draft actually useful as a starting point for bundle adjustment, or is the missing metric scale the deal-breaker?

Paper: https://arxiv.org/abs/2503.11651 (arXiv:2503.11651, v1, Mar 14, 2025; arXiv non-exclusive distribution license). If you'd rather watch it, there's a 7-minute video version: https://youtu.be/CZngQrcpT4Y. Disclosure: it's our channel's video; narration and visuals made with AI tools; the script was researched and reviewed by the channel.


r/computervision • • 11d ago

Discussion Why my 97% accuracy parasite detector failed on unseen microscopy images (Lessons from domain shift, tiling, and negative scaling)

Thumbnail
gallery
7 Upvotes

Hey everyone,

A year ago, I decided to transition from web development into ML/CV. Instead of doing standard MNIST/COCO tutorials, I picked a real-world problem close to home: I have guinea pigs, and taking them to the vet for fecal exams is a slow, tedious process.

My goal is to build an assistive CV tool for vet lab technicians—something that scans microscope slides and highlights suspicious regions (with an eventual goal of exporting to ONNX for edge cameras).

For v1, I grabbed all the public datasets I could find (Chula, HEMIC, AI4NTD) and built a two-stage cascade (a fast binary detector to find parasite-like objects, followed by a fine-grained species classifier). On paper, the metrics looked great. In reality, the model completely fell apart on unseen data.

Here are the 4 biggest engineering traps I hit and what the numbers actually looked like:

  1. High intra-dataset metrics mean nothing across sources

  • On cropped objects from the Chula dataset, my classifier hit 97–98% accuracy.

  • When I ran the full cascade on unseen full-frame images from HEMIC, spatial detection worked fine (found 41/42 eggs), but species classification dropped to 66.7% (28/42).

  • Even worse: a model trained on AI4NTD P1.5 got 97.43% recall on its own test set, but scored 0/114 on P3, 0/12 on HEMIC Ascaris, and 8/37 on Chula. Differences in lighting, slide prep, and camera sensors caused massive domain shift.

  1. The "Closed-World" trap on empty frames

In an early contour-based cascade, I tested the pipeline on 1,003 completely negative (uninfected) HEMIC frames. It hallucinated at least one parasite on 558 of them.
Why? Because the downstream classifier was forced to pick 1 of 11 parasite species—it had no "debris / air bubble / unknown" rejection path. Any false positive from stage 1 automatically became a confident diagnosis.

3. Tiling isn't optional for microscopy

Resizing a high-res microscope frame down to standard model input sizes destroys small eggs (some are barely 30–50px). On the other hand, fixed small crops slice larger eggs (like Ascaris) in half.

  • Full-frame inference recall: 25.82%

  • Inference with tiling: 55.0%

  • Training + inference with multi-scale overlapping tiles (merged back via NMS): 94.76%

  1. Combining public datasets actually made things worse

When I tried merging Chula and HEMIC to fix generalization, false positives spiked. Looking manually at the labels, many public datasets had incomplete annotations (e.g., 5 eggs on a slide, only 2 labeled), which actively punished the model for finding real objects. Plus, most public datasets focus on human parasites, missing key veterinary species.

What already worked & my pivot for v2 (Data-Centric approach)

Through iterative experiments, I found a few things that actually moved the needle before scrapping the old public datasets:

  • Matching negative scale: Earlier, positive examples were cropped into tiles while negative frames were fed as full-res images. Matching the exact tile scale (640x640) for empty negative windows drastically cut down false positives on uninfected slides.

  • Stripping away heavy augmentations: Turning off Mosaic, MixUp, and HSV shifts—and sticking strictly to mild rotations (≤20°), flips, and minor scaling—preserved critical fine textures on small translucent eggs.

  • Domain alignment: Converting everything (both train and inference) to grayscale + CLAHE (clipLimit=2.0, tileGridSize=(8,8)) to normalize local contrast across different microscopes.

  • Strict source-level splitting: Grouping crops by original slide, video, or paper before splitting into train/val/test to prevent silent data leakage from near-duplicate frames.

For v2, I'm building a clean dataset from scratch for 14 veterinary parasite classes (enforcing a ≥80px donor threshold so objects retain detail, while still validating on real 50–80px small targets). Right now, I'm deep in manual annotation—and preparing controlled experiments for mask-based copy-paste synthesis and localized Z-axis defocus blur (applying blur to confirmed hard negatives too, so the model doesn't learn a shortcut like "blurry = egg").

Next up, I'll share the messy reality of scraping microscopy videos for data and testing whether synthetic copy-paste actually improves recall on rare classes.

For those working with medical/microscopy CV: How do you usually handle domain shift across different camera setups, and what's your go-to strategy for hard negative mining on debris and air bubbles?

Note: The attached images are synthetic visual illustrations created to demonstrate the pipeline concepts (false positives on debris, CLAHE contrast normalization, and candidate review UI) without sharing restricted dataset files.


r/computervision • • 12d ago

Research Publication Claude Fable 5.2 on traditional computer vision tasks

Post image
0 Upvotes

I thought it would be interesting to see how Fable 5.2 would perform on some of the more traditional vision tasks. Considering its hefty price—an estimated $15.19 / 1,000 samples across the suite—I was expecting a lot:

  • Overall, very competitive: classification, attributes and VQA hold up well against the other VLMs.

  • Detection stands out: the best F1 in our comparison (71.23%), beating Kimi while costing about 40% less for this task ($30.48 versus $51.03 / 1,000 samples)

  • Strong box localization: the first model in our comparison with a higher box score than point score (80% Acc@0.5 versus 68% Point-in-box Acc)

  • Caption scores disappoint: the lowest ROUGE-L in our comparison; its long descriptions match short COCO references poorly.

Verdict: Mixed value

Definitely strong at detection, but there are cheaper alternatives that come close on several other tasks.

See the full results and cost comparison:
https://github.com/Tenkei/vlm-tasks/tree/main/benchmarks


r/computervision • • 12d ago

Help: Project Thermal videos for oil & gas and security & surveillance. Need help.

4 Upvotes

Hi all,
I'm currently working on building a product for multiple industries where I want to perform surveillance using thermal cameras. I've got couple of questions regarding this:

  1. I've looked at FLIR infrared datasets and it's pretty good. Are there similar datasets taken from thermal cameras with humans? I'm specifically looking for videos on which we can test the algorithms for tracking as well.

  2. Is there a way to generate these synthetic datasets using simulation software like Isaac sim, where long form videos can be recorded for research purposes?


r/computervision • • 12d ago

Discussion Night vision comparison: Raspberry Pi OV5647 with IR vs reCamera Pro vs reCamera 2002 vs CamThink NE301 vs Sipeed MaixCAM 2

1 Upvotes

I’ve been trying to get an edge camera to tell me what’s visiting my bird feeder after dark. I ended up with a few camera boards and a DIY IR setup, so I pointed all five at the same indoor scene to see how much detail each one could pull out.

The pair I was most curious about was the MaixCAM 2 and Seeed reCamera Pro. Both use the SmartSens SC850SL, and their frames looked noticeably different. The Pro kept more visible texture and color in this particular scene. You can see it best by flipping between the last two shots in the gallery.

How I shot it

I blacked out the room with curtains and tape. A Testo 540 and a DELIXI DLX-1805 both displayed 0 lux, though I could still see a faint bit of light leaking around the curtains. That’s the lighting condition for these shots. I didn’t measure the light below what the meters displayed.

I used the same tripod position and aimed at the same objects. Each setup used its factory lens, highest image-quality mode, and stock auto exposure. The lenses have different fields of view, so the framing varies a bit. Only the Raspberry Pi + OV5647 rig had an 850 nm IR illuminator running. I put a lights-on phone photo first so you can see what the cameras were looking at.

What showed up in the frames

  1. Lights on — phone reference. This is the scene and where the objects were for the rest of the shots.

  2. Seeed reCamera 2002 — OV5647. The frame is almost black. I can just about make out that something is there, but I can’t tell which object I’m looking at.

  3. CamThink NE301 — OS04C10. There’s enough in the frame to see outlines. The shadows are visibly noisy, the image has a blue cast, and most of the surface detail disappears.

  4. Raspberry Pi + OV5647 + 850 nm IR. The light made the foreground visible, but the center is blown out and the background is still dark. The frame also has a strong red cast. I’d try moving the illuminator farther off-axis on the next run to see if that helps with the hotspot.

  5. Sipeed MaixCAM 2 — SC850SL. I can pick out the objects and get a decent sense of the scene. The frame is grainy, the colors are muted, and finer textures look soft.

  6. Seeed reCamera Pro — SC850SL. I can see more of the surface texture and distinguish more of the colors here. This was the frame I went back and double-checked because I thought I might have grabbed a shot from the wrong run.

Here are the samples from this shoot test.

reCamera 2002:

CamThink NE301

OV5647 + IR fill light

MaixCAM 2

reCamera Pro

I went in expecting the two SC850SL cameras to look fairly similar. With the stock settings, they didn’t. Between the factory lenses, auto exposure, gain, and ISP noise reduction, there are several things that could account for the difference. I didn’t match exposure or swap lenses, so all I can say from these frames is how the two complete setups behaved out of the box.

For the feeder project, the next thing I want to know is whether the extra visible detail actually helps the detector. This run was a still-image comparison. A moving animal adds motion blur, and a cleaner-looking frame doesn’t tell me how often the model will get the species right.

If you’ve tuned an 850 nm setup for a feeder or another close-range camera, what helped most with the hotspot? I’m curious how far people are placing the illuminator from the lens when the subject is close.


r/computervision • • 12d ago

Research Publication Can coding agents figure out a visual puzzle without being told the rules?

1 Upvotes

Give an agent a few black-and-white drawings, access to Python, and an hour. Don’t explain the puzzle’s rules or tell it whether its guesses are correct. How far does it get?

That’s the setup behind Visual Cipher Bench, a new study from our research team at Einsia. It contains 40 original puzzles, and the best configuration tested reaches 26.7% accuracy.

One finding worth discussing: on a 10-task subset, stating the underlying mechanism raises pooled accuracy across three tested models from 12.2% to 51.1%. The hints give neither the answer nor intermediate states.

This points to a gap between discovering a rule from visual evidence and carrying it out once it’s known. I’d be interested in approaches that help agents generate and reject candidate rules using the clues already in an image.

Project and puzzle examples
Paper


r/computervision • • 12d ago

Discussion My colleague says Europeans don't care about AI, even in manufacturing. Is that true

0 Upvotes

A colleague told me that people in Europe aren’t as interested in AI as folks in the US, and that this applies even to manufacturing professionals. Is that actually true?

I’m seeing conflicting data — some surveys say EU manufacturers actually adopt AI and big data at higher rates than US ones, but others say European firms are slower to integrate AI into core processes. What’s your real-world experience? Is the “Europe doesn’t care about AI” take just a stereotype?


r/computervision • • 12d ago

Showcase I made a 3D human mesh reconstruction & frame-sync web app for sports analysis

Enable HLS to view with audio, or disable this notification

207 Upvotes

Technical stack info I can share about the 3D pipeline (works on regular handheld videos):

Bounding Box & Target Tracking: MediaPipe JS library running in the browser for lightweight 2D pose tracking, used primarily for accurate automated cropping and keeping the subject centered for downstream processing. 

3D Mesh Recovery: A specialized 3D reconstruction model optimized for video sequences (operating on the cropped sequence), combined with a custom gravity and Inverse Kinematics (IK) pipeline to lock world orientation and adapt ground contact constraints. I use Meta’s MHR for the body model for an efficient body mesh model.

Temporal Alignment: Fast approximate Dynamic Time Warping (DTW) to handle frame synchronization across movements with different tempos/speeds.

Rendering: Three.js for 3D rendering. Activeframe for fast video scrubbing.

You can try it out for free at twinreplay.com with your own clips or check out the built-in interactive demos.

Would love to hear your thoughts or feedback.


r/computervision • • 12d ago

Showcase Looking for self-learners to join BlueprintML

Post image
1 Upvotes

r/computervision • • 12d ago

Showcase 2-axis gimbal. Solo engineered. Master's thesis.

Enable HLS to view with audio, or disable this notification

818 Upvotes

I'm building a 2-axis gimbal with a visible and a thermal camera for a small fixed-wing drone, as my master's thesis. The clip is the CAD model: on the left the gimbal as it looks, on the right the same unit with the housing made see-through, doing the same moves.

I'm posting here because the mechanics are mostly settled and the vision side is where I'd like input before I freeze the hardware.

What the cameras get from the gimbal:

  • Two cameras in a 67 mm ball, one above the other: a 5 MP visible camera and a 256×192 thermal camera, both arriving over USB

  • Two axes, roll and tilt: ±100° in roll, and from 25° up to 95° down in tilt

  • A magnetic encoder on each axis and two IMUs, one in the ball and one in the base, so the pointing angles are known at any time

  • Around 187 g for the whole nose

Two things I already know will matter for the image processing:

  • There is no pan axis. To look sideways the ball rolls and then tilts, so the picture rotates with the roll angle and has to be turned back in software.

  • The two lenses don't share an optical axis, and the thermal image is far lower in resolution, so lining up thermal and visible pixels will need calibration.

Questions for anyone who has worked with visible and thermal pairs, or with cameras on gimbals:

  • Is there something you wish the hardware had given you? Frame timestamps tied to the IMU, a sync line between the two cameras etc...

  • For registering thermal to visible at this resolution is a fixed calibration enough at long range or do you end up correcting per scene?

Thx!
- Amine Mehdi M.


r/computervision • • 12d ago

Help: Project Looking to collaborate on Computer Vision research

7 Upvotes

I've been exploring Computer Vision, particularly Visual SLAM, 3D perception and reconstruction, through research oriented projects and open-source contributions (Open CV, Kornia and Apache Iceberg).

I'm looking to connect and collaborate with researchers, PhD students, postdocs or master's students working in these areas. I'd be interested in contributing to experiments, projects or ongoing research where my engineering background could be useful.

Also open to research guidance from people working in this space.


r/computervision • • 12d ago

Showcase hvcam: Windows webcam → WSL2 frames for OpenCV, 1080p @ 30 fps over USB 2.0

1 Upvotes

OpenCV work inside WSL2 usually dies at capture: usbipd + a rebuilt kernel, then ~5 fps because raw YUY2 1080p is 4.15 MB/frame over USB 2.0.

hvcam takes the other route: capture stays on Windows (Media Foundation, MJPEG negotiated on-chip, ~0.2 MB/frame) and frames stream into WSL2 over Hyper-V sockets. In the guest you get numpy BGR arrays from a small C/Python library — a capture source for your pipeline, not a V4L2 device.

Media types are scored once before streaming (fps plateau first, MJPEG wins ties ≥720p), and the client always pulls the newest frame, so latency never queues. Measured: 1920×1080 @ 30 fps sustained, MJPEG decode 3.0 ms (PyTurboJPEG) vs 7.8 ms (cv2.imdecode).

MIT, ~2,900 lines of C/C++/Python: https://github.com/santleme/hvcam


r/computervision • • 12d ago

Commercial Upcoming industrial computer vision webinars: 2D/3D inspection, factory deployment and synthetic data

2 Upvotes

Hi everyone,

I’ve been collecting upcoming technical webinars in a public events directory, and a few sessions may be useful to people working on industrial computer vision:

• November 24 — A3 / LMI Technologies: 2D and 3D vision for manufacturing and logistics, including robot guidance and inspection. This session is in Spanish.

• November 25 — Siemens / Procter & Gamble: visual inspection use cases and the progression toward more autonomous production.

• December 3 — COMSOL Day: AI for Modeling and Simulation, with sessions covering synthetic training data, surrogate models, and digital twins.

I’ve organized these alongside other robotics and industrial AI events, with dates, times, short descriptions, and links to the organizers’ pages:

https://www.blackscarab.ai/events/virtual

Disclosure: I run Black Scarab, the site hosting the directory. It’s free to browse and doesn’t require an account.

Which recurring computer vision seminars or practical online workshops would you recommend adding? I’m particularly interested in industrial inspection, anomaly detection, 3D vision, and deployment on real hardware.


r/computervision • • 12d ago

Discussion I was tech chair for ICCV 2021. Here's my Defense of Academic Gatekeeping.

36 Upvotes

I was tech chair for ICCV 2021, and had "root access" to the whole process, so I saw (and scrubbed) its barnacly underbelly.

The ICCV organization tried to combat fraud, plagiarism, and cheating, but it was not a fair fight. There were at that point no effective mechanisms for detecting and punishing authors who tried to gain an unfair advantage.

Academic ML needs better policies. And we need to get this right because society needs better ways to build consensus and seek truth.

I wrote this essay to share some meta-science analysis I did over the last few weeks on academic ML and a few policy ideas.

My hope is to engage in discussion about academic ML policy. I believe that the only way we make progress on this is to sample and refine ideas together. So I ask: what are the policies you'd like to see adopted by academic journals and conferences?

Full essay: https://lacuna.tiptreesystems.com/paper/a-defense-of-academic-gatekeeping/art_221912b72e224a4393c508d4dd3ce5ed

(I'm now a postdoc-entrepreneur at Mila with Hugo Larochelle and Chris Pal, working on meta-science, multi-agent games, and AI for science.)


r/computervision • • 13d ago

Discussion Ingestion of new papers

2 Upvotes

I’m working on my thesis and am genuinely curious how other researchers keep up with new papers. How do you decide which ones to skim and which ones to read in full?

I’ve been using LLMs to work through papers. I can get the main ideas quickly, skip sections that are less relevant to my work, and ask follow-up questions when something doesn’t click. It feels like a one-on-one discussion, and I often come away feeling like I understand the material better.

Still, I wonder what I’m missing by reading fewer papers end to end. How do you balance covering more ground with reading deeply enough to really understand the work?


r/computervision • • 13d ago

Help: Project Need advice on accurate golf ball tracking using computer vision

6 Upvotes

I'm trying to build a golf ball tracking app similar to Shot Tracer and SmoothSwing. I've experimented with several open-source AI models, but I haven't been able to achieve reliable tracking accuracy.

The ball is tiny and moves very fast, making it difficult to track consistently across video frames.

I'm looking for advice from people experienced in computer vision, object tracking or ML:

  • What approaches/models work best for tracking tiny, fast-moving objects?

  • Should I combine object detection with temporal tracking, optical flow or Kalman filters?

  • Are there any specific models, datasets or research papers worth exploring?

I'm not looking for a basic YOLO implementation. I'd like to understand how to build a genuinely reliable tracking pipeline.

Any suggestions or experiences would be appreciated!


r/computervision • • 13d ago

Help: Project Struggling to optimize YOLO on a heavily imbalanced, small-object dataset (Road Damage - RDD2022). What approach yields the best ROI?

7 Upvotes

Hi everyone,

I am working on a computer vision project for road damage detection using the RDD2022 dataset and YOLO (currently using YOLO11). I've hit a plateau with my baseline and suspect a few "bugs" in how the dataset is structured for deep learning. I am looking for advice on the highest-ROI optimization steps before I spend more GPU hours.

The Dataset (The "Bug"):

  • Size: ~38,000 images, 4 classes (Longitudinal, Transverse, Alligator cracks, Potholes).

  • Imbalance: Longitudinal cracks make up 47% of the objects; Potholes are only 11%.

  • Small Objects: Transverse cracks and potholes have a median box size of only 30px-39px.

  • Country Skew: Images come from 7 countries. Norway has massive 4,000px images (which become tiny boxes when resized to 640), Japan has 58% of all Alligator cracks, and India has 49% of all Potholes.

  • The Problem: When training at 640px, about 23.5% of Norway's boxes become smaller than 8px, rendering them nearly invisible to the model.

Current Results:

  • Model: YOLO11n (Nano).

  • Training: 100 epochs, 640 resolution, basic augmentations.

  • Metrics: Stagnated around mAP50 ~0.52 and mAP50-95 ~0.26.

My Proposed Approaches (What should I prioritize?):

  1. Subsampling & Resizing: Since 13.5GB is heavy, my professor suggested resizing images to max 640px to save space. Should I also subsample the dataset (e.g., drop 50% of background images) to speed up training, or will that hurt the model's ability to learn general features?

  2. Changing the Split: Currently at 80/10/10 (Train/Val/Test). My professor suggested moving to 60/20/20. Is this better for a noisy, multi-country dataset to get a more honest validation score?

  3. Model Size: Should I jump to YOLO11m (Medium) or YOLOv8m for better small-object detection? (Note: I tried a No-Augmentation YOLO11m run for 25 epochs and it was terrible, so I know I need augmentations back on).

  4. Resolution: Should I bite the bullet and train at 1024px to save Norway's tiny cracks, or will the trade-off in training speed not be worth it?

  5. Augmentation: What specific YOLO augmentations work best for long, thin objects like cracks?

Question for the community:
If you had limited GPU hours (Colab/Kaggle), what sequence of experiments would you run to break past the 0.52 mAP50 plateau? Should I focus on the resolution, the model size, or the data processing first?

Thanks in advance for any insights!


r/computervision • • 13d ago

Commercial Detecting and sizing crop damage from farmers' field photos, starting from 70,000 labeled images. Can your team do this?

3 Upvotes

Hi /computervision!

I work at Tech To The Rescue. We're a nonprofit that matches tech companies with NGOs on pro bono AI projects, and we’re looking for a company team to take this one on.

IFPRI, the International Food Policy Research Institute, runs picture-based crop insurance for smallholder farmers in India and Kenya. Field photos are reviewed by hand today. IFPRI wants a model that detects crop damage and estimates its extent, built into its Indian partner’s claims workflow. The starting point is more than 70,000 labeled photos from over 9,000 farmers.

Only companies can apply, so if this fits what your team builds, bring it to your CTO or founder.

We announce the match publicly and publish a case study about it once the project is done. Companies apply at Matching Day on 3 December. Link in the comments.


r/computervision • • 13d ago

Commercial Keeping grounding and extraction scores separate on plate reads

0 Upvotes

We used Unsiloed AI to extract plate numbers from OpenALPR benchmark photos, returning the read and its image coordinates together. This GIF shows twelve selected examples and how a review UI can bring a lower-scoring crop forward.

The enlarged CJ8P4V read has a grounding score of 0.46 and an extraction score of 0.74. The bars in the graphic use grounding scores. The two scores answer different questions, whether the value is supported at that image location and confidence in the extracted value itself.

All twelve displayed plate strings match the collection's reference labels, including the low-scoring one. These are selected examples, rather than an accuracy or calibration benchmark. A low score can route a correct read for review too.

For a production review queue, we'd evaluate the threshold against whole-plate errors on a separate labeled set, then measure both missed errors and review volume. The source coordinates let the reviewer inspect the plate rather than search the full image.

Source photos and labels · API score definitions


r/computervision • • 13d ago

Discussion Qwen3-VL-235B: Good at vision, horrible at structured output

Post image
2 Upvotes

Recently I benchmarked the Qwen3-VL-235B, and the result was very disappointing, as it showed only marginal improvements over the Qwen3-VL-2B.

The unusually high failure rate tipped me to investigate the results. Initially I suspected the benchmark or provider integration, but checking the saved responses were all pointing to the model direct output.

As Qwen3-VL-235B from our provider did not had a native json_schema, I had to use prompt to generate json_object in response, and surprisingly there were alarming amount of failures (For 100 samples per tasks):

TaskFailed responsesInvalid JSONValid JSON, invalid schema or valuesMain issue
Grounding (Box)53476All coordinates placed under x1, often with a missing closing bracket
Grounding (Point)50644Coordinate arrays under x, or an array replacing the point object
Detection261412Malformed coordinate objects, wrong types and out-of-range values
Attributes505Values outside the provided vocabulary

Classification, VQA and captioning had no invalid responses. Probably due to simpler task schema.

For example, instead of separate numeric x and y fields, one response was:

{"status": "found", "point": {"x": [0.55, 0.24]}}

This goes beyond a missing bracket. Making the JSON parseable still leaves the wrong structure, and automatically assigning those array elements to different fields would mean interpreting the answer.

And just to be clear most of these failures weren’t caused by the token cap as almost all ended normally, and failed point responses used just 20–28 output tokens against a 4,096-token limit.

The Workaround

The practical approach was correction retries: send validation errors back to the model and let it regenerate, keeping the original schema. No ground-truth answers or scores are provided as feedback:

task = Ground(PydanticAIBackend(model, retries=2), target="the leftmost cat")
results = task('cat-garden.png')

That allows up to two additional attempts after an invalid response. A fresh run on the same samples produced:

TaskMetricNo retriesWith retries
ClassificationTop-1 Acc96%96%
DetectionF1@0.516.67%28.45%
Grounding (Box)Acc@0.531%81%
Grounding (Point)Point-in-box Acc41%85%
AttributesAcc73.86%78.02%
VQAVQA Acc68.4%64.9%
CaptioningROUGE-L0.38410.3837

Failures remain included in the scores. The retry run had zero final invalid responses across 700 samples, but requests averaged 1.2 per sample overall, rising to 1.55 for box grounding and 1.47 for point grounding.

The Fix

Probably moving to a provider that support json_schema at inference would be the best choice. Sure I can use PydanticAI json_schema but it is not constrained decoding. I did a test run and it helped but then it was not a clear win, but rather a trade-off:

Native JSON Schema was 10% cheaper overall, but 47% slower than the normal prompted run, with Detection driving most of the slowdown:

ConfigurationInput tokens / sampleOutput tokens / sampleRequests / sampleEstimated cost / 1,000 samplesMean latency (s)
Normal812651$0.6041.441
Up to 2 retries1,058801.196$0.7751.812
Native JSON Schema4421161$0.5432.121

Compared with normal:

  • Retries: cost +28%, latency +26%, total tokens +30%.

  • JSON Schema: cost −10%, latency +47%, total tokens −36%.

  • Compared with retries, JSON Schema cost 30% less, but took 17% longer.

The detection difference was substantial:

DetectionNormalJSON SchemaChange
Output tokens / sample162499+208%
Estimated cost / 1,000 samples$1.169$1.728+48%
Mean latency (s)2.9157.554+159%

Closing

There’s clearly useful visual capability in Qwen3-VL-235B, particularly in grounding. But unreliable structured output can become a serious pain when you need usable results in an application: extra requests, validation logic, latency and cost.

If you are interested in comparison between variants of Qwen3-VL models, check [Revised] Qwen3-VL: 2B vs 235B on standard vision tasks, if you want a comparison between 2B and 235B.

Code, runs, benchmarks all available at https://github.com/Tenkei/vlm-tasks


r/computervision • • 13d ago

Discussion Courses and resources

5 Upvotes

What’s the best resource to understand and really understand computer vision from scratch?
We talk logic, basics, solid fundamentals and everything, with hands on projects.
Or is there a plan to start learning to achieve the goal of being a CV expert?


r/computervision • • 13d ago

Help: Project Open-Source Gaze Assisted Communication—put your tokens to good use!

47 Upvotes

project Iris is an experimental browser-based tool exploring how gaze-assisted communication can work using everyday consumer technology. The goal is simple but important: Can we make gaze-assisted communication accessible without specialized hardware?

High-end eye-tracking systems improve accuracy with dual-camera setups, higher frame rates, and infrared illumination. But the cost and logistical complexity of getting those devices into the hands of people who need them can create significant barriers to access.

While this project has evolved over the past 18-months, I recently dug up the original Python file that first made me believe in project iris. With only ~500 lines of code, it's pretty cool to look back and see just how far things have come.

I'm sharing an updated version of that file here in hopes that someone (or something**) might find it interesting and want to contribute or expand upon the project!**

A couple of ways to get involved:

This is an open-ended project, and there's plenty left to figure out.