What Is Machine Vision?

Machine vision uses cameras, image processing, and automation hardware to perform inspection, measurement, and guidance tasks in industrial environments. By analyzing digital images automatically and at production speed, machine vision systems help manufacturers improve inspection consistency, process control, and throughput.

In a typical machine vision workflow, a camera captures images of products moving through a manufacturing process. Software then analyzes the image data, compares the results against defined criteria, and communicates inspection results or measurement data to the control system. Depending on the application, this information may be used to sort products, guide automation equipment, verify assembly steps, or monitor process quality.

Although the underlying workflow is conceptually straightforward, building reliable machine vision systems for industrial environments requires careful integration of optics, sensors, lighting, image processing, synchronization, and automation hardware. System performance depends heavily on maintaining stable imaging conditions and repeatable operation across varying production requirements.

Machine Vision vs. Computer Vision

The terms computer vision and machine vision are sometimes used interchangeably, but in industrial and engineering contexts they often refer to different aspects of an imaging system.

Computer vision is primarily concerned with the algorithms and software used to interpret digital images. Tasks such as facial recognition, image classification, object detection, and scene analysis are typically considered computer vision applications.

Machine vision focuses on applying those imaging and analysis techniques within industrial automation systems. In addition to image-processing software, machine vision systems include cameras, optics, lighting, interfaces, synchronization hardware, and integration with factory equipment or control systems. Successful deployment in industrial environments depends not only on the analysis algorithms, but also on maintaining stable and repeatable imaging conditions.

(For a detailed breakdown of how the two fields relate and diverge, read our full guide on [Machine Vision vs. Computer Vision]).

The Five Components of a Machine Vision System

A machine vision system consists of multiple interdependent components that must operate together reliably. System performance depends not only on the camera itself, but also on illumination, optics, processing hardware, and software integration. Limitations in any one area can reduce inspection reliability, measurement accuracy, or overall system stability.

Component

Core Function

What Fails If It's Wrong

Illumination

Create consistent contrast for reliable image analysis

Reduced defect visibility or increased sensitivity to ambient lighting variation

Optics

Focus light onto the sensor at the correct scale and resolution

Optical blur or insufficient resolving power can reduce visibility of fine features

Image sensor & camera

Convert incoming light into digital image data at the required speed and quality

Motion blur, insufficient resolution, or image distortion may limit inspection performance

Processing hardware

Transmit and analyze image data fast enough to keep pace with the line

Bandwidth limitations, dropped frames, or processing latency may reduce system responsiveness

Vision software

Perform inspection, measurement, or classification tasks

Reduced inspection accuracy or difficulty handling expected process variation

Illumination

In machine vision, the goal of illumination is not natural appearance, but creating consistent contrast for reliable image analysis. Engineers use specific lighting geometries (such as ring lights, dome lights, coaxial lights, or structured illumination), selected wavelengths (visible, infrared, or ultraviolet), and polarization techniques to improve the visibility of relevant features while reducing unwanted reflections or background variation.

Lighting conditions strongly influence which features can be detected reliably. For example, scratches that are difficult to detect under ambient lighting may become clearly visible under low-angle illumination, while near-infrared backlighting can improve visibility of liquid levels or internal structures in certain materials. In many machine vision applications, illumination design is one of the most important factors affecting overall system performance.

Optics

The lens collects reflected light from the scene and focuses it onto the image sensor. It defines key imaging parameters such as field of view, working distance, depth of field, and optical resolution. If the optical system cannot resolve small features reliably, increasing sensor resolution alone may not improve overall inspection performance.

High-resolution image sensors place correspondingly higher demands on lens performance. For example, a 24-megapixel sensor with a 2.74 µm pixel pitch requires optics capable of resolving fine detail at a comparable scale. If the optical performance of the lens is insufficient, the available sensor resolution cannot be fully utilized.

The Image Sensor and Camera

The camera converts incoming light into digital image data. At its core is a CMOS sensor containing millions of individual photodiodes. Three key parameters commonly influence camera selection:

Parameter

What It Controls

Typical Decision Driver

Resolution

How many pixels cover the field of view, which influences the smallest features that can be reliably resolved

Features represented by only a few pixels may be difficult to detect or measure reliably.

Frame Rate

How many images per second the camera captures and transmits

The required frame rate depends on line speed, object spacing, and exposure requirements.

Shutter Architecture

Global shutter (simultaneous exposure) vs. rolling shutter (sequential row-by-row exposure)

Global shutter sensors are often preferred for imaging fast-moving objects because they reduce motion-related image distortion.

The Imaging Source's industrial cameras are available in resolutions ranging from 2.3 MP to 42 MP with USB3 Vision and GigE Vision interfaces, using Sony Pregius (global shutter), Sony STARVIS (rolling shutter), and onsemi CMOS sensors.

Processing Hardware

The image data captured by the sensor is transferred to a processing platform for analysis. The most suitable architecture depends on the application requirements:

  • Industrial PC: High processing flexibility and performance for complex algorithms, high-resolution imaging, or multi-camera systems

  • Embedded vision board (NVIDIA Jetson, NXP i.MX): Low-latency processing close to the sensor, commonly used in robotics, ADAS, and space-constrained embedded systems

  • Smart camera: Integrates image sensor, processing hardware, software, and digital I/O within a single housing, reducing overall system complexity for compact inspection applications

Vision Software

Vision software applies image-processing algorithms to perform tasks such as inspection, measurement, classification, identification, or robotic guidance.

Rule-based approaches use predefined image-processing operations and measurement criteria, such as edge measurement, pixel intensity analysis, code reading, or geometric pattern matching. These methods are typically fast, repeatable, and relatively straightforward to validate in controlled industrial environments. Many industrial machine vision systems continue to rely primarily on rule-based techniques.

AI and deep learning approaches are often used when visual features are highly variable or difficult to describe using fixed rules alone. Applications such as textile inspection, food grading, or complex surface defect classification may require neural networks trained on labeled image datasets. In practice, AI-based inspection is typically used where conventional rule-based methods are insufficient or difficult to maintain reliably.

How It Works: The Three-Step Pipeline

Once integrated into a production line, a machine vision system operates as part of a continuous inspection workflow. Depending on the application and processing requirements, the complete cycle from image acquisition to system response may occur within tens of milliseconds.

  1. Acquire: A trigger signal, such as a laser sensor, encoder pulse, or PLC output, indicates that a part is in position. The illumination system activates and the camera captures a consistently illuminated, geometrically stable image for analysis.

  2. Analyse: The vision software locates the relevant features within the image and applies the required inspection or measurement algorithms. Typical tasks may include dimensional verification, barcode reading, defect detection, or object classification.

  3. Act: The inspection result is communicated to the production system through digital I/O or industrial communication interfaces. Depending on the application, the PLC or automation controller may reject a defective part, adjust robotic positioning, pause the conveyor, or signal the next stage of the manufacturing process.

The Four Application Types: GIGI

Many industrial machine vision applications can be grouped into four primary categories, often summarized by the acronym GIGI. Complex inspection systems may combine multiple categories within a single workflow.

Application

What the System Does

Real-World Example

Guidance

Determines positional and rotational information for robotic guidance or alignment

Pick-and-place cell on an automotive assembly line

Inspection

Verifies compliance with defined visual inspection criteria

Missing tablet detected in a pharmaceutical blister pack

Gauging

Performs non-contact dimensional measurement using sub-pixel analysis techniques

Machined gap verified to ±0.01 mm on a precision component

Identification

Reads and verifies barcodes, DataMatrix codes, OCR text, and lot information

2D code decoded and linked to production or traceability records

Where Machine Vision Is Deployed

Machine vision technologies are used across a wide range of industries, with system requirements varying significantly depending on the application environment and inspection task:

Industry

Key Application

Typical Machine Vision Technologies

Factory Automation

Surface defect detection, assembly verification, dimensional gauging

High-resolution global shutter cameras, monochrome imaging, and controlled illumination

Intelligent Transportation (ITS)

License plate recognition, toll enforcement, traffic monitoring

High-speed imaging systems such as The Imaging Source's 38 Series with Sony Pregius S sensors

Medical & Life Sciences

Microscopy, slide scanning, lab automation

High-sensitivity rolling shutter sensors for low-light biological imaging

Logistics & Warehousing

Barcode reading, parcel dimensioning, sortation

High-speed cameras with hardware triggering and industrial interfaces such as GigE Vision and USB3 Vision

Automotive ADAS

Driver assistance, cabin sensing, autonomous perception

Embedded board cameras with MIPI CSI-2 or GMSL2 interfaces designed for automotive environments

Agriculture

Fruit grading, bruise detection, ripeness sorting

NIR-capable monochrome sensors, including hyperspectral imaging in some applications

Frequently asked questions

No. The majority of deployed industrial machine vision systems use traditional rule-based algorithms. Rule-based vision is fast, deterministic, and traceable. These qualities matter enormously in regulated industries like pharmaceuticals and automotive. AI and deep learning are introduced when the defect is organic or unpredictable, such as random tears in a textile web or subtle variations in food texture. If you can write a rule that defines the defect, you do not need AI.

A smart camera integrates the image sensor, processing CPU or FPGA, vision software, and digital I/O into a single ruggedized housing. Unlike a standard industrial camera that only captures and transmits raw image data to a host PC, a smart camera performs the entire acquisition-analysis-action cycle internally. They are compact, easy to deploy, and cost-effective for single-task inspections, though they offer less processing power than a dedicated industrial PC for complex, multi-step algorithms.

Yes, and system integrators often prefer it. Ambient factory lighting (overhead fluorescents, sunlight through skylights) varies throughout the day and introduces unpredictable intensity changes that destabilise inspection results. By enclosing the inspection area in a dark shroud and relying entirely on the system's own synchronized strobe lighting, engineers guarantee that every image is captured under identical illumination conditions. The strobe also freezes motion: a 10-microsecond flash at high intensity is far more effective at stopping a fast-moving part than a long exposure under continuous light.

Security cameras are optimised for human viewing: wide dynamic range, auto-exposure, compressed video streams. Machine vision cameras are optimised for machine analysis: precise exposure control, raw uncompressed image output, hardware trigger synchronisation, and long-term availability. A machine vision camera on a production line may need to operate reliably for ten years under the same specification. Security cameras are designed to be replaced every two to three years.

Glossary