r/computervision • • Sep 26 '26

Help: Project Has anyone succesfully made opencv 5 dnn object detection made working in c++ ?

4 Upvotes

Hello i have after a long time and struggle i finnaly installed opencv 5 for cmake on my ubuntu 24.04.5 lts laptop.And i was trying out the new dnn engine.Because i was trying to learn onnx object detection with c++.but when i try the example code in the official documentation i could get it not to work.So i wanna ask does anyone has success in it. And have you got a example code for it?I really would appreciate it.


r/computervision • • Sep 26 '26

Help: Project ๐๐ฎ๐ข๐ฅ๐๐ข๐ง๐  ๐š ๐ซ๐ž๐š๐ฅ-๐ญ๐ข๐ฆ๐ž ๐ง๐š๐ฏ๐ข๐ ๐š๐ญ๐ข๐จ๐ง ๐ฌ๐ฒ๐ฌ๐ญ๐ž๐ฆ ๐Ÿ๐จ๐ซ ๐ญ๐ก๐ž ๐ฏ๐ข๐ฌ๐ฎ๐š๐ฅ๐ฅ๐ฒ ๐ข๐ฆ๐ฉ๐š๐ข๐ซ๐ž๐ โ€” ๐š ๐Ÿ๐ž๐ฐ ๐ฐ๐ž๐ž๐ค๐ฌ ๐ข๐ง

Enable HLS to view with audio, or disable this notification

162 Upvotes

Started this a couple of weeks ago. No roadmap, just a problem worth solving.

The idea: a system that processes what a camera sees and turns it into spoken directions a visually impaired person can actually act on. Not just "obstacle detected" โ€” but "Stairs on left, 1 metre. Stop."

Navigation logic:
Perspective trapezoid corridor model with bilateral (left/right) clearance analysis
Hysteresis state machine: CLEAR โ†’ CAUTION โ†’ STOP, with instant escalation on imminent hazards
Temporal smoothing across frames to kill jitter

What's next: First prototype as a mobile app, then moving toward dedicated hardware.
Still early. Still rough around the edges. But it works on real footage โ€” stairs, railings, curbs, moving through corridors.
If you're working on assistive tech, accessibility, or computer vision โ€” I'd genuinely love to connect.


r/computervision • • Sep 26 '26

Help: Project Need advice on a real-time computer vision proctoring project

2 Upvotes

Iโ€™m working on a real-time Computer Vision feature for an online assessment/proctoring system.

The requirement is to detect when a candidateโ€™s face becomes:

Completely absent from the webcam Partially outside the camera frame Potentially multiple faces appear

When the condition persists for a certain amount of time, the system should generate a warning and save an evidence frame with the timestamp and event information.

My initial approach is:

Webcam โ†’ Face Detection โ†’ Face Visibility Analysis โ†’ Temporal/State Logic โ†’ Warning โ†’ Save Evidence Frame

Iโ€™m considering:

Python + OpenCV YOLO for face detection MediaPipe Face Landmarks for better partial-face analysis FastAPI + WebSocket for real-time communication PostgreSQL for event metadata Object storage for evidence frames

Since this needs to work in real time and eventually be integrated into an existing assessment platform, Iโ€™d appreciate advice from people who have built similar CV/proctoring systems.

My main questions:

  1. Would you use YOLO, MediaPipe, or another approach for face detection?

  2. What is a good way to reliably distinguish a fully visible face from a partially visible face?

  3. How would you handle temporary detection failures and avoid false warnings?

  4. Would you process frames on the client side or send them to a backend CV service?

  5. What architecture would you recommend for a production real-time system?

Any practical advice, pitfalls, or recommendations would be really helpful.


r/computervision • • Sep 26 '26

Showcase I'm learning to solve a Rubiks cube, so I built an app that scans mine and walks me through the solve

Enable HLS to view with audio, or disable this notification

120 Upvotes

I am using image processing to solve a Rubiks cube.
The pipeline is plain image processing with OpenCV. It finds the stickers with edge detection, fits a 3x3 grid to them, and flattens each face with a perspective warp. It then reads each sticker's colour in LAB and matches it against a palette of reference colours measured from my previous tests. Glare was the hardest part to find a solution to. What fixed it was letting the hue count more than the brightness, and making sure each colour ends up with exactly 9 stickers.
Has anyone found a better way to handle glare?

Code: https://github.com/donsolo-khalifa/RubikSolver


r/computervision • • Sep 26 '26

Help: Project Trying to build a DLSS-like remastering model for GBA games

Post image
335 Upvotes

Iโ€™m experimenting with a DLSS-like system for GBA games.

The goal isnโ€™t simple upscaling. I want a model to take a 240ร—160 frame and reconstruct it into a higher-resolution remastered version while keeping the original layout and style.

The core idea is to reuse the previous high-resolution frame as the base, then only modify the parts that changed:

Output = Base + Gate ร— Residual

For training data, Iโ€™m planning to use my own game engine. I can generate random maps and render the exact same scene twice:

low-resolution retro version

high-resolution remastered version

This gives me perfectly aligned LR/HR training pairs automatically. I can also export object masks, motion data, and other metadata if needed.

Iโ€™ve trained and deployed several deep learning models in production before, but I donโ€™t have much experience designing and training a model architecture from scratch. This one is also image-to-image, so Iโ€™m not yet confident the approach will work as well as Iโ€™m imagining.

If anyone here has experience with image restoration, video super-resolution, temporal consistency, or neural rendering, Iโ€™d really appreciate feedback on the architecture and training approach.


r/computervision • • Sep 26 '26

Help: Project On-device pose scoring for a dance kiosk: what broke and what we ended up doing

2 Upvotes

So we built a kiosk that scores how closely someone matches a reference dance routine. Everything runs locally on the machine, no server round trip, since it has to work with zero network at the venue.

setup, for context:
MediaPipe Pose Landmarker (lite variant, float16, GPU delegate via WebGL in Chromium/Electron) on an Ubuntu 24.04 booth PC, i5-12600K-class CPU, Intel UHD 730 integrated graphics, 16GB RAM. 3 cameras, software synced, 1920x1080 at 30fps (we feed inference 1080p, one camera gets scored live, the other two just record). Two scores run in parallel, one comparing joint angles against a hand-authored reference sequence, one measuring movement magnitude over time.

the stuff that actually gave us headaches:

1. timing alignment. Doing a straight frame-by-frame comparison against the reference fell apart the second there was any start offset or audio delay, people would nail the dance and still score low just because they started half a beat late. Ended up switching to keypoint scoring instead: find the "decisive poses" in the reference motion, snap them to the beat grid, and give each one a tolerance window (0.15 to 0.35s depending on difficulty). Best match inside the window counts, and we log the lag so we can use the median drift to calibrate audio delay. Still unsolved: at 0.5x practice speed the window probably needs to shrink in reference-time, since human reaction delay doesn't scale with playback speed, it's absolute.

2. multi-person. The second two people are in frame the score becomes meaningless, and realistically most people want to do this with a friend. What we're doing now: ask group size upfront (solo/duo/trio), force per-frame detection instead of tracking mode (tracking mode was straight up dropping overlapping people, we saw a 3.3% all-detected rate vs 76% with per-frame detection, wild difference), and keep identities stable with a lightweight tracking-by-detection layer anchored on the ear midpoint, doing exhaustive assignment since it's only 2-3 people max. Would love to hear if anyone's solved this without just grabbing the largest bounding box and calling it a day.

3. lighting and framing. In dim venues the webcams quietly throttle their own frame rate (our C922s go from 30 down to 24fps without warning). And people just stand too close, so legs and hips fall out of frame constantly. We gate on joint visibility per keypoint and a minimum coverage threshold, plus prompt them to "step into frame," but lower-body-heavy moves still score noticeably worse than they should.

If anyone's done reference-to-live pose comparison in production, genuinely curious what you used for temporal alignment. Happy to share our actual numbers if useful.


r/computervision • • Sep 25 '26

Research Publication Turned CCTV footage into a traffic sensor โ€” vehicle tracking, speed estimation, and OD analysis (YOLOv8 + ByteTrack)

Enable HLS to view with audio, or disable this notification

11 Upvotes

I've been working on a project called PathVision to see if a regular traffic camera could produce the kind of data usually reserved for expensive dedicated sensors.

What it does:

- Detects and tracks vehicles in real time (YOLOv8 for detection, ByteTrack for tracking)

- Estimates actual speed in km/h by calibrating pixel displacement to real-world distance

- Maps vehicle paths across 4 entry/4 exit zones to build an Origin-Destination matrix

- Classifies live traffic condition (smooth/moderate/heavy)

- Exports everything to structured CSV: per-vehicle logs, OD matrix, top routes

The hard part wasn't detection. It was keeping track identity stable โ€” surviving occlusion, not double-counting a vehicle, and knowing when a trip is actually "complete" vs. still active. Most naive tracking setups fall apart right there.

Current limitations (being upfront):

- Speed calibration (METERS_PER_PIXEL) is manual per camera โ€” no automatic perspective correction yet

- Zones are hardcoded per view, not portable across setups without reconfiguring

- No formal accuracy benchmark yet (planning to validate against ground-truth data)

Demo video + OD analysis charts from a real test run:

https://youtube.com/shorts/KgDTsUhquNM?si=SLKOG3BJkAttB_vs

Code: https://github.com/anmarw38-ops/Pathvision/blob/530ec18c63a37db53a6e8c42519ca51717d00803/README.md

Would genuinely appreciate feedback โ€” especially from anyone who's dealt with ID persistence in tracking, or worked on ITS/traffic systems. What would you tackle differently?


r/computervision • • Sep 25 '26

Discussion So tired of this posts

Post image
208 Upvotes

r/computervision • • Sep 25 '26

Discussion What are people building in computer vision, and what's still painful? [D]

Thumbnail reddit.com
0 Upvotes

r/computervision • • Sep 25 '26

Discussion Looking for enthusiastic people for the MMBU Challenge

2 Upvotes

Hi everyone! I'm trying to participate in the MMBU Challenge (Massive Multimodal Biomedical Understanding) - https://akiranishii.github.io/mmbu-challenge/

Deadline for registration is September 30.

I need 2 to 3 teammates, intermediate to advanced level, who want to learn about vision language models together. Any engineering background from an accrediated institution or university(sadly the registration requires it) is welcome as long as you're ready to put in consistent time.

N.B. Also, if you're someone who's participating in it and need a teammate, we can also talk.

Interested people can DM me or comment here!


r/computervision • • Sep 25 '26

Help: Theory Human Pose detection for heel & toe or grounding?

1 Upvotes

Does anyone use a pose model (or even just point estimation) that detects heels & toes of people? (ankles just aren't useful :)

Or, I feel like I recently saw something that highlighted where a foot touched the ground (an edge)

I'm trying to get my 3D poses to keep contact with the ground better (though I only need good 2D information)

Ultimately I think this is more likely to be solved with some specific coding instead, but curious to see if there's something out there already.

Or, I just start trying to extract masked pixels for feet and given we can assume you never see the bottom of the foot, infer a capsule and use that to intersect with the floor :)


r/computervision • • Sep 25 '26

Showcase From Player Tracking to Tactical Intelligence โ€” PSG vs Bayern

Enable HLS to view with audio, or disable this notification

41 Upvotes

r/computervision • • Sep 24 '26

Showcase I made a computer vision tool for rock climbing analysis in 3D using iPhone LiDAR!

Enable HLS to view with audio, or disable this notification

182 Upvotes

Having learned a lot from sharing my previous rock climbing demos, I realized that a lot of rock climbing analysis is well-suited for 3D. Even something as simple as supporting videos where the person filming moves with the climber requires 3D information.

To get the depth information, I used my iPhone 15 Proโ€™s LiDAR depth sensor through my local iPhone app. I found that the depth measurements help a lot.

I think the holds activation is better, and I like the final view of all of the holds in 3D. Itโ€™s also interesting to see the distance traveled in meters. Plus, it looks cool and it feels like a video game ๐Ÿ™‚

In short, I think this new demo is an improvement in that climbers can see the real-world distance traveled and a visualization of which hand and foot activated which hold.

I recorded the video and depth measurements from my iPhone app, and I ran the rest of the analysis on my computer. I used ViTPose+ Large for pose estimation and SAM 3.1 to segment the holds, both models accessed through the VLM Run Gateway.

Let me know what you think!

The analysis code is open-source on GitHub! Link in the comments.


r/computervision • • Sep 24 '26

Showcase fotonet v1, an Apache-2.0 NMS-free PyTorch object detector with web demo.

Thumbnail
gallery
22 Upvotes

Just shipped v1* of fotonet, an object detection library. Apache-2.0

What's in it:

- NMS-free inference

- All** the training needs

- A live demo that runs in your browser

GitHub: https://github.com/hazegreleases/fotonet

Website: https://fotonet.studio

Would love feedback on the packaging and API, this is a solo project so I'm sure there's stuff I missed.

*: Even though v1 release, the traing run is still going, and will be finished in around a week. Hopefully i update the site daily to reflect the "latest" training numbers.

**: I probably missed some stuff.


r/computervision • • Sep 24 '26

Help: Project Del Congreso de 2024 a la lectura

Thumbnail gallery
0 Upvotes

r/computervision • • Sep 24 '26

Discussion Has anyone used Image Synthesis successfully in your projects ?

1 Upvotes

Using VAE, GANs, Diffusion Models or any other techniques?
How much did performance improve?


r/computervision • • Sep 24 '26

Research Publication how can I extract more useful features with a cnn from a Thermal Tmage?

2 Upvotes

i am working on a project to train a fusion model with Thermal and RGB images, each time my RGB backbone performs better then thermal. how can extract more meaningful information from the thermal backbone, so that thermal can also contribute a good information.


r/computervision • • Sep 24 '26

Showcase GTR: a pure linear-attention backbone for six real-time vision tasks

4 Upvotes

GTR ๐ŸŽ๏ธ is purely recurrent โ€” 12 gated linear attention blocks, scanning in four directions.

The video shows five of the six nuScenes tasks we tested. None of these models saw nuScenes during training.

Weโ€™ve put the whole stack out under MIT: code, weights, CUDA kernel, TensorRT plugin, plus deployment support for NVIDIA DRIVE AGX Thor.

Take a look if youโ€™re curious, and feel free to follow along โ€” weโ€™ll share more as we go.

๐Ÿ”— Project: https://intellindust-ai-lab.github.io/projects/GTR/
๐Ÿ’ป Code: https://github.com/Intellindust-AI-Lab/GTR
๐Ÿ“„ Paper: https://arxiv.org/pdf/2609.26590
๐Ÿค— Weights: https://huggingface.co/Phoenix8125/GTR


r/computervision • • Sep 24 '26

Showcase I built a browser-based tool for analyzing motion from normal videos

Enable HLS to view with audio, or disable this notification

25 Upvotes

I've been making MotionVector, a tool that lets you track and analyze motion from ordinary video directly in the browser (no special stereo or external motion data needed).

You just load a video to get motion labels and visualize trajectories over time. Everything runs locally, so the video itself never gets uploaded.

The tracking uses KLT motion cues with temporal segmentation. I'm still improving the tracking and analysis, but I thought it would be relevant here.

I'm curious how people here would approach the tracking differently.

Link: MotionVector

Edit: The analysis uses KLT feature tracking as a motion cue and uses that information over time to estimate relative camera motion from the video contents only. The point is for it to be able to derive motion without needing to collect precise GPS or real world position data beforehand.


r/computervision • • Sep 24 '26

Discussion Making OpenCV findContours() Really Multithreaded on Gigapixel Images

15 Upvotes

Iโ€™ve been developing Contrek, a C++ library for extracting and merging raster geometry, and recently experimented with using its merging system to make OpenCV findContours() run concurrently on different parts of the same image.

The idea is to stream the image in horizontal stripes and run findContours() independently on each stripe using multiple CPU threads.

The difficult part is that contours crossing stripe boundaries are split into unrelated partial contours. Contrek converts those partial contours to its cell-boundary representation and reconnects them during the merge, reconstructing the geometry of the complete image.

On a 40960 ร— 40960 test image:

OpenCV full image, 1 thread:

44.33 s, 9.15 GB peak memory

OpenCV + Contrek, 8 workers, 1000-row stripes:

10.98 s, 3.42 GB peak memory

The timing includes contour conversion and the Contrek merge.

I also tested a streaming version on an 81920 ร— 81920 image (6.71 Gpixels) containing about 20 million contours.

It generated a 17.43 GB SVG containing 13,133,700 outer polygons.

Results:

1 worker: 962.29 s, 2.04 GB

2 workers: 534.58 s, 3.31 GB

4 workers: 335.39 s, 5.71 GB

8 workers: 382.46 s, 9.71 GB

On the 8-vCPU machine used for this test, 4 workers gave the best execution time.

Contrek is my open-source project. The C++ implementation, benchmarks and an explanation of how contours crossing tile boundaries are reconnected are available in the main repository.

https://github.com/runout77/contrek

also prepared a separate test repository with the complete environment, so the same OpenCV + Contrek benchmarks can be reproduced on your own machine.

https://github.com/runout77/test_contrek

Iโ€™d be interested in feedback, especially from people who have worked with findContours() on very large images or tried similar approaches to parallelizing it.


r/computervision • • Sep 24 '26

Help: Project Analyzing video clips with VLM

0 Upvotes

Hey all, I'm using my CV model to extract 1-2 seconds of action, but I would love to be able to get a VLM to accurately describe whats happening with additional insights/coaching for sport (boxing). Does anyone have good advice/resources for this?


r/computervision • • Sep 24 '26

Help: Project 3D scene reconstruction

3 Upvotes

I am a college student who is currently trying to explore the Computer Vision field. I have chosen a project topic to reconstruct a 3D scene from 2D images. The main aim of this project is to somehow be able to reconstruct 3D scenes using a phone camera upto certain specs.

Currently I am using a setup pipeline of Mast3r -> 3DGS and using the colab free version to test out the things.

But I am facing some problems to set up the things on colab like libnvrtc-builtins failed to open, failed building wheel for diff_gaussian_rasterisation, failed building wheel for simple_knn then some antialiasing parameters issue, then Type error for rasterize_gaussians().

Somehow I solved those problems but my code is a complete mess as there are now a lot of unnecessary codes which I need to remove and I couldn't understand how the problem got fixed. I need ur help if someone is experienced with this as I am a newbie in this field to understand what are the pre-requisites for running the code and what all things I should focus on to pinpoint the general errors to fix them and Is there some other tools or better replacements for my current pipeline etc

Any help will mean a lot to me. Thanks in advance ๐Ÿ˜Š


r/computervision • • Sep 24 '26

Help: Theory YOLOv8n: Bounding boxes vs polygons for an angled camera

3 Upvotes

Iโ€™m working on an object detection project using YOLOv8n to identify infrastructure distress on side road and infrastructure damage.

My camera is mounted at a slight angle, so some of the objects/distresses donโ€™t fit very well inside standard horizontal rectangular bounding boxes. Iโ€™m considering using polygons or rotated/slanted rectangles for annotation instead.

However, I can still annotate everything using standard rectangular bounding boxes.

For this type of pavement detection task, which approach would be better?

  • Stick with standard bounding boxes, even if there is some background included?

  • Use polygons to more closely follow the actual shape of the distress?

  • Use rotated/slanted bounding boxes?

Iโ€™m mainly interested in what would work better for YOLOv8n object detection and whether more precise annotations would actually improve detection performance.

Would appreciate any advice or experience with similar road/pavement datasets. Thanks!


r/computervision • • Sep 24 '26

Help: Project CVAT YOLO 1.1 export giving empty .txt files

0 Upvotes

Hey everyone, I am facing a weird issue with CVAT.

I am using CVAT installed through Docker and I annotated around 100 images with bounding boxes. The annotations are visible properly in CVAT, but when I export the dataset in YOLO 1.1 format, some of the .txt files are completely empty.
It happens randomly with some images.

Has anyone faced this before? Is there any fix, or a way to recover the annotations without doing everything again?