r/computervision • • Oct 15 '24

Discussion Eye contact correction with LivePortrait

98 Upvotes

r/computervision • • Sep 07 '19

Tiler - A Tool To Build Images Out Of Smaller Images (supports multiple shapes and sizes) (link in comments)

Post image
98 Upvotes

r/computervision • • 6d ago

Showcase Custom 3D SLAM pipeline

97 Upvotes

Just thought I'd share my final-year CompE project here. Had to build a first principles 3D SLAM hand-held rig so no OpenCV, Eigen, no libraries at all allowed (except UI of course). Ended up beating out cuVSLAM and ORB-SLAM3 on accuracy while getting 4.3ms/frame average on the Jetson Orin Nano, roughly an order of magnitude faster than ORB-SLAM3, and about 4 times faster than cuVSLAM while being 3 times more accurate (roughly). Pretty proud. Unfortunately cant publish the full code though.


r/computervision • • Apr 02 '26

Discussion Everyone's wondering if LLMs are going to replace CV workflows. I tested Claude Opus 4.6 on a real segmentation task. Here's what happened.

Post image
97 Upvotes

With models like Claude Opus 4.6 writing code, debugging autonomously, and reasoning about images - I keep seeing the question: is this about to replace traditional CV pipelines?

So I tested it.

Uploaded a densely packed retail shelf image and asked Claude to segment every beverage bottle. Simple enough task for any CV engineer with the right tools.

Claude didn't give up. Over 12+ minutes it autonomously pivoted through six strategies:

  1. Edge detection + colour analysis → 0 regions

  2. K-means clustering → regions too coarse

  3. Superpixel segmentation → 14 rough instances

  4. Parameter tuning → missed lower shelves entirely

  5. Felzenszwalb region merging → source file got lost mid-session

  6. Tried to recover from its own previous outputs

Honestly? The reasoning was impressive. Each pivot was a smart response to the previous failure. It was doing what a junior engineer would do with OpenCV docs and no access to modern models.

But the output was never usable. You can see the results in the image.

Then I ran the same image through SAM. 88 bottles. Clean instance masks. Under a minute.

My takeaway: LLMs aren't coming for CV engineers' jobs, they're coming for the reasoning part of the workflow. The model selection, the pipeline logic, the task decomposition. That stuff they're already great at.

But without access to actual vision models, even the best LLM is writing workarounds that don't work.

The future probably isn't LLM vs CV. It's LLM orchestrating CV. The reasoning layer deciding which model to run, when, and on what - and leaving the actual vision to purpose-built tools.

Interested to hear what this sub thinks. Has anyone found cases where LLMs actually produced usable CV output directly?

Edit: wrote up the full experiment with more details here


r/computervision • • Oct 03 '25

Discussion Heat maps extraction for Ultralytics YOLO

Post image
97 Upvotes

Hi everybody. I would like to ask how this kind of heat map extraction can be done?

I know feature or attention map extraction (transformer specific) can be done, but how they (image taken from yolov12 paper) can get that much perfect feature maps?

Or am I missing something in the context of heat maps?

Any clarification highly appreciated. Thx.


r/computervision • • Mar 31 '25

Discussion Vision LLMs are far from 'solving' computer vision: a case study from face recognition

97 Upvotes

I thought it'd be interesting to assess face recognition performance of vision LLMs. Even though it wouldn't be wise to use a vision LLM to do face rec when there are dedicated models, I'll note that:

- it gives us a way to measure the gap between dedicated vision models and LLM approaches, to assess how close we are to 'vision is solved'.

- lots of jurisdictions have regulations around face rec system, so it is important to know if vision LLMs are becoming capable face rec systems.

I measured performance of multiple models on multiple datasets (AgeDB30, LFW, CFP). As a baseline, I used arface-resnet-100. Note that as there are 24,000 pair of images, I did not benchmark the more costly commercial APIs:

Results

Samples

Summary:

- Most vision LLMs are very far from even a several year old resnet-100.

- All models perform better than random chance.

- The google models (Gemini, Gemma) perform best.

Repo here


r/computervision • • Oct 23 '22

Showcase Custom PyTorch Model with OpenCV Tracking a Laser Pointer

97 Upvotes

r/computervision • • Oct 19 '22

Discussion 6D pose estimation in the wild with this self-supervised approach

97 Upvotes

r/computervision • • Apr 10 '22

Discussion 3D models generated from text inputs

97 Upvotes

r/computervision • • Aug 11 '21

Showcase Tutorial: Prune and quantize YOLOv5 for 10x better performance and 12x smaller size

97 Upvotes

r/computervision • • Apr 30 '21

Showcase 11 TB dataset of drone imagery with annotations for small object detection and tracking

97 Upvotes

r/computervision • • Jan 01 '26

Showcase Depth Anything V2 works better than I though it would from 2MP photo

Post image
96 Upvotes

For my 3D printed robot arm project using a single photo (2 examples in post) from ESP32-S3 OV2640 camera you can see it does a great job at finding depth. Didn't realize how well it would perform, i was considering using multiple photos with Depth Anything V3. Hope someone finds this as helpful as I did.


r/computervision • • Oct 22 '25

Discussion How do you convince other tech people who don't know ML

96 Upvotes

So I just graduated and joined a startup, and I am the only ML guy there , rest of them are frontend and backend guys , none of them know much about ML , one of the client need a model for vessel detection from satellite imagery , Iam training a model for that, I got like 87 MAP on test and when tested on real world It gives a false detections here and there.

How in the fuck should i convince these people that it is impossible to get more than 95 percent accuracy from open source dataset.

They don't want a single false detection , they don't want to miss anything.

Now they are telling me to use SAM 🙏


r/computervision • • Mar 27 '23

Showcase How FIFA referees are using computer vision to help them make calls and how to get started with 3D pose estimation. Piotr here used 2 cameras at 90 degrees.

96 Upvotes

r/computervision • • Jun 15 '22

Showcase Three degrees of freedom pick and place robot arm that uses computer vision to detect different objects with different colors and allocate the location. The ultimate goal of this project is to have an efficient and accurate automated sorting process using computer vision.

96 Upvotes

r/computervision • • Sep 26 '26

Showcase Synthetic ground truth for 3D reconstruction: 3,879 Unreal Engine frames, 35.7 million points, and the error I found in my own depth

95 Upvotes
Every frame my Unreal Engine capture plugin renders comes with a depth map in metres and the camera's pose and intrinsics. I wanted to see how far that gets you with no reconstruction algorithm at all, so I fused 13 captures straight from those files: lift every pixel with its depth, place it with the recorded pose, drop anything labelled (the people are re-placed every frame), average into 10 cm cubes. 3,879 frames, 35.7 million points, 45 to 112 seconds per map. No feature matching, no pose estimation.


Then I checked whether the frames agree with each other. Take a frame, project its depth into the nearest frame that sees the same place using only the recorded poses and intrinsics, and compare with the depth that frame recorded. The median difference is 5 to 15 mm at median distances of 25 to 60 m.


The part I didn't expect: that median is almost exactly what rounding produces. My depth.npy files are float32, but they hold half-float values, because the render target was 16-bit. There are never more than 1,024 distinct values between one power of two and the next, so the steps are 2 cm between 20 and 41 m. Simulating rounding alone at 2 cm gives a median of 5.2 mm. The Paris flyover measures 5.1. So the poses are more precise than the depth can show. The fix is a render target change that's in the plugin source now; every capture in the video predates it.


Where frames disagree most: vegetation (wind or LOD, I haven't separated the two), the sea on the beach (the surface moves, and that pair is fog at noon against clear at 7 am), and tower faces seen almost edge-on. One I can't explain: a flat quarry floor where two frames disagree by more than 5 cm across a whole patch. If you've seen that before, I'd like to know what it was.


A gotcha I only noticed while writing it up: a flipped axis passes this check. Every frame is mirrored the same way, so they still agree with each other. You only catch it by comparing the map with a rendered frame.


The viewer is plain WebGL2 with eye-dome lighting. The points are stored in the order of the first frame that saw them, so the replay in the video is just drawing more of them each frame.


If you work on MVS, NeRF or SLAM with synthetic data: would a per-scene consistency number like this change which dataset you pick? And what would you want exported besides the per-frame camera JSON? COLMAP and transforms.json are the obvious ones.

r/computervision • • Mar 07 '26

Showcase A Practical Guide to Camera Calibration

Thumbnail
github.com
95 Upvotes

I wrote a guide covering the full camera calibration process — data collection, model fitting, and diagnosing calibration quality. It covers both OpenCV-style and spline-based distortion models.

EDIT: Web version of the guide (better formatting): https://robertleoj.github.io/lensboy/calibration_guide.html


r/computervision • • Oct 24 '25

Discussion Introduction to DINOv3: Generating Similarity Maps with Vision Transformers

95 Upvotes

This morning I saw a post about shared posts in the community “Computer Vision =/= only YOLO models”. And I was thinking the same thing; we all share the same things, but there is a lot more outside.

So, I will try to share more interesting topics once every 3–4 days. It will be like a small paragraph and a demo video or image to understand better. I already have blog posts about computer vision, and I will share paragraphs from my blog posts. These posts will be quick introduction to specific topics, for more information you can always read papers.

Todays topic is DINOv3

Just look around. You probably see a door, window, bookcase, wall, or something like that. Divide these scenes into parts as small squares, and think about these squares. Some of them are nearly identical (different parts of the same wall), some of them are very similar to each other (vertically placed books in a bookshelf), and some of them are completely different things. We determine similarity by comparing the visual representation of specific parts. The same thing applies to DINOv3 as well:

With DINOv3, we can extract feature representations from patches using Vision Transformers, and then calculate similarity values between these patches.

DINOv3 is a self-supervised learning model, meaning that no annotated data is needed for training. There are millions of images, and training is done without human supervision. DINOv3 uses a student-teacher model to learn about feature representations.

Vision Transformers divide image into patches, and extract features from these patches. Vision Transformers learn both associations between patches and local features for each patch. You can think of these patches as close to each other in embedding space.

After Vision Transformers generates patch embeddings, we can calculate similarity scores between patches. Idea is simple, we will choose one target patch, and between this target patch and all the other patches, we will calculate similarity scores using Cosine Similarity formula. If two patch embeddings are close to each other in embedding space, their similarity score will be higher.

You can find all the code and more explanations here


r/computervision • • Jan 06 '21

OpenAI text2image model is pure magic. Illustrators: ai won't replace us. Dall-e: hold my beer.

Thumbnail
openai.com
95 Upvotes

r/computervision • • Sep 12 '26

Discussion As a CV enthusiast but LLM "hater"

94 Upvotes

Hi everyone, I've been in CV for several years and really see a future in this field. I'm also more pessimistic than any of my SWE/researcher friends about what is colloquially "AI", namely LLMs, agents, vibecoding etc.

"AI" in the popular sense has completely vibe shifted from the initial collision of ChatGPT. As of now AI is a widely unpopular technology, the threat of job replacement, tokenmaxxing, AI slop, "doomerism" as marketing strategy... Data centers draining local water, rare books being permanently destroyed & exploitation of developing world labor for data collection... the list goes on.

Sorry for the rant but I can't keep a smile on my face when I think about LMs. I remember learning ML in the mid 2010s and people genuinely being excited about language modeling with RNNs, early transformers, machine translation and what it will enable.

I know it's impossible to coerce the progress of technology, but I hope that CV will remain as a tool to solve genuinely interesting problems rather than "we trained on internet-scale data, the model doesn't bring any business value outside of replacing existing staff, and we're forcing it down everyone's throats" and remain a low-key or positive technology in the popular imagination (I know that's not likely given the humanoid robot stuff, but I digress).

There are some genuinely useful applications of CV with support from the respective community. For example I worked adjacently with whole slide histopathology. It's genuinely helpful due to the large size of the images and the human effort it takes to find lesions, with (AFAIK) support and not resistance from clinicians. Another is defect detection where the objects may move too quickly for humans and the environment is constrained enough for a high accuracy.

Anyways if you read the whole thing thanks. This got maybe too opinionated/philosophical for this thread but I hope y'all have some thoughts either way.


r/computervision • • May 29 '26

Showcase the hard problem isn't static 3D anymore, it's reconstructing scenes where things move Syn4D-RGBD dataset gives you the ground truth for that

94 Upvotes

checkout the dataset here: https://huggingface.co/datasets/Voxel51/Syn4D_RGBD

static 3D reconstruction is mostly solved. dynamic scenes, where objects move and people walk around, that's still an open problem.

the bottleneck is data: you need multiple synchronized cameras capturing the same moment from different angles with dense ground truth

Syn4D is a fully synthetic multiview dataset built for this. 8 synchronized cameras, Unreal Engine 5, per-frame depth maps, instance segmentation, camera poses, and natural language captions across offices, warehouses, and hospitals

3d point cloud reconstruction wasn't part of the original Syn4D dataset, but it was possible to reconstruct it from the ground-truth annotations that were included:

Read per-frame depth (float32 EXR), RGB images, and per-frame camera intrinsics + extrinsics (focal length, sensor size, position, yaw/pitch/roll) from all 8 synchronised camera views

Applied sRGB gamma correction to the linear-space RGB renders so colours display correctly

Back-projected each valid depth pixel into a shared Unreal Engine world coordinate system using the standard pinhole camera model, converting the result from centimetres to metres

Coloured each 3D point from its corresponding RGB pixel, merged all 8 views, then voxel-downsampled and removed statistical outliers to produce a clean cloud per sequence


r/computervision • • Apr 26 '26

Showcase Fractal Image Compression

94 Upvotes

Fractal image coding is a really beautiful compression technique that is not much talked about, so I wrote a blog post fractal image compression here ! Let me know your thoughts/questions!


r/computervision • • Sep 29 '25

Discussion The dumbest part of getting GPU compute is…

94 Upvotes

Seriously. I’ve been losing sleep over this. I need compute for AI & simulations, and every time I spin something up, it’s like a fresh boss fight:

“Your job is in queue” - cool, guess I’ll check back in 3 hours
Spot instance disappeared mid-run - love that for me
DevOps guy says “Just configure Slurm” - yeah, let me Google that for the 50th time

Bill arrives - why am I being charged for a GPU I never used?
I feel like I’ve tried every platform, and so far the three best have been Modal, Lyceum, and RunPod. They’re all great but how is it that so many people are still on AWS/etc.?

So tell me, what’s the dumbest, most infuriating thing about getting HPC resources?


r/computervision • • Jul 25 '25

Showcase [Showcase] RF‑DETR nano is faster than YOLO nano while being more accurate than medium, the small size is more accurate than YOLO extra-large (apache 2.0 code + weights)

94 Upvotes

We open‑sourced three new RF‑DETR checkpoints that beat YOLO‑style CNNs on accuracy and speed while outperforming other detection transformers on custom datasets. The code and weights are released with the commercially permissive Apache 2.0 license

Model ↘︎COCO mAP50:95RF100‑VL mAP50:95Latency† (T4, 640²)
Nano48.457.12.3 ms
Small53.059.63.5 ms
Medium54.760.64.5 ms

†End‑to‑end latency, measured with TensorRT‑10 FP16 on an NVIDIA T4.

In addition to being state of the art for realtime object detection on COCO, RF-DETR was designed with fine-tuning in mind. It uses a DINOv2 backbone to leverage generalized world context to learn more efficiently from small datasets in varied domains. On the RF100-VL dataset, which measures fine-tuning performance against real-world, RF-DETR similarly outperforms other models for speed/accuracy. We've published a fine-tuning notebook; let us know how it does on your datasets!

We're working on publishing a full paper detailing the architecture and methodology in the coming weeks. In the meantime, more detailed metrics and model information can be found in our announcement post.