Define the data comparison
Record the symbology, agreed syntax and selected product, date, batch, lot or serial fields. Identify the authoritative expected values and which human-readable fields must agree with encoded data.
Read machine-readable codes in line, validate encoded product, batch, lot and expiry data, compare human-readable text and reject wrong, missing or no-read packs.
A successful decode returns the data carried by the symbol. Content validation asks whether the selected fields agree with the approved product and production job. Formal print-quality grading is a separate requirement. Define these outcomes before choosing the reader or treating a scan as acceptance.
Record the symbology, agreed syntax and selected product, date, batch, lot or serial fields. Identify the authoritative expected values and which human-readable fields must agree with encoded data.
Challenge unexpected content as well as missing or no-read symbols. Retain separate read/no-read and content-match outcomes so an apparently readable code cannot hide the wrong production value.
Agree reject, quarantine or line-stop behaviour and the required tracking and records. State any formal symbol-quality grading requirement separately, with the applicable verification method and reporting scope.
For the next step, define the expected-value check and review packaging and code identity.
Inline barcode and Data Matrix inspection decodes the symbol on each presented pack and compares selected fields with the active product recipe or production record. Where the code carries batch, lot, expiry, manufacturing date or serial data, those values can be checked individually rather than treating any successful scan as a pass.
The same vision station may also read the human-readable date or batch printed beside the symbol. This creates a cross-check between the product, machine-readable data and visible text, subject to field of view, resolution and line presentation.
Confirm that the required 1D or 2D symbol is present and can be decoded at production speed.
Check GTIN, batch, lot, expiry, production date or serial data against the active job.
Compare encoded fields with OCR-read human-readable information printed on the pack.
Stop or remove products carrying an unexpected, duplicate, missing or unreadable code.
Defining the required outcome prevents a simple successful decode from being mistaken for proof of correct data or formal symbol quality.
Decode the information carried by a 1D or 2D symbol and return read or no-read.
Compare decoded identifiers and attributes with the expected product and production data.
Assess symbol quality against an applicable standard using suitable verification hardware and conditions.
GS1 barcodes can carry identifiers and production attributes. The exact Application Identifiers and permitted values are agreed for each product family.
| Data field | Typical inspection | Production decision |
|---|---|---|
| Product identifier | Compare GTIN or agreed product code with the active recipe | Reject the wrong product or packaging |
| Expiry / best-before | Decode the date and compare it with the expected value or date rule | Reject wrong, malformed or out-of-window dates |
| Batch / lot | Match the encoded string with the current production record | Reject stale or incorrect traceability data |
| Serial number | Check syntax, range, database response or duplicate policy where required | Quarantine or reject an invalid item |
| Human-readable text | Use OCR to compare visible print with selected encoded fields | Reject any text-to-code mismatch |

We establish the symbology, code size, quiet zone, print method, packaging surface, viewing angle, speed and range of expected content. The system is then trialled on representative print quality and deliberate wrong-code samples.
If formal barcode quality grading is required, this must be stated explicitly. Inline reading and data validation do not automatically equal ISO/IEC verification; the project scope should identify the applicable standard, verifier performance and reporting requirement.
GS1 UK explains that 2D codes can carry information including expiry dates, serial numbers, batch and lot numbers. See the official GS1 UK 2D barcode guidance.
Use the related pages to define the recognition method, source of expected data and physical line response.
Final performance is established with representative products, deliberate faults and the operating conditions found on your production line.
Often, yes, when both fields fit within the field of view at sufficient resolution. Separate tools can decode the symbol, read the visible date and compare selected values.
No. Validation checks whether decoded content is correct for the job. Formal verification grades symbol quality against an applicable standard using suitable verification equipment and controlled methods.
Yes, where the code uses the agreed GS1 syntax. The required identifiers, date interpretation, permitted values and error handling are documented before configuration.
A successful decode is not automatically a pass. The decoded identifier can be compared with the active recipe, and a mismatch can trigger reject, quarantine or line stop.
Send sample codes, data syntax, expected fields, pack photographs and line speed. We will define the read, validation and rejection scope.