What Is Machine Vision? Components, Applications and How to Start
Thousands of parts move down a conveyor every shift. A QC operator has to look at each one for scratches, missing components, crooked labels or a smudged lot code. By the sixth hour, their eyes are tired, the line has not slowed down, and defects start slipping through. This is exactly the problem machine vision was built to solve. This guide answers a simple question, what is machine vision, and then covers what a vision system is made of, what it can do on a production line, and how to judge whether your own line is a good fit before you invest.
What is machine vision?
Machine vision is the use of industrial cameras, purpose-built lighting and image-processing software to let machines see, analyze and make decisions on a production line, in place of inspection by the human eye. The output of a vision system is not a nice picture. It is an action: the part passes (OK) or fails (NG), a dimension is within tolerance or not, a code reads as a specific string, or a robot should pick at a given position and angle.
What makes it machine vision rather than just a camera is that the system is built into the line. It receives a trigger when a part arrives, captures an image, processes it in a fraction of a second, and sends the result to the PLC so that a reject gate fires, the machine stops, or the record is written to the MES for traceability.
How is machine vision different from computer vision?
The two terms are often used interchangeably, but they are not the same. Computer vision is the broad field of teaching computers to understand images, and it shows up in face recognition, self-driving cars and smartphone apps. Machine vision applies those techniques in an industrial setting, where the requirements are very different: it has to run reliably across shifts, keep pace with the line, cope with vibration, dust and temperature swings, and above all talk to the factory’s control equipment.
What are the components of a machine vision system?
Whether it is a single compact smart camera or a multi-camera station, every machine vision solution is built from the same five components. Understanding each one also explains why two quotes for “the same application” can look so different.
- Lighting: the most underrated component, and often the one that decides whether an application succeeds. The right light makes the feature you care about stand out: low-angle light to reveal scratches, a backlight to measure a silhouette, a dome light to kill glare on shiny metal. Brands such as OPT Machine Vision and Moritex specialize in this area.
- Lens: determines the field of view, working distance and sharpness. For precise dimensional measurement, a telecentric lens (one whose magnification does not change as the part moves closer or further away) is often essential.
- Camera / image sensor: an area scan camera captures a full frame at once and suits most applications. A line scan camera builds the image one line at a time and is used for continuously moving material such as fabric, film, paper or large surfaces. A 3D camera adds height, flatness and volume information. Basler is one of the most widely used industrial camera makers in this space.
- Image-processing software: where measurement, pattern matching, code reading and classification happen. Modern software combines traditional rule-based tools with deep learning, which learns from example OK/NG images and handles defects that are hard to describe with rules.
- Connectivity and control: discrete I/O and industrial communication protocols to the PLC and robots, plus data flowing up to MES and ERP for traceability.
These components are usually packaged in one of two ways. A smart camera (for example, the Cognex In-Sight family) combines the sensor, processor and software in one housing. It is quick to install and well suited to a single inspection station. A PC-based system uses separate cameras connected to an industrial PC, which gives more flexibility when you need several cameras, very high resolution or custom algorithms. You can explore the range of industrial cameras BeeVision supplies.
What can machine vision do in a factory?
The industry usually groups machine vision applications into four types of task. Almost every request from a plant falls into one of them, or a combination:
| Task | Question the system answers | Examples on a factory floor |
|---|---|---|
| Guidance | Where is the part, and at what angle? | Guiding a robot to pick randomly placed parts from a tray, aligning a glass panel before bonding, locating a PCB before soldering. |
| Identification | What is this part, and what does its code say? | Reading laser-marked DataMatrix codes on components, reading barcodes on cartons, verifying printed expiry dates on packaging (OCR). |
| Gauging | Is the dimension within tolerance? | Measuring hole diameters, pin pitch on connectors, adhesive bead height, concentricity of machined parts. |
| Inspection | Is anything defective or missing? | Detecting scratches and burrs, missing screws, misaligned labels, poorly sealed caps, foreign objects in food. |
For more detail on each task, see BeeVision’s pages on automated visual inspection, 2D and 3D vision metrology and robot vision guidance. For code reading specifically, a dedicated reader such as Cognex DataMan is usually a better fit than a general-purpose camera.
The practical benefits of machine vision
- 100% inspection instead of sampling, at full line speed.
- A consistent standard: the same pass/fail threshold on every shift, regardless of who is operating the line.
- Traceability data: every part has an image and a result on record, which is valuable when a customer asks for proof of quality.
- Early warning on process problems: when one defect type starts to rise, engineers know which station needs attention instead of finding out at final inspection.
- QC staff freed from repetitive checking to focus on analysis and improvement.
Is machine vision right for your line? A self-assessment checklist
Not every problem should be solved with a camera. Before you contact a supplier, work through the questions below. The more you answer “yes”, the better your line suits machine vision:
- Is the defect or feature visible in an image, even if only under special lighting? (Defects inside the part usually call for a different technology, such as X-ray.)
- Can you define clearly what OK and NG look like, ideally with physical samples of both?
- Do parts pass through a fixed position, with a signal (a sensor or the PLC) that says when to capture?
- Do your customers require 100% inspection or stored evidence of quality?
- Are line speed or defect size already beyond what the human eye can reliably handle?
- Is the cost of an escaped defect (complaints, returns, lost business) significant?
If you are unsure about the first question, that is precisely why testing on real samples matters. Plenty of defects that seem “invisible” show up clearly under the right lighting angle, and the reverse is also true.
Where to start with a machine vision project
The biggest risk in a vision investment is buying the hardware first, then discovering the system cannot tell good parts from bad ones under real production conditions. A safer path follows these steps:
- Describe the application: the product, the defect types, the line speed, and where a station could physically be mounted.
- Send OK and NG samples: cover as many real defect types as you can, including the borderline cases that are hard to call.
- Run a proof of concept (POC): engineers set up a trial configuration of camera, lens, lighting and software on your own samples, then report what the system detected and what it missed.
- Finalize and integrate: install on the line, connect to the PLC and MES, and fine-tune with live production.
- Train and hand over: operators learn how to switch product recipes, read results and respond to alarms.
This is also how BeeVision works with customers. Our engineering team tests on your real samples before you invest, then selects the right combination of genuine equipment from brands such as Cognex, Basler and OPT Machine Vision. When no off-the-shelf tool fits, BeeVision’s in-house R&D/AI team can tailor the BeeVision Studio software to your line and connect it to your PLC, MES and ERP. BeeVision engineers provide on-site support across Vietnam, in both Vietnamese and English.
For an overview of solutions by industry, visit BeeVision’s vision solutions page. If you would like a manufacturer’s perspective on the fundamentals, Basler has a good introduction to machine vision.
Key takeaways
Machine vision gives an automated line its eyes: camera, lens, lighting and software work together to guide, identify, measure and inspect parts, then hand the decision to the control system. It is the right tool when defects are visible, OK/NG criteria are clear, and the cost of an escaped defect is high enough to matter. The surest way to know whether your application can be solved is to test it on real parts before you invest.
Follow BeeVision on LinkedIn for a new technical post every week, and subscribe to the BeeVision YouTube channel for short videos that explain a machine vision application in 45 seconds.
Send us your samples: we test on real parts before you invest. Describe your application and send a few OK and NG samples, and we will tell you whether a vision system can catch your defects.
Contact BeeVision:
Website: bee.vision
Email: hive@bee.vision
