Why Machine Vision Projects Fail (And the 7 Things That Make Them Succeed)

Why Machine Vision Projects Fail (And the 7 Things That Make Them Succeed)

Machine vision has been around for over 50 years. There are millions of systems deployed worldwide. The technology is proven, the components are reliable, and the software is more capable than it has ever been. 

So why do some projects still fail?  

After 18 years of supplying machine vision systems and helping engineers specify, build, and troubleshoot them, we have seen the same patterns come up again and again. The good news is that most failures are entirely preventable. They come down to seven things. We call them the 7 pieces of the machine vision puzzle. Miss one, and the whole picture breaks. 

1. Knowledge: the piece that affects everything else 

This is the most common root cause of machine vision projects going wrong, and it runs through all the other six. It is not a criticism. Everyone has a first project. But if an engineer is specifying a vision system for the first time, the number of decisions they need to get right is significant: camera type, sensor size, lens selection, lighting geometry, interface bandwidth, software platform, mounting, triggering, environmental protection. Getting any one of those wrong can mean the system underperforms or fails entirely. 

The challenge is that machine vision sits at the intersection of optics, electronics, software, and mechanical engineering. Very few engineers have deep expertise across all four. An engineer who is brilliant at PLC programming may have never selected a lens before. A quality manager who understands their inspection requirements perfectly may have no idea what interface bandwidth they need. 

This is where working with a knowledgeable supplier makes a measurable difference. Not because you cannot do it yourself, but because the learning curve is steep and the cost of getting it wrong on a production system is real. Clearview's KnowHow training programme exists specifically for this reason, and our engineering team can support the specification process through ClearviewFormula so you are not making those decisions alone. 

2. Start with the image, not the software 

This is the single most important technical principle in machine vision, and the one that gets ignored most often. If you start with a good image, the software work becomes dramatically easier. 

What does a good image mean? It means the right camera with the right sensor for your resolution and speed requirements. It means the right lens for your field of view and working distance. And above all, it means the right illumination. Lighting is the most underestimated component in machine vision. Engineers routinely over-invest in cameras and under-invest in lighting. The result is an image that no amount of software can fix. 

With good optics and good illumination, you can often use simple, reliable algorithms: pattern matching, edge detection, blob analysis, basic thresholding. These are well-understood tools that run fast and produce consistent results. When the image is poor, engineers are forced into increasingly complex and fragile approaches to compensate for what should have been solved at the optical stage. 

The principle is simple: get the image right first, and the rest of the system gets easier. Get it wrong, and you will be fighting the software for the life of the system. 

3. AI is not always the answer 

There is a lot of excitement about AI and deep learning in machine vision right now, and for good reason. For certain applications, particularly defect classification on variable or complex surfaces, deep learning delivers results that classical algorithms cannot match. 

But AI is not a universal fix. Deep learning models need training data, computing power, and ongoing maintenance as production conditions change. For many inspection tasks, a well-designed classical vision system with good lighting and standard algorithms will outperform an AI approach in speed, reliability, and cost. 

The question to ask is not "should we use AI?" but "what does the image look like when the lighting and optics are right?" If the defect is clearly visible and consistent, classical algorithms will almost certainly do the job. If the defect is variable, subjective, or hard to define with rules, that is where deep learning earns its place. 

4. Complexity kills: keep the operator interface simple 

A vision system that works perfectly in the lab will fail on the production line if the people operating it cannot understand it. This is not about intelligence. It is about designing for the environment. Production operators are busy, they are managing multiple tasks, and they need a system that gives them a clear pass/fail result with obvious visual feedback when something goes wrong. 

The best operator interfaces show the master image alongside the test image, highlight the failed feature with a clear visual indicator, and display the result in a way that requires no interpretation. If an operator needs to read a manual to understand what the system is telling them, the interface has failed. 

This extends to changeover and setup. If switching between product variants requires a specialist to reprogram the system, you have built in a bottleneck that will cost you production time every week. Software platforms like Zebra's Design Assistant allow non-software engineers to configure and maintain applications using flowchart-based programming. That means the people closest to the production line can support the system without waiting for external help every time something changes. 

5. Flexibility: do not lock yourself in 

Some machine vision platforms lock you into a single supplier's ecosystem. The camera only works with their software. The software only runs on their hardware. When you need to change something, you need that supplier again. If their support is good, this can work. If it is not, you are stuck. 

The alternative is to build on open standards. GeniCam-compliant cameras work with any GeniCam-compatible software. Standard interfaces like GigE Vision and CoaXPress are supported across multiple manufacturers. This gives you the freedom to swap components, add cameras from different suppliers, and maintain your system independently. 

We see this play out regularly. A customer has a good working system using GeniCam cameras but wants to reduce unit cost by switching to MIPI sensors. The price difference looks attractive on paper. In practice, MIPI cameras require different drivers, different integration approaches, and different expertise. We have seen companies spend many months in R&D trying to make low-cost cameras work, only to find that the total development cost far exceeded what they would have saved on the hardware. All of that R&D time is sunk cost. The savings on cameras never materialised because the engineering effort consumed them many times over. 

Before making a platform decision, ask yourself: if I need to change something in 18 months, can I do it myself? If the answer is no, think carefully about whether the short-term saving is worth the long-term dependency. 

6. Setup and environment: the production line is not the lab 

A vision system that performs flawlessly on the bench can fail within hours of being installed on a production line. The reasons are almost always environmental: temperature fluctuations that affect sensor noise and lens focus, vibration that shifts camera alignment, ambient light that interferes with structured illumination, dust and moisture that degrade optical surfaces over time. 

The same applies to the processing hardware. We regularly see customers using consumer-grade PCs that were never designed for industrial environments. They overheat, they have no real-time I/O capability, and they are not rated for continuous operation. An industrial PC with real-time I/O, passive cooling, and appropriate ingress protection is not a luxury. It is a basic requirement for any system that needs to run reliably on a production floor. 

Triggering and I/O architecture matter more than people expect. The difference between polling I/O and real-time I/O can be the difference between a system that catches every part and one that misses intermittently. If your line runs fast and your tolerances are tight, this is not something to compromise on. 

7. Cost: the cheapest system is rarely the cheapest in the end 

The instinct to minimise upfront cost is understandable. But in machine vision, cutting corners on components almost always costs more in the long run. A cheap lens that introduces distortion means more complex calibration. A budget camera with poor noise performance means more aggressive image processing. Inadequate lighting means the software has to work harder, which means more development time, which means more cost. 

Then there is the open-source software question. Free tools like OpenCV are powerful, and for some applications they are the right choice. But when something goes wrong at 2am on a production line, who supports you? When you need a new feature, who builds it? The total cost of ownership of "free" software often exceeds the cost of a supported commercial platform once you factor in the engineering time spent maintaining, debugging, and extending it. 

The argument is simple: invest in image quality (camera, lens, lighting) and you save on the software side. We have written a detailed breakdown of what machine vision systems actually cost on our pricing page.

The puzzle is solvable

None of these seven pieces are unsolvable problems. They are predictable, well-understood challenges that the industry has been dealing with for decades. The difference between projects that succeed and projects that struggle is almost always preparation: taking the time to specify properly, test thoroughly, and choose components and platforms that will serve the application for years, not just pass the initial demo. 

If you are starting a new machine vision project, or troubleshooting one that is not performing as expected, Clearview's engineering team can help. Our Insights test labs are set up for exactly this: evaluating your samples under controlled conditions, testing different camera, lens, and lighting combinations, and validating that the system will work in your production environment before you commit to purchasing. 

Get in touch: info@clearview-imaging.com | +44 (0)1844 217270 

 

Back to blog >