r/computervision • • Nov 07 '23

Showcase YOLO-NAS-Pose just released

130 Upvotes

r/computervision • • Jul 20 '26

Showcase D-FINE-seg: detection + instance seg + semantic seg in one real-time DETR

129 Upvotes

D-FINE-seg does object detection, instance segmentation, and now semantic segmentation from one real-time DETR backbone, and it's easy to fine-tune on your own data. It's NMS-free, exports to TensorRT and ONNX.

Code and weights are free, including commercial use.

📄 Paper: https://arxiv.org/abs/2602.23043

🤗 Weights: https://huggingface.co/ArgoSA/D-FINE-seg

📊 Benchmarks (full protocol): https://github.com/ArgoHA/cityscapes-benchmark

🌐 Writeup: https://blog.agnify.ai/d-fine-seg-semantic-segmentation/


r/computervision • • May 09 '26

Discussion I built a 13 MB open-source face verification model because paid APIs felt ridiculous

129 Upvotes

I wanted to add face verification to my startup, SwayamWhere.com.

Then I looked at the pricing for face verification APIs.

Around $1 to $1.50 per 1,000 images/API calls sounds cheap at first, but once you factor in onboarding, duplicate profile checks, retries, testing, abuse prevention, and scale, it becomes a recurring tax on your trust layer.

So I decided to build my own.

After 2 months of training, testing, threshold tuning, false accept reduction, embedding comparison, model packaging, and documentation, I’m open-sourcing it.

It’s called TinyFaceMatch.

It is a lightweight, MIT-licensed face verification model that compares two aligned face images and returns a match decision with similarity scores.

Current benchmark:

  • Accuracy: 99.72%

  • ROC AUC: 0.9983

  • Balanced accuracy: 99.02%

  • True accept rate: 98.30%

  • False accept rate: 0.25%

  • False reject rate: 1.70%

  • Model size: 13.238 MB

  • Embedding size: 128-D

  • License: MIT

The main goal was not to create another huge research model.

The goal was to create something small enough to actually ship.

For context:

  • OpenCV SFace reports 99.60% LFW accuracy with a 36.9 MB recognition model.

  • dlib face recognition reports 99.38% LFW accuracy.

  • FaceNet VGGFace2-style models report around 99.65% LFW accuracy, but can be around 107 MB.

TinyFaceMatch reaches 99.72% accuracy in a 13.238 MB package.

No paid API call per verification.

No vendor lock-in.

No heavyweight deployment.

No separate commercial license needed.

I built this because I wanted face verification that was practical, local-first, auditable, affordable, and open.

Repo:
https://github.com/yuvrajraina/tinyfacematch

Docs and demo:
https://tinyfacematch.yuvrajraina.com/

Would love feedback from anyone working on computer vision, identity, trust and safety, or lightweight ML deployment.


r/computervision • • Nov 17 '25

Help: Project PapersWithCode's new open-source alternative: OpenCodePapers

128 Upvotes

Since the original website is down for a while now, and it was really useful for my work, I decided to re-implement it.
But this time, completely as open-source project.

I have focused on the core functionality (benchmarks with paper-code-links), and took over most of the original data.
But to keep the benchmarks up to date, help from the community is required.
Therefore I've focused on making the addition/updates of entries almost as simple as in PwC.

You currently can find the website here: https://opencodepapers-b7572d.gitlab.io/
And the corresponding source-code here: https://gitlab.com/OpenCodePapers/OpenCodePapers

I now would like to invite you to contribute to this project, by adding new results or improving the codebase.


r/computervision • • Sep 10 '25

Showcase Real time saliency detection library

128 Upvotes

I've just made public a library for real time saliency detection. It's CPU based and no ML so a bit of a fresh take on CV (at least nowadays).

Hope you like it :)

Github: https://github.com/big-nacho/dosage


r/computervision • • Jul 28 '25

Showcase Using monocular camera to measure object dimensions in real time.

128 Upvotes

I'm a teacher and I love building real world applications when introducing new topics to my students. We were exploring graphical representation of data, and while this isn't exactly a traditional graph, I thought it would be a cool flex to show the kids how computer vision can extract and visualize real world measurements.
What it does:

  • Uses an A4 paper as a reference object (210mm × 297mm)

  • Detects the paper automatically using contour detection

  • Warps the perspective to get a top down view

  • Detects contours of objects placed on the paper in real time

  • Gets an oriented bounding box from the detected contours

  • Displays measurements with respect to the A4 paper in centimeters with visual arrows

While this isn’t a bar chart or scatter plot, it’s still about representing data graphically. The project takes raw data (pixel measurements), processes it (scaling to real world units), and presents it visually (dimensions on the image). In terms of accuracy, measurements fall within ±0.5cm (±5mm) of measurements with a ruler.


r/computervision • • May 10 '22

Discussion BlobGAN enables object manipulation in an image

128 Upvotes

r/computervision • • Nov 05 '18

Deep nightmare

128 Upvotes

r/computervision • • Mar 25 '16

TIL This famous image processing image of model lena is actually a full body nude NSFW

Thumbnail
v1.std3.ru
128 Upvotes

r/computervision • • Oct 17 '25

Showcase Hair counting for hair transplant industry finished project

Post image
127 Upvotes

Hey everyone,
I wanted to share one of my recent AI projects that turned into a real-world product, HairCounting.com.

It is an AI-powered analysis system that processes microscopic scalp images and automatically counts and maps hair follicles. Dermatologists and trichologists use it to measure hair density and monitor hair-loss treatments without doing the manual work.

How it works

The pipeline is built around a YOLO-based detection model trained on thousands of annotated scalp images.
The process:

  1. Image preprocessing: color normalization, noise removal, and scale calibration

  2. Detection and segmentation: the model identifies each visible hair shaft and follicle

  3. Post-processing: removes duplicates, merges close detections, and calculates density per cm²

  4. Visualization and report generation: builds a visual map and returns counts and thickness data via API

I trained the model to reach around 70%+ precision, which was actually a real medical requirement from one of the clinics. Total perfection is not needed, doctors mainly need consistent automated measurements.

Stack and integration

  • Frameworks: PyTorch and OpenCV

  • API backend: Laravel 11 with Sanctum authentication

  • Deployment: Nginx on Ubuntu (GPU optional)

Challenges I faced

  • Managing image scale calibration across different microscopes

  • Detecting extremely fine or gray hairs under varying light

  • Creating a balanced dataset for both dense and sparse hair regions

  • Returning structured JSON output fast enough for clinical software

Why I am sharing this

I thought it would be useful to showcase how computer vision can be applied to a very niche but impactful problem.
If anyone here is building custom AI for medical, beauty, or visual measurement use cases, I would love to compare approaches or exchange feedback.

You can test the live demo or read the technical overview here: https://haircounting.com/


r/computervision • • Jun 03 '25

Showcase AutoLicensePlateReader: Realtime License Plate Detection, OCR, SQLite Logging & Telegram Alerts

127 Upvotes

This is one of my older projects initially meant for home surveillance. The project processes videos, detects license plates, tracks them, OCRs the text, logs everything and sends the text via telegram.

What it does:

  • Real-time license plate detection from video streams using YOLOv8

  • Multi-object tracking with SORT algorithm to maintain IDs across frames

  • OCR with EasyOCR for reading license plate text

  • Smart confidence scoring - only keeps the best reading for each vehicle

  • Auto-saves data to JSON files and SQLite database every 20 seconds

  • Telegram bot integration for instant notifications (commented out in current version)

Technical highlights:

  • Image preprocessing pipeline: Grayscale → Bilateral filter → CLAHE enhancement → Otsu thresholding → Morphological operations

  • Adaptive OCR: Only runs every 3 frames to balance accuracy vs performance

  • Format validation: Checks if detected text matches expected license plate patterns (for my use case)

  • Character correction: Maps commonly misread characters (O↔0, I↔1, etc.)

  • Threading support for non-blocking Telegram notifications

The stack:

  • YOLOv8 for object detection

  • OpenCV for video processing and image manipulation

  • EasyOCR for text recognition

  • SORT for object tracking

  • SQLite for data persistence

  • Telegram Bot API for real-time alerts

Cool features:

  • Maintains separate confidence scores for each tracked vehicle

  • Only updates stored plate text when confidence improves

  • Configurable processing intervals to optimize performance

  • Comprehensive data logging

Challenges I tackled:

  • OCR accuracy: Preprocessing pipeline made a huge difference

  • False positives: Format validation filters out garbage reads

  • Performance: Strategic frame skipping keeps it running smoothly

  • Data persistence: Multiformat storage (JSON + SQLite) for flexibility

What's next:

  • Fine-tune the YOLO model on more license plate data

  • Add support for different plate formats/countries

  • Implement a web dashboard for monitoring

Would love to hear any feedback, questions, or suggestions. Would appreciate any tips for OCR improvements as well

Repo: https://github.com/donsolo-khalifa/autoLicensePlateReader


r/computervision • • May 01 '25

Help: Project How to go about finding the horizon line in the sea?

127 Upvotes

The input is an infrared view that can detect ships (that are not always present) and sometimes land too when it’s in view. I need to locate the horizon with the accuracy of 5 to 15 degrees vertical FOV.

I’ve tried some canny edge detection, applied Sobel-Y, and even used a tiny known patch of horizon (manual crop) as input to cv2.filter2D operation. Nothing works as great, as you can see in the video.

How would you go about determining the horizon line in an infrared video?

PS: Sometimes nothing is within view, neither land nor ships.


r/computervision • • May 22 '21

Showcase DIY Tutorial: vision model for cashierless checkout

127 Upvotes

r/computervision • • Aug 26 '20

AI/ML/DL Body Pose Detection test with Apple's Vision framework.

127 Upvotes

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 • • Nov 22 '25

Showcase vizy: because I'm tired of writing the same tensor plotting code over and over

Post image
126 Upvotes

Been working with PyTorch tensors and NumPy arrays for years, and I finally got fed up with the constant `plt.imshow(tensor.cpu(force=True).numpy()[0].transpose(1, 2, 0))` dance every time I want to see what's going on.

So I made vizy: it's literally just `vizy.plot(tensor)` and you're done. Handles 2D, 3D, 4D tensors automatically, figures out the right format, and shows you a grid if you have a batch. No more thinking about channel order or device transfers.

You can see the code at: https://github.com/anilzeybek/vizy

Same deal for saving - `vizy.save(tensor)` just works. SSH'd into a remote box? It'll save to a temp file and tell you exactly where to scp it from.

You can install it with `pip install vizy` and the code's dead simple. It just wraps PIL under the hood. Thought I'd share since I use this literally every day now and figured others might be sick of the same boilerplate too.

Nothing fancy, just saves me 30 seconds every time I want to sanity check my tensors.


r/computervision • • May 15 '25

Showcase Controlling a 3D particle animation with hand gestures + voice (demo / code in the comments)

126 Upvotes

r/computervision • • Mar 01 '25

Showcase Real-Time Webcam Eye-Tracking [Open-Source]

126 Upvotes

r/computervision • • Apr 04 '21

Showcase I have made a calculator that can recognize handwritten characters. It uses TensorFlowJS for inference on the browser.

126 Upvotes

r/computervision • • Nov 20 '20

Weblink / Article [R] Impersonator++ Human Image Synthesis – Smarten Up Your Dance Moves!

126 Upvotes

r/computervision • • Mar 24 '21

Showcase SLAPSE - A computer vision based app for creating Selfie time-LAPSE videos. I Would love to hear your feedback.

125 Upvotes

r/computervision • • Sep 14 '22

Commercial Behind the scenes, training a computer vision model to detect the school bus driving by my house

124 Upvotes

r/computervision • • May 18 '26

Showcase vggt-omega takes videos and creates a point cloud. fast, and good quality generations for pcd and depth

123 Upvotes

ofc meta would drop a dope model on a friday afternoon and have me scrambling to integrate it over my birthday weekend

you can quickly get started with the model in fiftyone by following the steps in this repo: https://github.com/harpreetsahota204/vggt_omega


r/computervision • • Mar 27 '26

Research Publication META releases SAM 3.1

Thumbnail
huggingface.co
123 Upvotes

"SAM 3.1: a drop-in update to SAM 3 that introduces object multiplexing to significantly improve video processing efficiency without sacrificing accuracy.

We’re sharing this update with the community to help make high-performance applications feasible on smaller, more accessible hardware." link to tweet post