r/computervision • • Oct 08 '26

Help: Project Multi-task tomato leaf model (YOLO-style det + cls + seg + severity, 2.6M params): labels are whole-leaf boxes, so severity and seg are broken. Looking for advice

2 Upvotes

Hi all,

I'm building CropGuard, a lightweight multi-task model for tomato leaf disease diagnosis from a single forward pass: detection + classification + segmentation + severity. It's 2.63M params, runs on 320x320 RGB, and is CPU-capable.

ARCHITECTURE

- Backbone: timm fasternet_t0 (features_only), C3/C4/C5 at strides 8/16/32

- Neck: BiFPN-lite, 3 levels, width 96, one top-down + one bottom-up round, softmax-free fast normalized fusion

- Detection: decoupled depthwise-separable head, TaskAlignedAssigner, BCE + CIoU + DFL (2100 anchors, 11 classes)

- Classification: SE blocks on 3 levels -> GAP -> concat -> MLP

- Segmentation: light Hamburger-attention decoder over concatenated P3/P4/P5

- Severity: gated fusion of seg embedding, P5 features, cls embedding and leaf ratio -> continuous + 4-bin ordinal outputs

- Training: 5 stages x 10 epochs (backbone+neck+det, then cls head only, seg head only, joint, then joint + severity). Heads-only stages use a frozen backbone, because training the backbone in those stages destroyed the detector (mAP went to ~0).

DATA

32,897 images, 11 classes, all native 320x320, merged from 3 Roboflow Universe projects (CC-BY-4.0). Each has YOLO boxes and a mask.

The problem is the labels (I measured this):

- The "masks" are filled leaf bounding boxes, not lesions

- 5,845 train boxes cover >=90% of the frame; bacterial_spot median box area is 0.889 of the image

- Severity target = box_area / leaf_area, so ~1991/2000 val images land in the top bin

- Heavy imbalance (healthy 12,220 boxes vs target_spot 252)

- 8% duplicate images; I removed them and confined duplicate groups to one split, and results were unchanged or slightly better (dhash only catches near-exact duplicates, so near-duplicate leakage is a lower bound)

CURRENT RESULTS (leak-free test, 1,240 images)

- mAP@0.5: 0.524 (target 0.892)

- mAP@0.5:0.95: 0.442

- cls top-1: 0.850 (target 0.987)

- seg mIoU: 0.883 (but this is leaf-region IoU, not lesion segmentation)

- severity: R2 -1.33, MAE 0.068 (a constant predictor gets 0.009)

QUESTIONS

  1. Severity without lesion masks: is area-ratio-from-boxes ever defensible? Should this be ordinal, or should I drop the head?
  2. Segmentation: can I honestly report this under a renamed metric (leaf-region IoU), or do I need a real lesion-mask dataset?
  3. Detection: when GT boxes routinely span the whole image, how should anchor design/assignment change? Is mAP even the right headline metric for full-object boxes?
  4. Classification: errors concentrate in early blight / late blight / septoria. For texture-dominated fine-grained classes, would bilinear/second-order pooling, a small transformer, or classifying detected-box crops beat SE->GAP->MLP?
  5. Multi-task training: head-only staging vs a discriminative (scaled-down) backbone LR? Does PCGrad help or hurt here? Is a sigmoid gate over concatenated features a sound fusion, or should I model reliability explicitly?

I'm planning to move to PlantSeg (in-the-wild images with expert lesion polygons) to fix the label issues. Does that sound like the right call? Compute is a 4 GB laptop GPU plus Kaggle T4s.

Papers, repos, or lessons learned would be hugely appreciated. Happy to share more numbers or code snippets if useful. Thanks!


r/computervision • • Oct 08 '26

Discussion i7-2600 — ~40 FPS on YOLO + tracking, no AVX2, no GPU

3 Upvotes

Follow-up to my Fruit Inspector post. I ran the same conveyor pipeline on old Linux boxes.

i3-2120 — 11–15 FPS

i7-2600 — ~40 FPS

i5-11400 — ~130 FPS (for comparison)

Full story with photos and infer.gif:

https://medium.com/@olesha-ai/bypassing-the-avx2-tax-real-time-computer-vision-on-a-fifteen-year-old-cpu-ba6b01868f7f

Demo: https://github.com/olesha-ai/fruit-inspector-demo

If you have a similar old PC — curious what you get.


r/computervision • • Oct 08 '26

Showcase Reproducing RF-DETR regression: compute got faster but training steps got 15% slower

Thumbnail
gallery
2 Upvotes

I have been building TraceML, an open-source tool that breaks PyTorch training step time down into data wait, forward, backward and optimizer, without needing a heavy profiler setup.

To test it on a real regression, I ran it against a recent RF-DETR issue (#1544) where upgrading from 1.10.1 to 1.11.0 made training steps 14.8% slower.

Compute (fwd, bwd and opt) time improved in 1.11.0. And if you only timed the compute, the upgrade looked like an improvement.

The extra time was spent waiting on data, which increased by 23.7%. TraceML flagged the run as `input-bound`, with 91% of the step spent waiting for the next batch.

The problem was two extra frame copies when decoding non-JPEG images (fixed in #1551). On 1.11.1, step time and input wait were back within 0.5% of 1.10.1.

My setup: RF-DETR Nano on L4, 4096px PNGs, num_workers=0 so the decode cost isn't hidden by prefetch. I ran 18 runs, half with TraceML and half without, and the timings stayed within about 1.3% of each other.

If you want to run it on your own training scripts:

pip install "traceml-ai==0.5.0"
traceml run train.py

Standard Hugging Face Trainer, PyTorch Lightning and RF-DETR scripts need NO code changes.

Full setup and reproduction code: https://github.com/traceopt-ai/traceml/tree/main/examples/case_studies/rfdetr_input_pipeline_regression

Would this be useful in your training setup? And which library should I support next?


r/computervision • • Oct 08 '26

Help: Project Is it really doable to run YOLO object detection & tracking in realtime over 2-3 streams on CPU-only setup ? Any tips and advices is very welcome

4 Upvotes

Is it really doable to run yolo in realtime over 2-3 streams on CPU-only setup ?

Like 2-3 cctv cameras streams just to detect persons each running at inference rate of least 4-5+ FPS, is it really doable or worth trying ?

If yes then what minimum hardware requirements (particularly CPU requirements) would i need for that? Or what / where to look for exactly to figure that out ?


r/computervision • • Oct 08 '26

Help: Project Two months, $3k of expiring AWS credits, and a mountain of road imagery. Fine-tune a VLM or something smarter?

0 Upvotes

I've got about $3k in AWS credits that expire in roughly two months, around 10 interns who need a real project, and access to a large pile of road-scene imagery (forward-facing, multiple regions).

I want to turn that into something genuinely useful. A paper would be nice, but a working tool, a reusable model or a solid open dataset would be just as good. The only thing I don't want is a pile of experiments with nothing to show for it.

I'm leaning toward something VLM-related, either fine-tuning a small VLM or some kind of "smart" pretraining on the image data. I have a couple of ideas, but I'm skeptical of all of them, and I don't want to burn the credits on a flat result or something a bigger open model already does better out of the box.

Constraints: one to a few GPUs, two months, junior team, no budget beyond the credits.

Questions:

With this setup, what would you build?

Where has domain-specific pretraining or continued pretraining paid off for you, and where was it a waste?

What kind of project splits well across 10 juniors without everything bottlenecking on me?


r/computervision • • Oct 08 '26

Help: Project Looking for recommendation for an open source object detection model

4 Upvotes

Looking for recommendation for an open source object detection model that can be used commercially in a closed source project

I need it for drill hole detection in tunnel face images. I want to avoid models with licensing restrictions

Which model would you recommend for commercial use, and what are the best options


r/computervision • • Oct 07 '26

Showcase Interesting application of computer vision to shuttlecock manufacturing (not my oc/solution)

20 Upvotes

r/computervision • • Oct 07 '26

Showcase I gave my Stack-chan LEGO wheels and taught it to drive using open-source Robium robotics skills

12 Upvotes

r/computervision • • Oct 08 '26

Showcase Visual quality control in about a second, on a laptop CPU, no GPU or API.

2 Upvotes

r/computervision • • Oct 08 '26

Help: Project OpenCV template/pixel difference detection: why do false detections follow the same shape

Thumbnail
gallery
0 Upvotes

I’m using OpenCV to compare a reference image of an empty tray with another image of the same empty tray.
There are no ICs/objects in either image, but when I use pixel difference (absdiff), I still get noticeable differences.
I’ve taken multiple images under the same setup, and the difference pattern seems to have a similar shape each time.
What could cause this? Is it mainly camera noise, lighting variation, or slight movement/alignment between the two images?
Any advice on how I should investigate this would be appreciated.


r/computervision • • Oct 08 '26

Help: Project Making a tool for Data scraping, any suggestions?

Thumbnail
gallery
2 Upvotes

Hey guys! So I am working on a project that can help CV developers with image scraping on the web. Here is what I want this tool to do:

- Completely free and open source; runs locally on your device.
- Easy to use and run for new developers
- APIs can be integrated directly into the web scraper
- If needed, a local Ollama model can run to provide more keywords you can use for the search.

I am working on a few bugs, though I wanted to see if anyone had any suggestions that I could implement, or advice in general.


r/computervision • • Oct 08 '26

Help: Project Group of 3 but I'm doing the FYP alone: how do I pick an industry-level project? (6th sem, 18 months)

0 Upvotes

Hi everyone,

I'm a 6th semester SE student. I've done Python and NumPy basics and just started OpenCV. My long-term goal is to learn machine learning, then deep learning and neural networks, then computer vision. I'm also managing a full university workload alongside this.

The situation: my FYP group has 3 members, but I know the other two won't actually work on it, so in practice I'll be building everything alone. The catch is that my advisor still expects a project sized for a team of 3. It has to be big, industry-level, fully deployed, and solve a real problem that buyers could be interested in. I have 18 months, and the proposal is due this semester.

I'm confused about what to build. I don't know which industry or field interests me yet, since I'm still very new to this. The only real interest I have is cars and F1, which I watch regularly.

I'd really appreciate your help with:

  1. Project ideas that fit ML/DL/computer vision and have a real industry use case, especially anything related to cars or motorsport, but I'm open to other areas too
  2. How do you make a project look "big" and industry-level when only one person is building it?
  3. How would you scope it so it still works if my teammates contribute nothing, but gets better if they do?

r/computervision • • Oct 08 '26

Help: Project SegFormer-B2 on Jetson AGX: improving FPS and reducing false traversable predictions

1 Upvotes

Hi everyone,

I'm working on an autonomous off-road navigation system using SegFormer-B2 trained on the Yamaha-CMU Off-Road (YCOR) dataset.

Current Setup:

  • Model: SegFormer-B2 (~57.4% validation mIoU)
  • Hardware: Jetson AGX + ZED 2i
  • Inference: TensorRT FP16, 512×512, 20–30 FPS
  • Target: 40–50 FPS, eventually 60+ FPS
  • Other models tested: Fast-SCNN and PIDNet-S (faster but less accurate)

Current Challenges:

  • Close-range obstacles sometimes get classified as traversable terrain.
  • Beams, walls, and pillars are occasionally misclassified as paths.
  • Random incorrect class patches appear on clear terrain.
  • Currently using RGB only, although stereo depth is available.

I'm looking for recommendations on improving segmentation reliability while reducing computational cost and inference latency.

I'd appreciate suggestions on efficient architectures, model optimization, training strategies, knowledge distillation, quantization, or RGB-depth fusion.

Any practical experience, benchmarks, papers, or open-source implementations would be helpful.

Thanks!


r/computervision • • Oct 07 '26

Discussion Image-text retrieval with EmbeddingGemma 2's vision tower, running in the browser on WebGPU

32 Upvotes

EmbeddingGemma 2 came out this week. It maps images and text into one 768-dim space, so you can search photos by describing them. I ported its text and vision towers to ruNNtime, a WebGPU inference library in TypeScript, and made a small photo gallery where search runs entirely on your GPU in the browser.

ruNNtime also supports plenty of other vision-like models, and you can play with them in the interactive docs

source: https://github.com/software-mansion/runntime


r/computervision • • Oct 07 '26

Discussion What would you say about a Hugging Face-style open-source pattern db like this?

17 Upvotes

We are building an MLOps platform around explainability, and one natural consequence is that models are not an opaque set of numbers but rather a manageable pattern DB.


r/computervision • • Oct 08 '26

Help: Project Need advice: How to start an instance segmentation project for site plans?

1 Upvotes

Hi everyone,

I'm a beginner developer just starting out in AI. I'm trying to build a system that performs instance segmentation on site plans, but I'm completely lost on where to begin.

Right now, my only ideas are manually labeling a small dataset for few-shot fine-tuning, or using LLMs like Claude or ChatGPT to help build out the post-processing logic. I've tried searching online, but it's been really frustrating since I can't seem to find any specific datasets, models, or literature focused on site plans.

For context, the only hardware infrastructure I have available right now is a single RTX 5080.

I really want to tackle this the right way and do in-depth research like a senior developer, but I'm stuck at the starting line because I can't figure out the best direction to take.

If anyone has any ideas, resources, or general tips on how to approach AI development for this kind of project, please let me know in the comments. Thanks in advance!

P.S. English isn't my first language, so please excuse any awkward phrasing.


r/computervision • • Oct 07 '26

Showcase Blazing fast and simple KNN search

Thumbnail
github.com
0 Upvotes

PyNear is a metric-space nearest-neighbour library with a C++ core, built for the workloads between the embeddings world and brute force: binary descriptors with recall guarantees (MIH + IVF-Binary + the novel MIH-seeded HNSW — dedup, copy detection, ORB/BRIEF matching, robotics), memory-tight ANN (HNSW with int8 quantisation), and exact search (VP-trees, up to ~256-D) where a missed neighbour is a bug, not a recall statistic. One small NumPy-only API, scikit-learn drop-in, pre-built wheels (pip install pynear).


r/computervision • • Oct 07 '26

Help: Project [P] Re-introducing BDD100K Toolkit + Model Zoo

3 Upvotes

BDD100K is still one of the most useful driving datasets, but both bdd-data.berkeley.edu and bdd100k.com have been unreachable for me. The official toolkit has not had a commit since March 2024 and the official model zoo not since November 2022, and their legacy dependencies are hard to install cleanly on current systems. So I rebuilt the parts that matter, one task at a time, on current libraries (PyTorch, Ultralytics, timm, Hydra):

https://github.com/dronefreak/bdd100k-toolkit

It gives you one pipeline for data preparation, training, evaluation and demos on images and videos:

bdd100k-prepare  --dataset bdd100k-weather --raw-dir /path/to/raw --output-dir /path/to/out
bdd100k-train    dataset=bdd100k-weather model.name=yolo11n-cls dataset.data_dir=/path/to/out
bdd100k-evaluate --dataset bdd100k-weather --checkpoint <run>/weights/best.pt --data-dir /path/to/out

What works today

  • Image classification (unofficial tasks): weather, time of day and scenario, derived from the attributes.weather, attributes.timeofday and attributes.scene fields of the official JSON labels. 55 models trained across two backends, Ultralytics and timm.
  • Object detection: the 10-class detection task with the 2018 labels. 9 YOLO models and RF-DETR Nano, all on Hugging Face.
  • Semantic segmentation: the 19-class task, which uses the Cityscapes class layout. Evaluation of public pretrained models works. My own segmentation trainer exists but I have not run it on real data yet, so there are no BDD-trained segmentation models in the zoo.

Datasets

For each task I made unofficial Hugging Face repackagings of the original data and annotations, to make them easier to use with modern tooling. I checked the BDD100K data license: it allows copying and redistribution for educational, research and not-for-profit purposes with the copyright notice carried forward, and I kept that notice in every mirror. The mirrors grant no commercial-use rights beyond the original license.

TaskLocation
Weather classificationdronefreak/BDD100K-Weather-Classification
Time of day (period) classificationdronefreak/BDD100K-Period-Classification
Scenario classificationdronefreak/BDD100K-Scenario-Classification
Object detectiondronefreak/BDD100K
Semantic segmentationdronefreak/BDD100K-Semantic-Segmentation

Results

All scores are on the validation set of BDD100K. The detection models are collected in the BDD100K object detection model zoo on Hugging Face.

  • Classification: best macro F1 is 68.7% for weather, 83.2% for time of day and 62.5% for scenario, all from TinyViT-21M. The classes are heavily imbalanced, so I report macro F1 and not just accuracy.
  • Detection (960 px): YOLO26s reaches 33.9 mAP@0.5:0.95 (58.8 mAP@0.5) and RF-DETR Nano 31.6 (56.9).
  • Segmentation: this is a zero-shot cross-dataset transfer evaluation: the models were trained on Cityscapes and evaluated on BDD100K without any BDD100K training. BDD100K shares the Cityscapes 19 classes, so I scored 9 public Cityscapes-trained models (SegFormer B0 to B5 and Mask2Former Swin-T, S and L) on the 1,000 val images. The best is Mask2Former Swin-L at 57.7 mIoU, then SegFormer B5 at 54.1.

How to read the numbers

These are solid baselines but not leaderboard numbers. The classification tasks are not official BDD100K benchmarks, the detection metric is the Ultralytics COCO-style mAP and not BDD's official ignore-rule evaluation, and the segmentation models were never trained on BDD100K, so they are not comparable to BDD-trained models. Making the evaluation match the official semantics is on the roadmap.

What is missing, and a request

Instance and panoptic segmentation and multi-object tracking are planned but not started, because I could not find the original labels for them. If you have a copy of the instance, panoptic or tracking labels, or know where one still lives, I would really like to hear from you. Feedback on the evaluation choices is welcome too, and so are issues and PRs.

This is my first attempt at rebuilding an ecosystem like this, and I would like to keep developing it. BDD100K is too useful to become harder to use just because the tooling around it has fallen behind.


r/computervision • • Oct 08 '26

Discussion How are you speeding up video dataset labelling?

0 Upvotes

I’m working on an ironing video dataset and had to label everything manually. It took me 30 min to label a 45 second clip. Curious how others handle video labelling, what tools or workflows help, and roughly how long does annotation take compared with the footage length?

I’m building a tool to label by voice, inspired by this experience. Has anyone tried a similar approach?


r/computervision • • Oct 07 '26

Discussion How can I learn CV today

9 Upvotes

Hello, I am a Master Student in Data Science mostly working with LLMs, and I want to learn CV. I don't have much experience in image analysis.
I did some research about how to learn and I wanted to do some hands-on projects. But today with efficient coding agents, I do not know on which parts of the process I should spend my time to become proficient in this field. Would you have some recommendations ?

Thanks for your help !


r/computervision • • Oct 07 '26

Discussion Lack of training data

4 Upvotes

Hello, I'm researching how people deal with small datasets in computer vision, specifically when you need to detect or classify a object and only have a handful of real photos.

I was curious about how often this is a problem for people working in the industry, and what is usually done to deal with this problem.


r/computervision • • Oct 06 '26

Showcase Built my own imagr depth model

63 Upvotes

I trained my own model on 750,000 images for 45 hours.

Then I walked into my university hall with nothing but my phone and recorded an 11-minute video.

No LiDAR.

No depth sensor.

No specialized camera setup.

Just monocular vision, a single RGB camera.

And in some of my tests, my model even outperformed YOLO26x.

From a single phone video to depth estimation and 3D reconstruction.

750K training images. 45 hours of training. 11 minutes of footage. One camera. No LiDAR.

Edit: I promise I will reply to all the comments, just give me some time as my day is very crowded today.


r/computervision • • Oct 07 '26

Commercial Computer Vision - Pose Estimation based Sports Biomechanics Work

0 Upvotes

Hello! I am looking for someone who can help me guide and layout the pipeline to build a sports biomechanics product (for Cricket sport - non broadcast, controlled environment videos) for player performance insights.

Looking only for experienced folks within computer vision field and has already worked or built in sports domain.

Happy to discuss more. If anyone could take end to end ownership in fine tuning model on cricket dataset and building a full production grade product pipeline, willing to pay fair amount [Based out of India and can match Indian market rates. Please don't reach out if this doesn't workout, Thanks]

TIA!


r/computervision • • Oct 07 '26

Discussion Edge video analytics on factory CCTV: false alerts kill deployments, not model accuracy

0 Upvotes

I run a small CV company in India (Neurabit). We've been deploying video analytics on industrial CCTV for a while, and the pattern repeats often enough that I want to sanity check it with people here.

The numbers that frame it:

  • A 32 camera site records 768 hours of footage a day
  • One person can meaningfully watch about 4 streams, and attention drops after ~20 minutes
  • Streaming 32 cameras to a cloud analytics service at recording quality is roughly 128 Mbps of sustained upload, which a typical Indian industrial leased line can't spare

So footage only gets reviewed after something goes wrong, and cloud analytics falls over when the link does.

What we've seen kill deployments:

  1. False alerts. Around 40 false alerts per camera per day trains a supervisor to ignore the system within weeks, and the trust doesn't come back. We target under 1 false positive per camera per day on critical alerts, and we expose the FP rate per rule so the customer can see it.
  2. Cloud dependence. We run everything on Jetson Orin inside the building so monitoring keeps working with the WAN down. Alerts queue and deliver on reconnect.
  3. Fixed rule sets. Moving a loitering threshold from 5 to 15 minutes shouldn't be a change request. Customers can edit rules, and replay a new rule against the last 7 days of recorded footage before arming it.

On the compute side, we don't run every model on every frame. A light detector runs on all channels, and heavier models run only on cropped regions when a condition is met. That cascade is what gets us to about 10 analysed cameras per Jetson.

On tuning: at a live substation we deployed on, lighting, reflective equipment and uniform colours all produced false positives out of the box. Fine-tuning on the site's own footage fixed it. Day 3 it works but flags shadows as people and cartons as abandoned bags, and it takes 2 to 4 weeks to settle. Gloves are the hardest PPE class because hands are tiny in frame.

Questions for people who've shipped this:

  • How do you measure false positives per camera per day in production, and what threshold do operators actually tolerate?
  • Anyone doing per-site fine-tuning at scale without it turning into a services business?
  • Where does your cascade break down (crowded scenes, tracking handoff between cameras)?

Happy to go deeper on any of this.