This is Why Your Vision Inspection Can’t Do That

I see a lot of vision applications and sometimes it surprises me what people expect a camera to do.  Industrial vision inspection is very powerful, but it doesn’t work the same way the human brain does, so you can’t expect it to do the same things or in the same way.  This can be both a help and a hindrance. As with any engineering task, understanding how the system works can help us maximize the benefits and mitigate the weaknesses.

How the Human Brain Processes Images

Your brain is a pattern recognizing machine.  Primed with a lifetime of learned patterns, it can quickly identify and categorize nearly anything you can see.  Even when pictures aren’t clear, you can probably make a good guess just based on context. You know where you are, what you’re looking for, and you’ve got the additional benefit of all your other senses.  

When you’re considering a vision inspection task, you also have deep knowledge about the product you’re inspecting, the process that created it, and the things that can go wrong.  That helps immensely in determining if something is a good part or reject.  

Unlike a computer, your brain is very flexible and readily learns from experience.  You can quickly and effortlessly learn new product categories or defect types. You can recognize patterns without having to be taught.  If you don’t see what you’re looking for in the place you expect, you’ll look elsewhere. Even fuzzy or distorted images are recognizable to the human brain, and you’ll usually get better over time.  

While the human brain is supreme when it comes to pattern recognition (also called categorization in vision systems), it has some limitations.  It can be inconsistent from person to person or day to day, sometimes slow, and it’s not numerical, so things like measurement from visual inputs are difficult.

How Industrial Vision Inspection Works

On the other hand, when you’ve got an automated vision inspection system, it only knows what you tell it.  It has no idea about the process or the part, no stored bank of patterns to recognize, no awareness of context, and no other senses.  

The programmed system is very rigid in its approach to finding, categorizing, and measuring features.  Each step of the process has to be specifically set up by the programmer, so it won’t improve over time without help, it won’t learn new patterns, and it won’t look anywhere else if it doesn’t find what it’s looking for.

This ridgid approach has its benefits, as well.  It tends to be fast, consistent, and numerical, all important features for industrial processes.  It’s also very good at measurement tasks.

Simplicity is important for automated inspection.  Setup the camera and lighting to collect images with high contrast on the features of interest and low contrast on everything else.  This helps simple algorithms (compared to your brain) to be effective. Simple algorithms process faster, and they’re more feasible from a programming perspective.  

A Hybrid Approach:  Machine Learning

Very recently, we’ve got a new tool in industrial vision that’s like a cross between your brain and a traditional automated vision system.  Machine learning (ML), a branch of artificial intelligence can now be purchased for automated vision inspection, granting machines some of the power of the human brain.  

These systems tend to be good for inspection tasks that can’t be setup for high contrast on the features of interest.  For example, ML approaches can inspect weld quality using discoloration. Some processes also have defect modes that are hard to quantify for a traditional system – things like scratches, burn marks, and dents – but ML techniques can be a good fit.

This is still a new area for automated inspection.  The tools are expensive, they require a lot of processing power, and they aren’t as well suited to the tasks that traditional tools excel at – location, measurement, high-speed applications.  They have a big part to play in the future of automated inspection, but aren’t yet a primary choice for most applications.

Closing Thoughts

Engineering is always about weighing pros and cons, applying the right tools for the application in a way that maximizes benefits and minimizes drawbacks.  Vision is a perfect example. When you know how it works, you can apply it to the right applications with the right lighting and programming to do the job well.  And the big takeaway is: don’t expect the computer to be as smart as a human brain. The technology just isn’t there yet.

Jon Breen

About the Author

Jon is an engineer, entrepreneur, and teacher.  His passion is creating and improving the systems that enhance human life, from automating repetitive tasks to empowering people in their careers.  In his spare time, Jon enjoys engineering biological systems in his yard (gardening).

Connect with us on Social

Contact BMAS

This Post Has 2 Comments

  1. ControlsGirl

    “Don’t expect the computer to be as smart as a human brain.”…or to work like one. Another great topic that somehow seems up for debate between the consultant, me, and those who have never even attempted to program one but feel their thoughts on the application matter, my management or the customer. If you wanted to plug your business in, you could also add a tidbit about how proper application of vision programming is almost like an art form. Your company probably has some artists…..At least it seems that way from my perspective. Some people tend to have it and some don’t. Maybe there is a way to train it but the instruction would most likely come off as more subjective and catered to the instructor’s own preference. The camera should detect with confidence. It’s setup should be robust against both false failures and false detections.

    1. Jon Breen

      Yes, vision programming is often called a “black art” because of the subtle nuances that can make such a big difference. I think the bulk of it is very trainable, but like most things, there are individual aptitudes involved. Some people can take the instruction and add a touch of magic, and some people can’t. Good luck in your debate! Let me know if you need another voice. 🙂

Leave a Reply