r/computervision • • Sep 22 '26

Discussion How often is a “model problem” actually a camera/image-quality problem in production CV?

I've worked with CV systems for several years, mostly with real-world camera footage, and I've noticed that a surprising number of "model failures" aren't really model problems.

Things like IR glare, dirty or slightly defocused lenses, compression artifacts, unstable exposure, camera vibration, bad mounting angles, or poor night illumination can hurt the whole pipeline before the model even gets a chance.

But the first reaction is often to change thresholds, retrain the model, or collect more data.

I'm curious how others handle this in production. How do you decide whether a failure should be fixed at the camera/image-acquisition level versus the model/data level?

0 Upvotes

20 comments sorted by

5

u/hellobutno Sep 22 '26

Models should be aligned with these types of things though. You can do your best to minimize those but the model should be able to generalize.

-5

u/Eastern-Criticism137 Sep 22 '26

Agreed — for normal variation, the model should definitely generalize.

The part I find tricky is when the acquisition problem actually removes information: severe defocus, saturated IR, motion blur, heavy compression, etc. At some point retraining stops being the right fix.

Where do you usually draw that line in practice?

3

u/hellobutno Sep 22 '26

This comes down to clear communication between you and the end user. Before you start you need to make clear what they want, what you can provide given what information you can have, and clearly explain the gaps.

-2

u/Eastern-Criticism137 Sep 22 '26

That's a good point. In production, the acceptable failure boundary is really part of the product spec, not just a model metric.

I've seen cases where teams keep tuning the model when the actual input conditions make the original requirement unrealistic. Making those assumptions and limitations explicit upfront probably saves a lot of wasted iteration.

1

u/bfyvfftujijg Sep 22 '26

And in that scenario the teams are essentially overfitting the model!

4

u/revkillington Sep 22 '26

The first rule of computer vision is vision. Optimizing your imaging optics and illumination can make the difference between a very difficult image processing problem and a very easy one. Constraints may prevent you from optimizing your imaging, but Id argue you should ALWAYS start by asking yourself if imaging can be improved before processing.

1

u/Eastern-Criticism137 Sep 28 '26

Absolutely agree. In many real-world systems, improving the imaging pipeline can have a bigger impact than changing the model.

The tricky part I've seen is that teams often inherit existing camera setups, so they end up trying to compensate for acquisition limitations with model changes.

In those cases, having a clear way to identify "this is an imaging problem, not a model problem" becomes really valuable.

3

u/ivan_kudryavtsev Sep 22 '26

For certain cam problems you should have a model to identify them rather than expect unrealistic results from your functional model.

2

u/Eastern-Criticism137 Sep 22 '26

Yeah, that's close to what I had in mind — a separate input-quality/health stage that flags things like blur, occlusion, bad exposure or IR issues before the downstream model.

Not as a replacement for model robustness, but as a way to distinguish “difficult but valid input” from “the camera feed itself is no longer reliable.”

Have you seen this kind of setup work well in production?

1

u/bfyvfftujijg Sep 22 '26

I use this. It works to the extent that you can predict what might happen and develop a model or algorithm to flag it.

Things like lens blur are surprisingly hard to simulate accurately.

2

u/GFrings Sep 22 '26 • Bravo

There's not a universal sniff test here and each case requires judgement. Just like training any model, you have to determine whether the data acquisition and retraining costs are outweighed by the gain in performance. Which means first you need to quantify the actual loss from the noisy environment. You also need to determine whether the failure modes are trainable. As you stated, some issues (like a lens flare whipping out half your frame) simply destroys all target signal, so there's no getting around the false negative. Best you can do is put safety rails in place to mitigate false positives, since in either case the perturbation is likely outside of the training distribution and can cause unexpected results.

A lot of high-reliability production applications rely on controlling the environment as tightly as possible, to keep things within the optimal input data manifold, rather than trying to expand that manifold to encompass every possible environmental anomaly.

1

u/Eastern-Criticism137 Sep 28 '26

This is a great point. I think the distinction between "hard but valid input" and "input where the signal is fundamentally damaged" is an important one.

For the former, better data/modeling may help. For the latter (for example severe lens flare or complete loss of detail), adding more training data may just teach the model to handle a symptom.

In high-reliability systems, controlling the input conditions seems to be a much more scalable approach.

2

u/bfyvfftujijg Sep 22 '26

All the time.

And not necessarily images-quality either. Often just some camera parameter shifting without degrading visual quality is sufficient to degrade performance. Maybe someone decided to crank up a “sharpness setting for example so now every edge looks different than what the model was trained on.

1

u/Eastern-Criticism137 Sep 28 '26

That's a really good example. I think this is one of the harder cases because the image can still look "fine" to a human while the model distribution has already shifted.

Small changes in sharpening, exposure, compression, or ISP settings can sometimes have unexpected effects.

It makes me wonder if production CV systems should monitor not only image quality metrics, but also changes in the camera pipeline itself.

2

u/[deleted] Sep 23 '26

[removed] — view removed comment

1

u/Eastern-Criticism137 Sep 28 '26

Exactly, I think separating those two signals can make debugging much easier.

Otherwise a bad input and a bad model prediction can look identical from the outside.

A lightweight input-quality layer before inference seems like an interesting way to make the system more observable, especially for long-running deployments.