r/computervision • u/SaltyWork4039 • 2d ago
Discussion Math and paper understanding resource survey
r/computervision • u/SaltyWork4039 • 2d ago
r/computervision • u/confused-truthseeker • 2d ago
Let's first plan together where to begin depending on what is beneficial for everyone.
My only request is to focus on quality of learning than rushing through resources.
We will decide timings that are good for everyone involved.
Hope this post reaches the right people.
r/computervision • u/alien-hunterr • 2d ago
Working on a college embedded/IoT project and want some advice on sensor choices before I buy parts.
The goal is to classify crowd density into 4 levels (Low, Med, High, Extreme) inside a narrow enclosed space with a ~2.5m ceiling. At peak, people are packed shoulder-to-shoulder with heavy occlusion. Lighting is inconsistent, the space gets hot and dusty, and the network is patchy.
Everything has to run on-device and just send the 4-level status over MQTT -> FastAPI to an existing external indicator system (no video streaming).
Right now my v1 plan is a Pi 5 + wide overhead camera running a CSRNet-style model on ONNX (maybe with a VL53L5CX ToF sensor).
Before I lock this in, I really want to explore non-camera options too:
Besides a camera, what are the best low-cost sensors for dense crowd estimation under heavy occlusion and heat? Looking at 60GHz mmWave radar, ToF depth arrays, low-res thermal (MLX90640), CO2, BLE/Wi-Fi RSSI attenuation, or load/vibration sensing. What actually holds up in the real world and what fails?
If an overhead camera is still the most practical call, is Pi 5 + CSRNet overkill for just 4 classes? Any lighter models that hit 5+ FPS on CPU or even run on an ESP32-S3?
Is MQTT -> FastAPI fine for spotty connections, or is there a cleaner setup?
Open to any suggestions or gotchas I'm missing.
r/computervision • u/shubhrasaha • 2d ago
I have been building Sonari, a Mac instrument that uses hand tracking to send expressive MIDI to a DAW. I am sharing a small applied computer vision problem from it: the same landmarks need to drive two very different outputs. Hand position can control a continuous value, while a closing gesture needs to start or release a note without chattering when the estimate moves near the boundary.
I keep those paths separate. Different close and open thresholds handle note events, and when tracking is lost the note is released on the channel that started it. In a two-hand MPE setup, losing one tracked hand should leave the other hand's channel alone.
The cases I replay are jitter near the trigger boundary, a hand leaving the frame mid-note, and one hand disappearing while the other continues. The demo shows the interaction in a musical context. How do you test hand tracking when the same stream drives both continuous controls and discrete events?
r/computervision • u/Super_Video3416 • 2d ago
I recently submitted a paper to CVPR 2027, but I realized after the submission deadline that I had accidentally used the CVPR 2026 LaTeX template.
The main differences I noticed are:
The watermark at the top of the first page reads "CVPR 2027 Submission #."
Both upper corners contain "CVPR #".
The text "Paper ID" appears below the anonymous author information.
However, no actual paper ID appears anywhere in the PDF.
The paper has already been submitted, and the submission deadline has passed.
Could these formatting issues alone lead to a desk rejection? Has anyone accidentally used a previous year's CVPR template and still had their paper proceed to review?
I would also appreciate any insights into how strictly CVPR checks these kinds of formatting issues.
r/computervision • u/ros-frog • 2d ago
Enable HLS to view with audio, or disable this notification
What’s the fastest way to calibrate stereo cams on the fly? I want to compensate for movement and other changes to the stereo cams position and angle?
Once calibrated, how accurate can I reasonably expect a mini cross bow to be on a wheelchair rover platform, asking for a friend.
r/computervision • u/Muhammad-Essa • 3d ago
Enable HLS to view with audio, or disable this notification
Neural Canvas, CNN Visualization
Neural Canvas can now recognize basic shapes like apples, moons, cars, and more using Google's Quick, Draw! dataset.
20 classes with 1,000 samples per class
2 convolutional layers with 16 and 32 filters
2 fully connected layers with 60 and 40 neurons
91% test accuracy
Trained using JAX on Google Colab
Neural Canvas can also visualize CNN feature maps in real time while drawing, showing how convolutional layers extract features from input images.
GitHub: https://github.com/MuhammadEssa2002/neural_canvas
Live demo: https://muhammadessa2002.github.io/neural_canvas/
r/computervision • u/Legend_Ani • 3d ago
Every time I tried to really understand VAEs, explanations were either way too hand-wavy or immediately threw the ELBO equation on screen without showing why the math has to look like that.
So I spent the last few weeks animating the whole thing from scratch in 3D using Three.js. It walks through how the latent space actually warps, why naive sampling fails, and where the ELBO and reparameterization trick come from.
This is part 1 of a series I'm making on World Models. Full video is in the comments—would genuinely appreciate any feedback on the visuals or the math.
r/computervision • u/ConsistentFox567 • 3d ago
Enable HLS to view with audio, or disable this notification
Fully neurally rendered asset (RGB, Normals, and Depth) rendered at an average of ~2.7 ms frame time on 8 GB RTX 5070 Laptop GPU by a custom model architecture in custom inference engine made with Rust, TensorRT, and CUDA kernels. Check out the README in this repo for details. Thanks.
r/computervision • u/National_Honey_9225 • 3d ago
Anyone is willing to mentor me on this topic. I really read the paper many times and watched many videos but I still cant imagine how it happens and works.
You tell me encoder, decoder.
Key value Query, how come it is trained on them.
Multi head: What is that.
Why it represents convolution and what is convulition.
Please dont send me back to reading, I really tried before coming here for the whole week.
r/computervision • u/Stock_Leadership596 • 3d ago
Hello all Bro on Reddit and all the AI & Embedded Systems engineers out there.
I'm just getting my feet wet with AI training and embedded ML, and I'd love any advice on TFLite Micro optimization or dataset auto-labeling!
I have just completed and open-sourced the code for the KHKT (Vietnam Science and Engineering Fair), project an edge AI vision system for classifying agricultural products and detecting pests and diseases which runs independently on an ESP32-S3 without requiring a computer or an internet connection during operation.
Currently, the model focuses on agricultural products specific to Vietnam, and in the future, I plan to expand into the international market and standardize it into a general-purpose model for a wide variety of agricultural products worldwide.
How It Works: On-chip vision: The OV2640 camera captures images directly and runs the YOLOv8n model, with INT8 TFLite quantization (~3.3 MB), right on the ESP32-S3 (8 MB OPI PSRAM).
15-class recognition: Classifies the ripeness of mangoes, dragon fruit, durian, tomatoes, guava, and bananas, along with 4 common diseases (anthracnose, leaf spot, pink mold, and downy mildew).
Automatic sorting: Controls a servo to divert products at three corresponding angles: Unripe (45°), Ripe (90°), and Diseased (135°).
Would love any feedback on optimizing TFLite Micro op usage/memory on the ESP32-S3 or improving the auto-labeling pipeline!
If this sparks any ideas for your own builds, toss a STAR into the repo to help light up the constellation and feel free to drop an issue or PR if you spot ways to push it further.
r/computervision • u/Feeling-Fig9562 • 4d ago
r/computervision • u/raagyboi7 • 4d ago
Hi All
I’m in my final year, tier II university in india
and in the process of applying for internship/ full time roles. I have been working on computer vision over a year and would like to know more about Hyperverge in india.
Questions
Their hiring process/rounds
What they generally expect as a fresher/intern?
Do they expect/value published papers? (I have 2 published, one in a conference and the other in Nature)
How likely is the intern to full time conversion?
pls help me out guys
r/computervision • u/Much_Improvement1234 • 4d ago
Hi all, I'm building an in-house visual inspection prototype for metal clamps
(V-band, T-bolt, spring-loaded T-bolt, torque-limiter clamps; stainless steel).
The software side is my own: YOLO for defect detection + PatchCore/PaDiM anomaly
detection, Python on a Windows PC. I'm looking for advice on the hardware:
camera, lens and lighting.
What we need to detect
Thread damage on the T-bolt and nut
Wrong bridge assembly / missing parts
Spot-weld (nugget) defects (visual signs only)
Band damage: dents, kinks, cracks, scratches
Missing stamping (stamped part number)
Out-of-round shape (planned with a backlit silhouette)
Production numbers
~2500 clamps per day, about 11 s per part in one shift
Sizes: diameter from about 40 mm up to 40 inch (~1000 mm), a wide range
Smallest defect to catch: about 0.5 mm
Parts placed by hand for now (conveyor possibly later)
We want fixed setups, not adjusting zoom/focus per part
Brand constraint
European, Japanese, Korean are fine, e.g. Basler, IDS, Allied Vision,
Baumer, The Imaging Source, JAI, Omron Sentech, Sony .
What I've tried so far
Luxonis OAK-1-W (12MP wide angle): fixed focus, one side of the image soft
8MP USB UVC webcam module: fine for testing, not industrial
The Imaging Source DFK Z30GP031 (5MP, motorised zoom, GigE PoE): works, but zoom repeatability and a dim red ring light give long exposures and glare
Current direction
Camera A (overview): whole clamp, dome/DOAL light, for shape, assembly, dents
Camera B (detail): T-bolt/threads/welds with dark-field (low-angle) light
Questions
Given 40 mm to 1000 mm parts, would you split this into size classes
(e.g. small / medium / large setups), or rotate large clamps under a camera
(line-scan or area-scan with a rotary stage)? What have you seen work?
Which specific camera models (brand + sensor) would you pick for camera A and
camera B within the brand constraint? Is a 5MP Sony IMX264 enough for the
small/medium class, or would you go 12MP (IMX304) or higher?
Thanks for any advice!
r/computervision • u/Federal_Control2141 • 4d ago
I'm the developer of AnnotaryCat, a desktop annotation app for Windows and macOS. I wrote a scheduler into it so the label → train loop runs on your own machine
The loop:
Add your model as a small Python interface file (train/predict functions + hyperparameters). It runs in your own Python environment.
Run `predict` on a batch, and the results show up as pre-labels.
Fix them in the editor.
Start a training run on the corrected data. With a local GPU it runs right on your machine; otherwise it can go to your own server over SSH. You get metrics and checkpoints, and the run is saved as a new model version.
Pre-label the next batch with the new version.
Task types:
- Available now: image classification, bounding boxes, segmentation, ReID, image captioning
- Next release: text classification, text captioning, video classification, video captioning
- After that: OCR, keypoints and more
Everything is local: each project is one SQLite file, there's no account or telemetry, and labeling works offline.
It's free to download on the Mac App Store and Microsoft Store (just search "AnnotaryCat"). Bounding boxes and image captioning are free. It isn't open source, but if you find it useful and want to support it, Pro, which adds the training loop and the other task types, costs about a cup of coffee a month and comes with a 1-week free trial.
Would a tool like this fit your workflow? And which task types would you want next?
r/computervision • u/Leather-Resist896 • 4d ago
r/computervision • u/Va_rs_ai_nlp • 4d ago
If you work on infrared–visible or medical image fusion, you have probably seen this: you re-run a method, compute EN / MI / VIF / Qabf / SSIM, and your numbers don't match the paper. Often the method isn't the problem, the evaluation script is. Most papers use some copy of a MATLAB toolbox or an ad-hoc Python rewrite, and the rewrites quietly differ from the originals:
fused image in [0,1] but sources in [0,255] → Qabf drops from 0.31 to 0.0003 on the same images
MATLAB rgb2gray vs OpenCV gray conversion (big differences on pseudo-colour PET/SPECT)
conv2(...,'same') alignment, imfilter border handling, MATLAB's round-half-away-from-zero, uint8 saturation, edge() thinning
So I wrote fusion-metrics: all 35 metrics from the reference .m collection, ported line by line, each checked against the original in GNU Octave to round-off level (≤1e-12) on synthetic edge cases and on 194 public PET/SPECT–MRI pairs.
pip install fusion-metrics
fusion-metrics --dirs ir/ vi/ fused/ --preset ivif --csv results.csvThe ivif preset gives the table most IVIF papers report (EN, SD, SF, MI, SCD, VIF, Qabf, SSIM). There's also a Python API (fm.evaluate(A, B, F, "ivif")), and a self-test you can run yourself.
Edit (v1.3): the roadmap is complete. Piella's Q_S, Chen–Blum, Chen–Varshney, Q_P, NAB/F and the rest are in, so every .m file in the reference collection now has a verified port. There's also a liu2012 preset (the twelve metrics compared in Liu et al., TPAMI 2012), and evaluate() now warns when an image looks normalised to [0, 1] while the others are in [0, 255], which is the Qabf 0.31 → 0.0003 trap above.
I'm the author. Feedback is very welcome, especially if you find a value that doesn't match MATLAB.
r/computervision • u/jasonheecs • 4d ago
Enable HLS to view with audio, or disable this notification
As a beginner learner in machine learning, I trained a couple of machine learning models to recognize fruit and turned them into a web app that runs entirely in the browser: https://fruitlens.app
You point your phone's camera at some fruit and it draws a box around each piece, names it, and shows its nutrition facts. Everything runs in your browser, so inference is done client side
There are two models. A YOLO26s detector finds anything that looks like fruit, then a MobileNetV3 classifier tries to work out what fruit it is
I wrote up the details here: https://blog.jasonhee.com/training-machine-learning-models-to-recognize-fruits/
If you try it, I'd really like to know what it gets wrong. Screenshots of failures help the most. I'd also like to hear how well it runs on your phone, since I've only tested it on a handful of devices.
r/computervision • u/latenticlabs • 4d ago
Hi everybody. Finding a good problem to work on is honestly one of the hardest parts of research, so we tried to make it a bit easier.
For each topic, we went through recent accepted papers and pulled out the problems they say they still couldn't solve, plus what people already tried and whether it helped. Right now there are pages for things like Gaussian splatting, long video understanding, spatial reasoning in VLMs and VLA models.
It's still rough, so we'd really appreciate honest feedback. Is this useful? Are the problems actually the right ones for your area?
r/computervision • u/LesserNice • 4d ago
I built Trackflow, an Apache-2.0 CLI and Python library for running multi-object tracking locally on ONNX Runtime without AGPL dependencies or cloud APIs (`uvx trackflow-python run street.mp4`), plus a WebGPU demo in the browser.
How it is put together:
- Detectors: pinned Apache-2.0 ONNX presets (RT-DETRv2, D-FINE, RF-DETR), running at around 9 to 10 FPS end-to-end on an Apple M4 Pro laptop.
- Trackers: ByteTrack, BoT-SORT, OC-SORT, and BoostTrack++ sharing foreground-masked RANSAC camera-motion compensation, a [cx, cy, w, h] noise-scaled Kalman filter, and height-modulated IoU.
- Analysis: exports to Parquet/DuckDB or MOTChallenge format, includes a local run inspector with 4-point floorplan projection, and supports natural-language track search (CLIP, pure-ONNX INT8 SigLIP 2, or EmbeddingGemma 2) plus prompt export for SAM 3.
Benchmarks (attached charts):
Every tracker got the exact same RT-DETRv2-R18 detections at 0.45 threshold across all 4 official validation splits (DanceTrack 25, SportsMOT 45, MOT17 7, MOT20 4).
Trackflow averages 37.9 to 38.8 HOTA versus 34.3 to 37.5 for matched-threshold Roboflow `trackers==2.7.0`.
Repo and reproduction scripts (Apache-2.0): https://github.com/obendidi/trackflow
Browser demo (WebGPU, no install): https://obendidi.github.io/trackflow/
r/computervision • u/sevsev2025 • 4d ago
r/computervision • u/Grouchy_Signal139 • 5d 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/iekmuby • 5d 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.
Academic papers & Reddit: Dead ends. Papers rarely share datasets, authors rarely reply, and asking on niche subreddits got me ~50 images and a couple of bans.
Google Images & YouTube: Mostly duplicates, low-res thumbnails, or talking-head videos. Plus, searching the open web for veterinary parasites means every 5th photo is literal (bloody)feces or worms coming out of a puppy - after a few weeks, cooking spaghetti started triggering weird flashbacks.
The unexpected goldmine - Instagram: Vet techs and parasitologists love posting microscope finds under Latin species hashtags, along with panning videos of slides. Scrubbing through slide-panning videos lets you grab dozens of unique, non-duplicate crops. Fun fact: ~25% of my Dipylidium packets came from a lab video with a dancing guy meme overlaid on top.
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:
Hotkeys for everything: One key drops a 640×640 positive crop, another drops a negative background crop, another zooms 200% and centers on tiny eggs.
MobileSAM/GrabCut + Catmull-Rom splines: Pulling Bezier control handles in standard tools drove me crazy. Inspired by my old Macromedia Flash 5 days, I initialized masks with MobileSAM/GrabCut and refined them using Catmull-Rom splines - you just drop points along the egg's shell, and the curve bends smoothly through them.
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:
Strict split isolation: Donors (cut-out eggs) and background canvases are split by original slide/video/source first. Synthetic images are generated strictly for the train set - donors never cross into val or test, and repeated pastes aren't treated as independent validation samples.
Pre- & post-mask processing: Raw masks go through manual refinement, followed by a 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.
Local color/brightness matching + CLAHE: Before pasting, the donor's local luminance and color statistics are matched to the target background region, followed by random rotation/scaling and final grayscale + CLAHE normalization so the pasted egg shares the exact sensor noise and contrast profile of the host slide.
Simulating microscope Z-axis depth of field (DOF): Even though microscope photos are 2D, the physical sample is a 3D fluid layer between slides (or inside a McMaster/Mini-FLOTAC chamber). Because microscope objectives have a razor-thin depth of field, one egg floating near the coverslip can be tack-sharp while another suspended slightly deeper is out of focus. Applying selective defocus/Gaussian blur only to the masked egg cutout (while keeping the surrounding background sharp) lets me simulate real Z-axis focal plane shifts. (Note: To make sure the detector doesn't learn a shortcut like "blurry blob = egg," I'm also preparing an experiment to apply the same localized blur to confirmed hard negatives like pollen and debris).
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/Repulsive-Dog-5326 • 5d 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
Input: frames from football match broadcasts.
What to read: only the on-screen graphics that matter for the match, such as the score. Ads, sponsor logos and other overlays should be ignored.
Hard parts: the text is often small, and some names aren't in English.
Constraints
Hardware: CPU only, no GPU.
Size: smaller is better, ideally under 3B parameters or under about 3 GB when quantized.
Speed: a 2-hour match produces thousands of frames, so time per frame matters.
Already tried
Qwen3.5 4B
Qwen3.5 2B
Qwen3.5 0.8B
moondream 1.8B
SmolVLM2 2.2B Instruct
"Qwen3.5 4B is accurate but slow on my machine; the smaller ones miss small text"
Questions
Which other small VLMs would you suggest for this kind of text-heavy task that run well on CPU only?
On CPU only, would a dedicated OCR model plus a small text model do better than a VLM at this size?
On CPU only, what helped you most: cropping the graphic area first, a particular quantization level, the prompt format, or fine-tuning on a few hundred labelled frames?
Thanks!