r/computervision • u/sevsev2025 • 2h ago
Research Publication Open-source computer vision tool for droplet sizing and tracking in ultra-high-speed videos
r/computervision • u/sevsev2025 • 2h ago
r/computervision • u/Grouchy_Signal139 • 7h ago
Hi everyone,
I’m working on a machine vision project using OpenCV to detect ICs in a JEDEC tray.
My current process:
-Detect four circular fiducials near the tray corners.
-Use their centres to calculate a perspective transformation.
-Warp the image into a fixed rectangular image.
-Generate ROIs for the tray pockets.
I’m currently facing an alignment issue. After perspective warping, the ROI boxes do not seem to align consistently with the actual tray pockets. Some areas appear well aligned(on row and collum) as example top left pocket and bottom left pocket of the tray, while others have noticeable offsets. I’ve attached two images for comparison.
I’m not sure whether the issue is caused by:
-Inaccurate fiducial centre detection
-Incorrect fiducial reference points
-Perspective transformation
-Residual geometric distortion
-Other factors I may have overlooked
I’d appreciate any suggestions on how to identify the root cause and improve the alignment.
Has anyone experienced a similar issue with machine vision calibration or perspective transformation?
Thank you!
Ps : ive got the screenshot now thankyou guys hahahah
r/computervision • u/Repulsive-Dog-5326 • 10h ago
Hi Everybody,
I'm looking for a small vision-language model (VLM) that runs locally and reads on-screen text in video frames accurately. Ideally it would be smaller than the models I've tried (fewer parameters, smaller download) without losing accuracy.
The task
Constraints
Already tried
"Qwen3.5 4B is accurate but slow on my machine; the smaller ones miss small text"
Questions
Thanks!
r/computervision • u/iekmuby • 7h ago
(Quick note upfront: English isn't my first language, so I use an LLM to help with editing and translation. The research, data collection, and experiments are my own*.)*
In Part 1, I shared how my v1 parasite egg detector got 97% accuracy on public benchmarks and completely fell apart on unseen microscope slides.
Since public datasets were mostly human parasites, poorly labeled, or tiny (30–40px), I decided to build a clean v2 dataset from scratch: standardized 640×640 tiles, grayscale + CLAHE, and a strict minimum size of 80px on the shortest side so morphological details actually survive.
Here is how I sourced the data, built my own labeling tools, and engineered a deterministic compositing pipeline to fill the data gap.
My goal was 500 samples per class across 13-14 veterinary species (Toxocara, Ancylostoma, Cystoisospora, Ascaris, Dipylidium, Hymenolepis, Taenia, Toxascaris, Trichuris, Capillaria, Opisthorchis, Giardia, Eimeria). Reality check: hitting ~150 real images per class was a massive win.
To speed this up, I wrote browser bookmarklets to pop full-res images into new tabs so I could quickly filter out anything below 80px.
Funny side effect of this grind: when I started, all parasite eggs looked identical to me - like looking at the night sky when someone points out planets and constellations, and all you see are random white dots. While scrolling through vet accounts, I kept running into "guess the parasite" quizzes posted by lab techs. At first, I had no clue. After staring at thousands of slides, I caught myself solving those quizzes just from tiny feed thumbnails without even opening the full image.
To stop the detector from hallucinating eggs on yeast, pollen, fat droplets, and plant fibers, 15 - 20% of the training set needed to be pure negative 640×640 tiles. Since you can't search for "empty fecal smear," I harvested 5 - 6 clean 640×640 background tiles from the empty 80–90% space around labeled eggs in large frames (like Chula's 3000px images), enforcing a strict ≤15% overlap limit. This gave me both hard negative tiles and real microscopy canvases for synthetic compositing.
To make the negatives even tougher, I also pulled in a couple of public pollen grain microscopy datasets and mixed selected tiles into the negative pool - pollen is notorious in vet labs for mimicking the exact size, round shape, and wall thickness of real parasite eggs. Together, this gave me both hard negative tiles and real microscopy canvases for synthetic compositing.
Generic tools like CVAT kill your rhythm when doing thousands of domain-specific actions. Since I come from web dev, I built my own keyboard-first UI:
640×640 positive crop, another drops a negative background crop, another zooms 200% and centers on tiny eggs.To scale from ~150 real samples up to 500 per class without creating obvious "sticker" artifacts, I built a deterministic compositing pipeline with strict leakage controls:
train set - donors never cross into val or test, and repeated pastes aren't treated as independent validation samples.2px erosion (to strip away the donor's original background halo) and a 5×5 Gaussian alpha feathering so the model can't cheat by detecting sharp cut-out edges.grayscale + CLAHE normalization so the pasted egg shares the exact sensor noise and contrast profile of the host slide.Next up: moving into actual training on RunPod, running controlled ablations (real-only vs. real + synthetic), and seeing how the v2 model holds up on unseen camera setups.
For those who've used copy-paste synthesis in medical/microscopy CV: Did soft alpha feathering + local luminance matching prevent boundary overfitting for you, or did your models still find ways to cheat?
r/computervision • u/Resident_Performer25 • 7h ago
r/computervision • u/GS_negi_5494 • 15h ago
Hello friends,
My name is Genden Singh Negi. I am visually impaired, and I am building an Android app called Document Reader for the visually impaired community. The app is free, and I want to keep it free.
What already works: all the document formats read well, and text-based PDFs are read correctly.
Where I am stuck: scanned PDFs that need OCR. I cannot get the recognized text to come out accurately.
What I have tried:
More about my situation:
My questions:
Any help would mean a lot to me and to the community I am building this for. Thank you so much.
r/computervision • u/FutureAssociation943 • 21h ago
Finished this up for finals season. A webcam watches me do practice questions on paper. I trained an RF-DETR model on Roboflow (369 frames from my own webcam video) to find each question, my circled answer, and my handwritten work. Each question gets cropped and sent to a VLM that grades it. Get one wrong and it projects a hint on the wall, never the answer.
It waits until you stop writing before it grades, and grading runs in the background so you can keep going.
r/computervision • u/fuzzysingularity • 20h ago
r/computervision • u/SnappySkillz • 1d ago
Hi everyone!
So, I'm having a bit of difficulty with CNN generalisability.
My problem is that, given a camera image, we need to predict object pose e.g., rotation
A week ago, I was using a synthetic dataset. Using (unforseen) synthetic data, I get very low error. Using real data, however, it is a disaster. I though this might be a domain gap from sim-to-real.
So, I did some more data retrieval and now I have 2 distinct video feeds, so 2 real datasets. However, if I train on one, inference on the other is terrible. So, it is not sim-to-real, but a generalisation problem in general.
I do have a pre-processing, which I won't detail, but if you look at the image above what the CNN sees is quite similar to my scenario (just imagine they sre 64x64x3 images). Imagine really low errors on the left lamp (same training environment) and high on the right lamp (different camera/perspective etc).
Basically, one camera has a different FOV/lens/resolution, and the images might also have varying sizes (e.g. a lamp in one camera might be "chunkier" due to lens characteristics).
In teems of solutions, I have read that it is very healthy to augment your training data, especially for computer vision. This could be blur/brightness/contrast etc., that you can do natively in PyTorch.
Would this be a profitable direction? What are good steps to take to try to debug this? What are the standard practices in these situations? What are the features my CNN is learning that are so specific to one dataset?
I should mention, my CNN is almost certainly not the problem. I have another pipeline that uses a VAE, inspired from a paper that achieves very high accuracy not only for generalisability, but even for sim-to-real. This current architecture fails for my data.
Thanks for any response!
r/computervision • u/Repulsive_Factor5654 • 1d ago
Most public driving datasets come from Europe, the US or China. Indian roads have auto-rickshaws, goods carriers, cattle, mixed traffic and medians that are hedges, and off-the-shelf detectors handle them badly. So I built LabeloxAV, a self-hosted labelling tool and data engine for that kind of footage.
The video is a 2-minute cut of it working on my own dashcam drive through Bengaluru, plus a clip of cattle crossing a road in Delhi.
What it does
• Manual tools: boxes, polygons, polylines, 17-point pose, occlusion (amodal boxes), attributes
• AI assist: SAM masks from a click, a box or a magic wand, corrected with a brush
• Detectors propose labels, and people accept, reject or correct them: in the editor, in rapid review, or in a crop grid for bulk decisions
• Tracks: relabel once and every frame of the track is fixed
• Faces and number plates are blurred before anything is stored
• Two people can work on one frame without overwriting each other
• Exports COCO, YOLO, Parquet, OpenLABEL and nuScenes
• A 200-class ontology built for Indian roads
Things I learned building it
• My training data had gaps: frames weren't fully labelled, so unlabelled objects were taught as background. Fixing that took recall from 0.41 to 0.77 with no new labels.
• Zero-shot detectors are confidently wrong in ways that look plausible. About 69% of my "traffic sign" detections weren't signs; one was a bus. That's why every machine label goes through a person here.
• In auto-labelling, SAM takes about 95% of the time per frame, not the detector, so speeding up the detector buys almost nothing.
Limits: it runs on one GPU machine, and it's younger and less polished than CVAT or Label Studio. LiDAR support exists but is basic.
Stack: FastAPI, Next.js, Postgres, MinIO, YOLO11 / YOLO-World + SAM. The code is Apache-2.0; installed with its model libraries, the combination is AGPL-3.0.
I'd like feedback, especially from anyone labelling non-Western road data. What's the most painful part of your workflow?
r/computervision • u/Spiritual_Balance298 • 1d ago
I got tired of teaching non-tech teammates how to use complex labeling tools like CVAT or LabelImg just to annotate a few dozen images.
Everyone already knows how to use PowerPoint, so I built a local Windows app (OpenURLs App, Python + python-pptx) that turns slides into an annotation canvas:
Curious to hear from people working in vision: Would this actually help bridge the gap when asking domain experts (factory/inspection staff, etc.) to label custom datasets, or are there edge cases where PowerPoint breaks down?
(I'm happy to share more technical details on the coordinate math or a link to test it if anyone is interested!)
r/computervision • u/YvesMG1 • 2d ago
built a Raspberry Pi 5 RC car that drives itself with a small neural network, trained with imitation learning and DAgger. In the video it drives a track layout it never saw in training: 2 minutes without a takeover.
Setup
Training I first trained it on my own driving, then improved it with DAgger: the car drives while I hold the controller, and moving the stick takes over instantly. Each takeover, plus the frames just before it when the model was already drifting, becomes training data for the next round.
Next: steering as bins on the car, and predicting action chunks instead of one step ahead. What else would you try?
Code + write-up: https://github.com/YvesMG1/keyecar-pi
Full 2-min run: https://www.youtube.com/watch?v=Jv9juVpWOz4
r/computervision • u/tenkei_01 • 1d ago
Following up on my Qwen3-VL benchmarks, this time I tested Gemma 3 4B Instruct on the same seven vision tasks.
The setup: 100 samples per task, local Hugging Face Transformers on Apple MPS, bfloat16, greedy decoding, and a 4,096-token output cap. Structured JSON was requested through prompting, with no correction retries. Failed responses stay in the scoring denominators.
Here the summary of model performance on the tasks:
| Task | Dataset | Metric | Gemma 3 4B |
|---|---|---|---|
| Classification | CIFAR-10 | Top-1 accuracy | 84% |
| Detection | COCO128 | F1 @ IoU 0.5 | 2.09% |
| Box grounding | RefCOCOg | Accuracy @ IoU 0.5 | 3% |
| Point grounding | RefCOCOg | Point inside target box | 30% |
| Attributes | OVAD object crops | Categorical accuracy | 59.82% |
| Visual question answering | VQA v2 | VQA accuracy | 39% |
| Captioning | COCO Captions 2017 | ROUGE-L | 0.4729 |
A few things stood out compared to previous benchmarks:
Code, runs, benchmarks all available at https://github.com/Tenkei/vlm-tasks
Previous model profiles and follow-ups:
r/computervision • u/Leather_Reaction4471 • 1d ago
We open-sourced the tool our team uses to look inside image datasets before and after training. Posting here because the interesting part is the dataset side, not the model side. The video is the whole idea: brush one axis, everything follows, and open the tile; the model gets it wrong.
What it is
- A React + Three.js dashboard: parallel coordinates, histograms, a table, image/mask/overlay previews, and a 3D embeddings view. Brush one axis and everything else follows; narrow the band and only the surviving tiles stay lit.
- A feature extractor: a folder of images (optionally with COCO-format masks) becomes one CSV of per-image metrics: sharpness (Laplacian, Tenengrad), noise, over/under-exposure, contrast, dynamic range, colorfulness, annotation coverage, instance counts, and class entropy. Optional embeddings (DINOv2 by default) go to a JSON sidecar.
- A Flask API that serves images, masks, and overlays and runs PCA / t-SNE / LLE projection and clustering over the embeddings.
Hardness as an axis (full stack only)
Train a segmentation model from the dashboard (reference U-Net/LR-ASPP presets, MLflow as the system of record). After each scored epoch, every image gets its loss per term, a percentile rank within its split, and a "hardness" score. Those are regular columns, so you can brush "hardness" and see what the hard images have in common on the photometric axes, open one to compare ground truth and prediction, save the selection as a new dataset (lineage recorded), and train again. Two runs on the same images can also be compared per image.
Try it.
- Browser demo, read-only, COCO128 and Agri Stress-500 (451 crop/weed field images with masks) preloaded: https://huggingface.co/spaces/precisionaiinc/magnidata
- Full stack: https://github.com/Precision-AI-Inc/magnidata, then docker compose up --build (API, dashboard, MLflow, trainer). Apache-2.0.
- Technical report (5 pages, PDF in the repo): four models on the same 875 tiles, compared tile by tile: https://github.com/Precision-AI-Inc/magnidata/blob/main/docs/paper/magnidata-technical-report.pdf
What it doesn't do (yet)
- The hardness / rank signals are heuristics for deciding what to inspect, not label-error proofs; we haven't published quantitative results on label-noise detection.
- The "complement" step picks unseen images by distance to a feature centroid, not a learned retrieval.
- Parallel coordinates get crowded past ~40 columns; axis grouping is on the list.
Would like to hear what metrics you'd want per image that aren't there and whether the CSV + embeddings JSON contract would work for your data.
r/computervision • u/obliviousphoenix2003 • 1d ago
r/computervision • u/Special-Rain-5362 • 1d ago
doi: 10.1109/AINIT59027.2023.10212684
URL: https://ieeexplore.ieee.org/document/10212684
Kindly get me the PDF of this article. Thank you.
r/computervision • u/Motion56data • 1d ago
Autonomous data collection is only as good as the footage behind it. Models need to see the moments that don't happen often: a dog stepping into the road, unfamiliar intersections, conditions that change from one country to the next.
Our first data sample brings together clips of real-world video data for training autonomous vehicles across geographies and edge case scenarios.
Every clip comes with:
- Deep metadata, so teams can find exactly the scenarios they need
- Certainty on rights, fully licensed for AI training
If you're building perception, planning or simulation models and need video data you can actually use, we'd love to talk.
Explore the sample: https://huggingface.co/datasets/Motion56poweredbynewsflare/autonomous-driving-videos?utm_source=hugging-face&utm_medium=social&utm_campaign=video-data-samples
r/computervision • u/Significant_Neat_263 • 1d ago
I reconstructed a golf green from phone video using 3D Gaussian Splatting (MCMC) and built a small viewer on top of it.
After feedback that slopes were hard to read, I changed how it is shaded:
The bottom image has a flag marker placed on the surface so I can point at spots while explaining a putt.
Video output is still to come. I'm still tuning the look of the viewer, so any feedback on readability is welcome.
r/computervision • u/rayzh27 • 2d ago
Hey everyone!
Been working on a side project called RallyVision for a while. It started as a simple tennis ball tracker, but now it can detect bounces and map their estimated landing positions onto a 2D court.
The hardest part was definitely bounce detection. I tried trajectory-based methods, spent way too much time debugging, and eventually switched to a visual backbone + Temporal Transformer.
Still plenty to improve, but pretty happy with how it’s coming together!
Here’s a demo from an Alcaraz vs. Sinner match, along with the code and experiments:
https://github.com/rayzhao27/rallyvision
Would love to hear what you guys think!
r/computervision • u/yummbeereloaded • 2d ago
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 • u/Repulsive_Factor5654 • 2d ago
I'm the author. Vantage lets you place cameras, lidars, radars, GNSS antennas and IMUs on a vehicle and see what the rig will actually record before any hardware is fitted:
• live coverage and blind spots
• perception range, timing and sync, power and recording budgets
• tolerance and optimiser studies
It then helps calibrate the real rig and check it against the plan.
• Drives the rig in CARLA with ground truth (detection quality, critical scenarios, campaigns)
• Exports calibration for nuScenes, KITTI and ROS 2
• Works with Claude Code over MCP; every change is an undo step you approve
• GPL-3.0, Linux (x86_64 and Jetson arm64)
Honest limits: it isn't validated on a real fitted rig yet (everything comes from models, simulation and synthetic captures; the validation suite passes 119/119 checks against independent references), and the library figures are datasheet values.
GitHub: https://github.com/Sherin-SEF-AI/Vantage
Feedback from anyone who has built a data-collection rig would be very welcome. What did you get wrong the first time?
r/computervision • u/CivilDatabase7508 • 2d ago
I made two small photo upscalers for LocalSR, my free open-source app: https://github.com/HerRei/local-upscale
- Photo S: 0.62M parameters, 188 ms per input megapixel on an M1 Pro's Neural Engine
- Photo M: 2.03M parameters, 485 ms
- Network: Philip Hofmann's PULSE layout (plain convolutions, so every op runs on the ANE)
- Training data: only CC0 photos (lucid-cc0-v2-hc)
- Weights CC BY 4.0, code MIT
**Results** on a sealed DIV2K hold-out, scored once, each file at its own operating point:
- Photo S beats the SPAN model it replaces on LPIPS (0.259 vs 0.276) and DISTS, at 1.4 dB higher PSNR.
- Photo M shows no clear difference to a 7.4M RealPLKSR model on LPIPS and DISTS, at 2.6 dB higher PSNR.
- Real-ESRGAN still has the lowest DISTS, and A-FINE prefers it everywhere.
**What I found most interesting:**
I also report the negative results, and one bug: my first blur test silently cropped 128 px out of 256 px tiles.
- Report (5 pages): https://github.com/HerRei/localsr-models/blob/master/report/localsr-models.pdf
- Weights: https://huggingface.co/HerRei/localsr-models
I'd like feedback on the evaluation side, mainly how you would settle A-FINE vs LPIPS/DISTS without a big rater study.
r/computervision • u/Automatic-Idea594 • 1d ago
Computer Vision enables machines to see, interpret and understand the visual world like humans. With advancements in Artificial Intelligence and Deep Learning, machines can now recognize objects, detect faces, analyze images and interpret videos. These technologies are transforming healthcare, robotics, autonomous vehicles, industrial automation and smart surveillance, creating new opportunities for ECE engineers.
r/computervision • u/thegeinadaland • 2d ago
Hello, its me again².
I have been working on fotonet v2 (Hi Bird) for a long time.
It is a hybrid architecture. And because of that latency is not as good as a pure CNN model.
Gets 37.5% COCO AP, 2.65 lower than yolo26n (NMS-free accuracy)
fotonet2n is NMS-free like all the other fotonet versions i had developed.
This is the first time fotonet in terms of accuracy is "somewhat" competetive with other models. Although still lacks in some places, I think for a solo project? Its good.
Trained on a 4060, took 3 days with 300 epochs total for the final current release model.
Currently the model with the fotonet trainer converges really fast in the start then slows down;
For example, at epoch 10 fotonet2n was at 23~ COCO AP, at 35 it was around 30~ COCO AP.
You can get more details and locally try on your web browser trough fotonet.studio
And if youd like to, star fotonet on github.
Available today.
COCO AP= mAP@.50:.95 fotonet scored on COCO val2017 trough pycocotools.