Friday, 9 October 2026
Simply identifying a product is not enough to track it. Actionable industrial traceability links each batch, part, or unit to specific events: code scanning, quality control, pass/fail results, images, timestamps, production lines, or triggered actions.
Machine vision makes it possible to automate part of this process. It can read a QR code or a DataMatrix code, verify that it matches the current production, and link the results of the inspection performed on the line to that identifier.
The goal is very specific: to quickly determine what happened with a product or batch, identify the relevant nonconformities, and analyze production data without having to perform multiple searches or enter data manually.
What is industrial traceability, and how does vision play a role?
Industrial traceability involves linking a product, batch, or part to the history of its operations, inspections, and movements. Machine vision automates identification and can link inspection results to the same identifier.
A code is therefore merely a starting point. A DataMatrix code can contain or carry a batch or serial number. A QR code can serve this purpose in other systems. However, none of these codes, on its own, constitutes a traceability system.
The value appears when the reading generates an actionable event: identified product, time of passage, production order, inspection result, detected defect, or associated image.
On a plastic bottle production line, for example, Psycle documents the scanning of barcodes, QR codes, and DataMatrix, alongside inspections of the cap, sleeve, fill level, and labeling. Identification thus becomes a key to linking the product to its quality data.
The principle remains the same across all sectors. In the food industry, the identifier can be linked to a batch and to packaging inspections. In the cosmetics industry, it can be used to track the history of a cosmetic defect. On an industrial part, a serial number or a DataMatrix code can serve as an identifier and be scanned at various stages of manufacturing.
This approach can be integrated into a custom machine vision system when the production line needs to identify, inspect, and transmit data, in order to automate all or part of the data collection process and minimize manual data entry, depending on the line’s architecture.
What aspects of production does industrial traceability cover?
Reliable traceability first and foremost makes it possible to reconstruct the facts: which product passed through, when, on which line, with what result, and what action was taken. This continuity can reduce the need for manual searches during an incident or audit, provided that the relevant data has been properly recorded and linked to the correct identifier.
A simple test can help you assess the actual situation. Take a batch produced the previous week and try to determine when it went through the line, the inspections performed, any defects that may have been detected, and the action taken.
If obtaining this information requires opening multiple software programs, searching through Excel files, or consulting several people, the data may already exist, but it does not yet constitute a truly usable history.
Challenges | Useful data | Expected results |
|---|---|---|
Non-compliance | Batch, OK/NOK result, defect type, image | Identify the affected units and document the incident |
Quality audit | Timestamp, work order, line, acceptance test | Reconstructing the context of production |
Continuous improvement | Defects by reference, period, or line | Identify deviations and prioritize corrective actions |
Management of multiple lines | Consistent metrics from vision stations | Compare performance and flaws |
Targeted recall or withdrawal | Affected lots and identifiers | Limit the analysis to the scope that is actually relevant, where applicable |
For a quality manager, the value lies in particular in the ability to filter nonconformities by batch, part number, or period. For production, the history can be used to compare two production lines, two recipes, or two periods.
Psycle Assistant Qualité (PAQ) centralizes, among other things, production images, algorithmic analyses, and metadata. This information can then be viewed at a later time and used to compare metrics across multiple vision systems.
QR codes, DataMatrix, barcodes, OCR, or RFID: Which identification technology should you choose?
The choice between DataMatrix, QR Code, barcode, OCR, or RFID should be based on the product and the actual conditions of use, not on a preference for a particular technology. Available surface area, the information to be identified, throughput, contrast, and industry standards all influence the decision.
For industrial DataMatrix traceability, the ISO/IEC 16022:2024 standard defines the Data Matrix symbology. Its high density makes it particularly suitable when space is limited.
In an environment that uses GS1 standards, the rules for encoding, marking, and scanning must also comply with the specifications applicable to the project.
The QR Code remains a useful 2D code in other applications. However, a traceability solution using QR Codes or DataMatrix is not limited to the choice of symbology.
A DataMatrix code tailored to the application’s needs will not function properly on the production line if it cannot be reliably read at production speed. Marking quality, focal length, mechanical stability, lighting, and contrast are all part of the same issue.
Solution | Type | Key strength | Point to watch for | When to consider it |
|---|---|---|---|---|
DataMatrix | Symbology 2D | High density in a small area | Print quality, module size, contrast | Parts or packages with a limited surface area, according to the applicable standard |
QR Code | Symbology 2D | Widely used 2D barcode | Surface, content, print quality, and contrast | Logistics or production flows already organized around 1D |
1D barcode | Symbology 1D | Simple, proven technology | Requires more space and readable code | Flux logistiques ou productions déjà organisés autour du 1D |
OCR | Character recognition | Direct text reading | Font, printing, distortion, contrast | Reading a batch number, date, or part number |
DPM | Direct marking mode | Marking directly on the part | Surface finish and contrast | Parts that require permanent marking |
RFID | Radio identification | Can be read without a line of sight | Infrastructure, cost, and radio environment | Cases where optical technology is not suitable |
In its “plastic bottle” use case, Psycle also emphasizes the importance of adapting the lighting to opaque or transparent products, stabilizing it, and taking variations in product sizes into account when selecting the focal length.
These parameters are just as important as the chosen symbology.
How to implement industrial traceability using machine vision in 6 steps?
Industrial traceability using machine vision is built around the events that a company needs to be able to track: mapping objects and events, defining identifiers, selecting the medium, ensuring secure data capture, linking checks, and then centralizing the relevant data.
- Map the objects and events to be plotted
List the products, batches, parts, operations, and inspection points for which it must be possible to accurately trace the history.
For example, a production line might choose to track the product’s entry, its passage through the vision system, and any rejection. Recording every single micro-step does not necessarily add value.
- Define the identifiers and associated data
Next, you must determine which identifier is used to link the product to its history: lot number, serial number, part number, production order, or a combination of several pieces of information.
This decision is fundamental. Without a common identifier, data accumulates but becomes difficult to reconcile.
- Select the identification medium
DataMatrix, QR Code, barcode, or direct part marking (DPM) should be selected based on the product, the standard, the available surface area, and the reading conditions.
DPM, for example, refers to a method of marking directly on the part. It is not a symbology comparable to a QR Code or a DataMatrix.
- Implement monitoring and validation at critical points
The camera, lens, and lighting must be positioned where the identifier can be reliably read.
On very high-speed bottle lines, Psycle specifically recommends separating the appearance inspection from the marking reading.
It is also necessary to define how to handle codes that cannot be read: retry reading, store in a buffer, reject, or perform a manual check, depending on the criticality of the process. Managing these “no-read” cases is an integral part of the traceability process.
- Link quality control to the product or batch
The OK/NOK result, the defect type, the image, and the timestamp can all be linked to the same identifier.
It is this link that transforms a simple code scan into a usable quality history.
- Centralize, archive, and connect data
The relevant information can then be sent to the monitoring system, Psycle Assistant Qualité, and, when the site’s architecture allows for it, to other production systems or business databases.
The available interfaces must be validated on a case-by-case basis with Psycle.
The goal is not to store everything. The goal is to retain the information needed to understand, analyze, or document what happened.
Helpful tip: Before choosing a camera or software, make a list of five to ten events that your teams need to be able to retrieve after production. The technology comes second.
How can we link identification, quality control, and traceability of nonconformities?
Each scan can serve as a link between the product’s identity and its quality control. A nonconformity becomes truly actionable when it is linked to the batch, the detected defect, its context, and the corrective action taken.
Imagine a unit identified by a DataMatrix code. The system scans the code at 10:42 a.m., performs its inspection, identifies a defect, and issues a rejection command.
Without traceability, this information can remain scattered. When linked to the same event, it makes it possible to immediately reconstruct what happened.
Event | Related information | Possible use |
|---|---|---|
Code read | ID, batch, reference, time | Vérifier la cohérence avec la production prévue |
Control compliant | Result: OK, viewing station, image (if available) | Update the history |
Defect detected | NOK, defect, area, image | Trigger an alert or a rejection according to the process |
Deferred analysis | History by period, reference, or line | Identify a deviation and prepare corrective action |
At Technature, a production line manufacturing 6,000 cosmetic patches per hour needed to automate the detection of cosmetic defects, trigger the ejection of affected products, and maintain traceability of nonconformities via PAQ : The Psycle quality monitoring and fleet management platform, available in both cloud and on-premises versions..
This case clearly illustrates the real need: it’s not just about counting defects, but about being able to trace their context.
Food traceability: how can foreign object detection and packaging inspection be integrated?
In the agri-food industry, traceability and foreign object detection serve two distinct but complementary functions: the former allows for the reconstruction of a batch’s history; the latter aims to identify a physical anomaly using appropriate technology.
Article 18 of Regulation (EC) No. 178/2002 requires the traceability of food, feed, food-producing animals, and related substances at the various stages of production, processing, and distribution.
In particular, operators must have systems or procedures in place to identify their suppliers and the companies to which their products have been supplied.
A vision system is a key technical component of this organization. On its own, it is not sufficient to meet all of an operator’s regulatory traceability requirements.
The detection of foreign objects in food products presents a different challenge. A camera can detect certain visible anomalies when their shape, color, or contrast makes them distinguishable. It does not automatically detect all possible foreign objects.
The system must therefore be validated for the defects actually being sought, under the site’s production conditions. The validation protocol must specify the defects to be tested, the representative samples, the production rate conditions, and the acceptance criteria selected.
For sealed trays, Psycle performs inspections for foreign objects on the sealed tray, under the seal, or on the surface of the product, as well as inspections of the sealing, the sides of the tray, and the filling.
The page also shows that cycle history, defect distribution, film part numbers, and product part numbers can be stored in Psycle Assistant Qualité.
It is precisely this link between inspection and history that contributes to traceability.
What data should be archived to ensure traceability over time?
A usable audit trail must first and foremost contain the information necessary to identify the product, date the event, understand the result of the inspection, and recall its context. Any additional data must serve a specific purpose or comply with an applicable requirement.
Data | Example | Purpose |
|---|---|---|
Identifier | Lot L240902 / Serial Number / DataMatrix | Link events to the product |
Timestamp | 09/02/2026 – 10:42:18 | Reconstruct the timeline |
Reference / PO | Product X / PO 4587 | Linking quality control to production |
Line / post | Line 2 – camera 3 | Locate the control |
Result | OK / NOK | Identify conformities and nonconformities |
Defect type | Labeling, seal, presence, visible foreign object | Analyze the causes |
Image | View of the product during inspection | To facilitate analysis or document the event |
Recipe / parameters | Recipe v12 | Understanding the context of the control |
Action | Rejection, alert, validation | Link the defect to the process response |
The data set depends on the level of traceability required. For quality traceability, it generally includes an identifier, a timestamp, a production reference, the inspection station, a result, and the type of defect.
Unless required by regulatory, contractual, or quality standards, the image may be archived when it facilitates analysis or serves as useful evidence.
Why implement vision-based traceability with Psycle?
A traceability project shouldn’t start with choosing a camera or a DataMatrix code. It begins with a simpler question: what information do you need to be able to retrieve about a product when a problem arises?
The case studies published by Psycle illustrate several possible answers.
On plastic bottles, systems can read barcodes, QR codes, and DataMatrix codes in addition to the inspections performed on the product.
For sealed trays, defect inspections can be linked to a history in Psycle Assistant Qualité.
At Technature, the traceability of nonconformities was a direct requirement for a production line manufacturing several thousand patches per hour.
These examples illustrate different needs and require each solution to be tailored to the specific process.
The design must be based on the products or batches to be tracked, the events to be recorded, production rates, reading conditions, and the information that the quality or production teams will actually need.
It must also take into account the installation constraints on the existing line, the available space, the interfaces with existing equipment and systems, the volume of data to be stored, and the substation’s maintenance requirements.
Psycle can then address the necessary vision components, such as reading and validating identifiers, quality control, data logging, and data analysis, within the limits defined by the project.
Do you need to improve the traceability of a product, a batch, or a nonconformity on an existing production line?
Do you need to improve the reliability of traceability for a product, a batch, or a nonconformity on an existing production line?
Tell us about your traceability projectFrequently asked questions
TraceabilityWhat is industrial traceability?
Industrial traceability involves tracking the history, location, or operations associated with a product, batch, or part using information recorded during production. A batch number, DataMatrix code, or QR code can serve as a key to link inspections, dates, machines, and other relevant events.
TraceabilityWhat is the difference between QR codes and DataMatrix codes for industrial traceability?
QR codes and DataMatrix codes are both 2D codes, but the choice between them depends on the medium, the standard, the amount of information, and the scanning conditions. DataMatrix codes may be particularly suitable when the available surface area is limited. In both cases, contrast, marking quality, optics, and lighting affect the reliability of scanning.
TraceabilityHow does machine vision improve traceability?
Machine vision automates the reading and validation of an identifier during inspection. The same event can then be linked to an OK/NOK result, a defect, an image, or a timestamp. This provides the company with a searchable quality history rather than an isolated identifier lacking production context.
TraceabilityDoes traceability make it possible to detect foreign objects in the food industry?
No. Traceability and foreign object detection are two different functions. An inspection system can detect certain anomalies depending on the product, the defect being sought, and the technology used. Traceability is then used to link the result to the product or batch and to maintain a record of the nonconformity.
