r/computervision • • Jun 30 '22

Discussion Codeformer - Face Image Restoration model

143 Upvotes

r/computervision • • Jun 12 '20

Weblink / Article We're building a labeling platform for image segmentation. Looking for feedback!

143 Upvotes

r/computervision • • May 19 '26

Showcase Combined P2PNet + Apple's Depth Pro to reconstruct crowds in 3D and predict people hidden behind obstructions — from a single image

142 Upvotes

Estimating crowd size by eye is notoriously hard. I've found a CNN called P2PNet to detect heads of people and created a custom pipeline to detect occluded people and reconstruct an approximate 3d scene.

Pipeline overview

  1. P2PNet detection gives 2D head points

  2. Depth Pro (Apple's metric monocular depth model) gives metric Z per pixel

  3. Head points are back-projected to world-space XYZ using depth + focal length

  4. RANSAC fits the dominant ground plane from the head point cloud

  5. World scale is corrected for based on max. real-world crowd density of 6.5ppl/m2

  6. Shadow-offset DBSCAN clusters the crowd — offset centers are computed per-person by projecting their occlusion shadow forward, which bridges the gaps that appear between rows of people at depth due to sparse data and the low camera angle.

  7. Alpha shapes (Delaunay + circumradius threshold) trace concave hulls around each crowd cluster; interior voids naturally emerge as obstacle holes

  8. From the DBSCAN densities-per-point a heatmap is created + missing region densities are interpolated and occluded people are populated using Poisson sampling

The shadow-offset trick (step 6) is the part I haven't seen elsewhere. DBSCAN breaks crowd clusters at depth because row-to-row gaps exceed the search radius. My original idea was a pill-shaped search area, but shifting each person's search center to the midpoint between their actual position and their shadow tip with search radius scaling linearly with depth is faster, and also reconnects those rows.

Output

The frontend renders a density-zoned map over the image: detected people, auto-generated obstacle polygons (holes in the alpha shape), occlusion shadow zones with predicted counts, and a confidence interval. AI assumptions are editable objects — the analyst can delete clusters, override predicted densities. I'm currently working on extending this to boundary editing and placing a POI to adjust the attenuation model. Modifications are logged to an audit trail that ships with the export.

Known limitations

- Ground plane assumption breaks on stairs and tiered seating (RANSAC fit flagged when inlier ratio < 60%)
- Single image only at this stage — video fusion is the next thing I'm building
- My method doesn't model crowd dynamics at an individual's scale — to calculate real individual positions an iterative approach may be needed which goes against optimizing for speed

Resources

- evolving blog post with up-to-date info: https://www.balazshimself.com/blog/crowd-predictor
- MVP tool: https://www.crowdcounting.net

Any feedback is welcome! Thanks for your time!


r/computervision • • Apr 14 '26

Showcase Built a free, end to end CV pipeline as a alternative to Roboflow– would love some feedback

Post image
142 Upvotes

Didn’t like paying for roboflow or any of the free CV tools so built a free, local alternative for anyone who doesn't want to deal with cloud limits or pricing tiers. Open sourced it this week.

The idea was one app that handles the full loop from annotation through to training, without needing to export files.

Features:

- Manual annotation + auto-annotation (YOLO, RF-DETR, GroundingDINO, SAM 1/2/3)

- Video frame extraction

- Dataset merging, class extraction, format conversion

- YAML auto-generation

- Augmentation

- No-code model training (YOLO + RF-DETR)

- Fast sort/filter for reviewing large datasets

It’s not fully polished as it started as something to scratch my own itch, but I’d love to know if others find it useful, or what might be missing from your workflows. Lmk what you think:

https://github.com/Dan04ggg/VisOS


r/computervision • • Aug 11 '25

Discussion A YouTuber named 'Basically Homeless' built the world's first invisible PC setup and it looks straight out of the future

142 Upvotes

r/computervision • • Jun 29 '24

Discussion How does pimeyes work so well?

142 Upvotes

How does pimeyes work so well? Its false positive rate is very low. I've put in random pictures of people I know, and it's usually found other pictures of them online....not someone who looks like them, but the actual person in question. Given the billions of pictures of people online this seems pretty remarkable.


r/computervision • • Jul 14 '20

OpenCV Hey Everyone! Made a Gaze Tracker, thought I'd share it with you guys. Cheers!

142 Upvotes

r/computervision • • Apr 25 '24

Showcase Computer vision on an MCU, and I got this fan that follows my every single move! No more manual adjustments or stagnant air!!!

141 Upvotes

r/computervision • • Apr 20 '23

Showcase Boost 🚀 your (instance) segmentation labeling using the trainYOLO platform.

141 Upvotes

r/computervision • • Jul 30 '22

Showcase I Made a Computer Vision Powered Basketball Referee

141 Upvotes

r/computervision • • Oct 28 '26

Showcase I am building a $67 camera module that does SLAM and VPS onboard

140 Upvotes

Mighty is a SLAM module which helps robots and drones navigate indoors and at low altitudes, but SLAM generally struggles once a drone flies too high.

I’m now working on a VPS mode that uses onboard maps to localize using just the camera, without GPS.

The crazy part? All of this runs on a $67 module.


r/computervision • • Apr 10 '23

Research Publication I am very happy to share our recent CVPR2023 work on instant volumetric head avatars (INSTA) which allows you to reconstruct an animatable NeRF of a human head within a few minutes.

140 Upvotes

r/computervision • • Apr 03 '23

Commercial Live joint angle measurements on iOS

140 Upvotes

r/computervision • • Mar 09 '23

Showcase Vectorized Intersection over Union

Post image
140 Upvotes

r/computervision • • May 28 '23

Showcase Seam Carving (content-aware resizing) implementation in Python and OpenCV

138 Upvotes

r/computervision • • Jul 28 '26

Showcase monocular rgb human mesh recovery running on a 5080 (18 fps)

137 Upvotes

this is a reimplementation of the “Fast SAM 3D Body” written in rust/candle/cuda, running at about 55ms/frame on my 5080. This video uses the RGB WebCam on my laptop for performance capture and a short throw projector for the wall. working on optimized metal shaders, will hopefully run in real time on a m1 class MacBook also when finished


r/computervision • • Jul 13 '26

Discussion Open-source CPU-only tracker for small aerial targets

137 Upvotes

I made a free and open-source tracker for small aerial targets in video.

It automatically acquires moving or contrasting candidates and tracks them frame-to- frame using classical computer vision. No GPU or trained model required. There’s also an optional manual Lock-On mode for selecting a specific target.

The current profile has been tuned and validated across six different datasets. Automatic acquisition is not semantic classification, so birds and clutter remain challenging cases.

Source (Apache 2.0): https://github.com/punklabs-ai/womprat

Technical feedback and difficult test footage would be very welcome.

Disclosure: I’m part of Punk Labs, the team releasing it.


r/computervision • • Apr 28 '25

Help: Project Newbie here. Accurately detecting billiards balls & issues..

137 Upvotes

I recorded the video above to show some people the progress I made via Cursor.

As you can see from the video, there's a lot of flickering occurring when it comes to tracking the balls, and the frame rate is rather low (8.5 FPS on average).

I do have an Nvidia 4080 and my other PC specs are good.

Question 1: For the most accurate ball tracking, do I need to train my own custom data set with the balls on my table in my environment? Right now, it's not utilizing any type of trained model. I tried that method with a couple balls on the table and labeled like 30 diff frames, but it wouldn't detect anything.

Maybe my data set was too small?

Also, from any of your experience, is it possible to have it accurately track all 15 balls and not get confused with balls that are similar in appearance? (ie, the 1 ball and 5 ball are yellow and orange, respectively).

Question 2: Tech stack. To maximize success here, what tech stack should I suggest for the AI to use?

Question 3: Is any of this not possible?
- Detect all 15 balls + cue.
- Detect when any of those balls enters a pocket.
- Stuff like: In a game of 9 ball, automatically detect the current object ball (lowest # on the table) and suggest cue ball hit location and speed, in order to set yourself up for shape on the *next* detected object ball (this is way more complex)

Thanks!


r/computervision • • Mar 26 '25

Showcase I'm making a Zuma Bot!

137 Upvotes

Super tedious so far, any advice is highly appreciated!


r/computervision • • Apr 25 '20

AI/ML/DL Social distances using deep learning

137 Upvotes

r/computervision • • Oct 12 '26

Showcase Auto-rigging children's drawings on a phone without a learned model: thinning, skeleton graph, geodesic skin weights

136 Upvotes

I wanted Meta's Animated Drawings (Smith et al. 2023) working offline on an iPhone, with no server and no model weights, so I rebuilt the pipeline from classic parts. The cutout takes 0.1–0.3 s in my tests. The video shows each step on one drawing.

Mask: Ink is anything darker than the local paper (box blur at about 1/18 of the image size, luma difference > 12) or clearly more colourful than it (chroma). Close with a disc about 1/90 of the image size, flood-fill the paper from the border, and whatever the flood can't reach is the figure. A second, bigger closing seals faces drawn with a faint outline, but only when the enclosed region is coloured in, so the paper between an arm and the body isn't filled.

Skeleton: Max-pool the mask to about 140 px, run Zhang–Suen thinning, and prune spurs relative to the local thickness (a short branch off a thick trunk is an outline bump; the same length on a thin limb is a finger). Ends and junctions come from the crossing number. Head = the thickest point near the top, feet = the lowest ends on different legs, hands = ends that join the trunk below the neck and above the knees, shoulders and hips where the limb enters the body. Missing limbs collapse instead of failing, so a one-armed monster or a legless princess still rigs.

Skinning: A triangle grid of about 44 cells. Per-bone weights use geodesic distance *inside* the (bridged) mask, 1/(d+1)^4, keeping the top 4. That stops two legs drawn touching from moving together, which plain Euclidean weights get wrong. Linear blend skinning in Metal.

Photos of real people use Vision's body pose instead; photos of things use Vision's subject lift for the mask.

On 8 test drawings the rig was right on 7. The miss is a dinosaur whose back spike becomes its right hand. The open problem is limbs drawn overlapping the body: the thinning can't see them. Has anyone had luck with a cheap heuristic for that, short of a learned pose model?

The app is free (iPhone/iPad), if you want to try your own drawings: https://apps.apple.com/app/id6820002786


r/computervision • • Apr 18 '26

Showcase Alternative to ultralytics: libreyolo. Thank you for the support!

136 Upvotes

Hello, I'm the creator and one of the mantainers of LibreYOLO. I did a post on reddit 3 months ago and the comments were very encouraging, so the first thing I want to do is to thank the CV community for motivating myself and the team: https://www.reddit.com/r/computervision/comments/1qmi1ni/ultralytics_alternative_libreyolo/

I would like to make a quick recap of what we have built since then! (although some things might not be merged into main):

  • Added RF-DETR - An open source contributor added RT-DETR

  • End to end tests to prevent regressions

  • CLI for people or agents to interface with the python library

  • Segmentation (RF-DETR and YOLO9)

  • An open source contributor has done a NMS-free YOLO9 (first in the world !)

  • Support for inference in videos - Multi-object tracking - TensorRT runtime

As you can see, we are constantly working towards making libreyolo the best option, so that people can confortably use the library without missing any feature that they currently have to pay for. If you are developing computer vision applications, consider LibreYOLO as a solid MIT licensed alternative to the other libraries. The big goal of this year is to develop the model libreyolo26 with the goal to have an MIT SOTA yolo model again!

Thank you again for the support and encouragement from the last time. I can answer any questions and I'm open to feature requests.

Repository: https://github.com/LibreYOLO/libreyolo
Website: libreyolo.com


r/computervision • • Dec 18 '22

Showcase Neural Rendering and 3D Reconstruction: Reconstruct your city in 3D using only your mobile phone and CitySynth!

136 Upvotes

r/computervision • • Apr 27 '20

AI/ML/DL Play snake by moving your head: face mesh detection in the browser with TensorFlow

136 Upvotes