How to Implement Computer Vision for Quality Control: A Practical Guide to Zero Defects

Practical Guide for Production and Quality: Technologies, Standards, and Concrete Steps for Implementing Machine Vision in the Factory

In summary
  • Computer Vision allows for the transition from manual inspections and samples to automated visual inspection up to 100%, standardized, continuous, and traceable.
  • Classical machine vision and deep learning combine: rules for deterministic controls, AI for classification and anomaly detection where variability is high.
  • Illumination, repeatable scene, and labeling consistent with the defect taxonomy and the golden set determine the quality of the dataset and the results.
  • In Italy, according to ISTAT 2025, 16.4% of companies use AI, but only 2.9% use recognition or image processing.
  • The 6-step roadmap ranges from critical CTQs to MLOps and AI governance, relying on ISO 9001, EMVA 1288, and OPC UA.
Index

Published on 14/05/2026

Data from ISTAT, ISO standards and a roadmap in 6 steps to transform visual inspection into a measurable competitive advantage

Computer Vision enables manufacturing companies to move from sample-based and manual inspections to a 100% automated visual inspection model, reducing defects and waste in a measurable and repeatable way. In this guide you will find up-to-date data, reference standards, and a concrete roadmap for implementing it with industrial rigor.

The “zero defects” quality is not just an ambitious goal: it is the result of a system that measures, decides, and improves in a structured way. The technology really works when it is designed as a process system, supported by reliable data and embedded in AI quality, measurement, integration, and governance standards.

💡 Want to understand where your company stands in the journey towards the Smart Factory? Discover the 2025 Operations Benchmarking Study by Bonfiglioli Consulting →

Why artificial vision transforms quality control in the factory

In the factory, quality control often faces a paradox: production mix and variability increase, but inspection capacity remains tied to manual sampling and verification. Artificial vision solves this imbalance by making the process more standardized — the same scene, the same criteria, less operator subjectivity — more continuous, with inspections up to 100% in line where necessary, and more data-driven because each image generates a traceable outcome and a corrective or preventive action.

The robustness grows further when different modalities are combined: 2D for contrast, texture, and color, 3D for shape and surface defects. A often underestimated element is the need to account for the continuous maintenance of data and models: it is not a failure, but a physiological characteristic of any industrial AI system.

Machine Vision vs Deep Learning: when to use the hybrid approach

When talking about quality vision, it is useful to distinguish two main approaches. Classical Machine Vision is based on predefined rules and thresholds: it is deterministic, fast and easy to audit, but requires stable conditions and well-defined defects. Computer Vision with Deep Learning is more suitable when finishes, textures, reflections, batches and process conditions change, or when defects are numerous, rare or heterogeneous.

In practice, the most robust projects are often hybrids: rules for simple constraints and deterministic checks, AI for classification and anomaly detection where variability makes fixed-threshold logic fragile. The choice of approach is not ideological, but depends on the type of defect, the stability of the scene, and the level of traceability required.

How to build a reliable industrial dataset for artificial vision

Almost everything is decided here. A “factory-like” automated visual inspection system requires processing the image as a process input, not as a simple photo.

Acquisition and scene: optics, lighting, mechanics

Even before the training, the scene must be reproducible: position, distance, exposure times, vibrations, reflexes, physical protection. Lighting is often the variable that “makes or breaks” the quality of the data — and the most common mistake is to postpone standardizing it until later.

2D vs 3D inspection: how to choose based on the type of defect

Information graphic comparing 2D and 3D inspections with the use of computer vision for quality control. The 2D section highlights the recognition of surface attributes, while the 3D section focuses on spatial analysis and precise measurement of geometry.

Ground truth and labeling: discipline, not bureaucracy

When using AI, labels must be consistent: defined defect taxonomy, clear rules for borderline cases, “golden set” samples for regression testing. The model should be updated periodically to keep up with new cases and process variability: it’s normal, it’s part of the life cycle.

Life cycle and skills

Artificial vision systems are not “set & forget”. They require support for development and maintenance, and often new profiles and internal responsibilities. Devices (cameras, edge computing) are subject to rapid obsolescence: it is advisable to plan from the outset with the idea of replacement and standardization.

ISO 9001, EMVA 1288 and OPC UA: the standards for industrial vision

To bring Computer Vision to industrial-grade quality, it is useful to rely on standards recognized at multiple levels.

Quality standards of the system

ISO 9001 is the most widely used reference for setting up and improving a quality management system: processes, evidence, continuous improvement.

Standard for sensors and performance

EMVA 1288 is the standard for measuring and presenting sensor and camera specifications in a comparable way for machine vision: useful for technical selection, specifications and system validation.

Standard for interoperability

GenICam offers a plug-and-play interface to manage cameras and devices with a common interface, reducing complexity and vendor lock-in. OPC UA for Machine Vision, on the other hand, allows inspection systems to be integrated with production control and IT systems, enabling vertical and horizontal integration of quality data across the entire supply chain.

Governance and risk management AI

ISO/IEC 42001 provides the standard for setting up an AI management system with roles, controls, and continuous improvement. ISO/IEC 23894 provides guidance on managing specific risks related to AI, while the NIST AI RMF 1.0 is the international reference framework for managing risks and reliability of AI systems throughout the entire lifecycle.

Metrology and prevention

When vision enters into measurement and decision-making logic, it is useful to consider accuracy and repeatability as with any measurement system. In the prevention aspect, tools such as FMEA/FMECA support the prioritization of controls on CTQ (Critical To Quality).

How many companies use artificial vision? ISTAT and Eurostat data 2025

The current numbers convey a clear message: in manufacturing, quality is already one of the most mature AI use cases, but the adoption of artificial vision on a “for all companies” basis is still selective. The gap between those who have already industrialised these solutions and those still in the PoC phase represents a concrete competitive opportunity.

In the global manufacturing sector, the Google Cloud report “AI acceleration among manufacturers” indicates that 39% of the companies are already using AI for quality inspection, and 35% for product/production line quality checks. At the European level, Eurostat reports that in 2025 19.95%% of EU companies with at least 10 employees will use at least one AI technology, while the technologies closest to artificial vision (image recognition/processing) are adopted by between 3.78% and 7.22%% of companies. In Italy, according to ISTAT 2025, 16.4%% of companies use at least one AI technology, but the technology of “image recognition/processing” is adopted by just 2.9%% of companies — a figure that highlights a significant untapped potential.

The 2025 Operations Benchmarking Study by Bonfiglioli Consulting encourages reading these rates in the context of overall maturity: a PoC is not enough; a Lean&Digital operating model supported by data, integration, and skills is needed to transform the artificial vision from an isolated initiative into a system capability.

Roadmap for Computer Vision: from PoC to factory standard

An effective roadmap follows this order and does not skip the intermediate steps:

  1. Select 1–2 CTQs where defects, complaints, or non-conformity risks are really relevant
  2. Standardize the scene — lighting, positioning, triggers, mechanical protections
  3. Build datasets and labeling rules — defect taxonomy, documented case limits, golden sets for testing
  4. Choose the approach (rules / Deep Learning / Hybrid) and set clear metrics: false accept rate vs false reject rate
  5. Industrialize — integration with PLC, MES and QMS, traceability of results, version management of models
  6. MLOps and continuous improvement — drift monitoring, controlled updates, AI governance

💡 Bonfiglioli Consulting supports manufacturing companies at every stage of this process, from the initial diagnosis to industrialization. Contact us for a valuation →

The 5 most common mistakes in implementing artificial vision

  • “We fix the lighting later” — that’s the most common and most expensive mistake. Scene standardization comes first
  • Too “clean” dataset — variable batches enter production, including reflections, dirt, wear, vibrations. The dataset must reflect reality, not the ideal case.
  • Unaligned quality criteria — without a shared defect taxonomy, the model “learns” the opinion of the person who performed the labeling
  • No maintenance plan — models and devices require periodic updates; obsolescence must be prevented from the initial design stage
  • Uncalibrated expectations — actual earnings may differ from those estimated if integration into the process is not governed methodically

Conclusion: Zero Defect is a system, not an algorithm

Artificial vision can only become a pillar of Zero Defect manufacturing when it is treated as an integrated three-level system: a measurement system with calibrated sensors, technical standards and metrological validation; a decision-making system with clear rules, defined responsibilities and integration with the QMS; an adaptive system with continuous monitoring, controlled updates and structured AI governance.

To move from “quality control” to “quality by design,” the starting point is not the model, but the data-standard-process system.

Sources and references


Did it help you? Add it as your preferred source on Google

A yellow star-shaped icon next to the text in Italian “Preferred source on Google” in blue, within a rounded rectangle with a border: perfect for highlighting reliable sources in your Lean digital transformation journey.

Frequently asked questions

What is the difference between classic Machine Vision and Computer Vision with Deep Learning in industrial quality control?

Classical Machine Vision uses predefined rules and thresholds: it is deterministic, fast and easy to audit, but requires stable conditions and well-defined defects. Deep Learning is more suitable when finishes, textures, reflections and batches change, or when defects are rare and heterogeneous. The most robust projects are often hybrids: rules for simple constraints, AI for classification and anomaly detection.

How is a reliable dataset built for an automated visual inspection system based on artificial intelligence?

The starting point is to make the scene repeatable: position, distance, exposure, vibrations, reflections, and above all lighting—standards that need to be standardized immediately. Then, consistent labels are needed, with a taxonomy of defects, rules for borderline cases, and a golden set for regression tests. The dataset must include variable batches, dirt and wear, and the model must be updated periodically.

What international standards should be considered to implement artificial vision in quality control in production?

Standards are needed at multiple levels: ISO 9001 for the quality management system, EMVA 1288 for measuring and comparing sensors and cameras, GenICam for the common interface with the cameras, and OPC UA for Machine Vision for integration with production control and IT. For the governance of AI, ISO/IEC 42001, ISO/IEC 23894, and NIST AI RMF 1.0 are used.

How many Italian and European companies use artificial vision and AI for quality control according to the 2025 data?

According to ISTAT 2025, in Italy 16.4% of companies use at least one AI technology, but only 2.9% recognize or process images. According to Eurostat 2025, 19.95% of EU companies with at least 10 employees use AI, with image recognition ranging from 3.78% to 7.22%. In the global manufacturing industry, 39% use AI for quality inspection (Google Cloud).

What are the steps of a roadmap for implementing Computer Vision in quality control, from PoC to the factory standard?

The roadmap has 6 steps: select 1–2 CTQs with relevant defects or complaints, standardize the scene, build datasets and labeling rules, choose the approach (rules, Deep Learning or hybrid) setting false accept rate and false reject rate, industrialize with integration to PLC, MES and QMS, and activate MLOps with drift monitoring and AI governance.

How to achieve Zero Defect manufacturing with Computer Vision and what errors to avoid?

Zero Defect is achieved by treating artificial vision as an integrated system at three levels: measurement, with calibrated sensors and metrological validation; decision-making, with clear rules and integration with the QMS; adaptation, with continuous monitoring and AI governance. The most common errors are delaying illumination, using an overly clean dataset, not aligning quality criteria, and not planning maintenance.