Industrial machine vision integration across the UK
Camera and illuminated ring light above jars and cartons on a conveyor.
Date code inspection buyer guide

How to specify a date code inspection system

Define what the printed code must prove, how the product will be presented and what the line must do when a check fails.

Start with the production risk

Seven decisions determine whether the inspection will be reliable

01

What must the code prove?

Presence only, readable print, the correct date, the correct batch or lot, an approved format, product-to-code agreement—or a combination.

02

Where does the expected value come from?

A fixed recipe, shelf-life calculation, operator entry, PLC, printer, MES, database or job-management system.

03

Can every product be presented consistently?

Define orientation, spacing, conveyor speed, movement, curvature and the permitted variation in code position.

04

Which optics reveal the print?

Camera resolution, lens, field of view, exposure and lighting geometry must suit the smallest character and substrate.

05

How should the characters be assessed?

Choose presence, pattern, OCR, OCV or a trialled AI-assisted method according to how much the content and appearance can vary.

06

What happens after a failure?

Alarm, stop, track and reject, confirm removal, monitor the reject bin or escalate repeated failures.

07

Which evidence must be retained?

Counters, read strings, timestamps, failure classifications, selected images and production-system events.

Inspection method

OCR, OCV, pattern tools or AI-assisted vision?

The best method is the simplest approach that remains stable across genuine good production and rejects every unacceptable fault.

MethodBest suited toTypical outputKey consideration
Presence / patternProving a code or known feature existsPass or failDoes not necessarily identify every character
OCRReading changing or previously unknown stringsCaptured text plus confidenceFont, print quality and segmentation affect reliability
OCVConfirming a known expected stringMatch or mismatch by characterThe expected value must be supplied correctly
AI-assisted visionApplications with broad, representative good-print variationClassification, read or anomaly resultRequires suitable training and validation samples

AI is not a substitute for clear acceptance criteria. It should be selected only when trials show it improves robustness for the real application.

System sequence

How inline date code verification works

Reliable inspection treats product handling, image capture, code logic and reject control as one timed process.

STEP 01

Present

Guide and space the product so the complete code enters a repeatable field of view.

STEP 02

Capture

Trigger the camera and lighting to freeze the printed field at production speed.

STEP 03

Inspect

Apply presence, print-quality, OCR, OCV, format and data-comparison rules.

STEP 04

Act

Pass, reject or stop, then record the result required by the production risk.

Application checklist

Information that shortens the route to a reliable trial

  • Good packs and deliberately poor code samples
  • All code formats, prefixes and permitted separators
  • Smallest character size and maximum code area
  • Line speed, product pitch and conveyor dimensions
  • Printer make, print technology and substrate
  • Expected-data source and recipe-change process
  • Available reject distance and preferred reject method
  • Required counters, images and data exchange
Send your application details
Plain-English glossary
OCR
Reads characters and returns the observed string.
OCV
Verifies printed characters against a known value.
No-read
No sufficiently reliable string could be obtained.
Wrong-read
The observed string differs from the expected value.
Region of interest
The defined image area in which the code should appear.
Reject confirmation
Independent evidence that the failed product was removed.
System routes

Choose the recognition and data check separately

The camera first has to see and interpret the mark. The control logic then has to decide whether that observed value is authorised for the current product.

RequirementTypical routePlanning page
Known printed valueOCV or pattern comparisonOCV verification
Changing human-readable textConventional or AI-assisted OCR plus expected-data checksOCR / AI OCR
MFG or production-date logicOCR plus format, calendar and shelf-life rulesManufacturing-date inspection
Encoded product and traceability data1D or 2D reading plus field validationBarcode & Data Matrix
Correct packaging and variable printLabel identity plus date, batch and recipe agreementLabel & date verification
Hardware architectureSmart camera, fixed reader, PC-based or multi-camera stationCamera & reader systems
Frequently asked questions

Date code inspection system questions

Use the answers as a starting point, then prove the final method with representative products and print.

What information is needed to specify a date code inspection system?

Representative good and bad packs, code examples, permitted formats, line speed, product spacing, conveyor dimensions, printer details, changeover rules, reject requirements and the source of the expected data are the most useful starting points.

Should a date code use OCR or OCV?

Use OCR when the system must read a changing or previously unknown string. Use OCV when the expected value is already known and the task is to confirm that the printed characters match it. Some applications combine both.

Is AI vision always better than OCR?

No. Controlled codes often achieve a clearer and more explainable result with OCR, OCV or pattern tools. AI-assisted vision is considered when genuine good-print variation is too broad for a stable rule-based method.

Can inspection results be stored for audits?

Yes. Depending on the required scope, the system can retain counters, timestamps, failure reasons, read strings and selected images. Storage duration and data exchange should be defined during specification.

Useful official background: GOV.UK food information guidance and mandatory food-label information.

Engineering review

Turn the checklist into an inspection trial

Share the packs, code formats, line drawing and required failure response. We will identify the practical next step.

OCR vs OCV: what is the difference?

OCV verifies printed characters against a known expected value; OCR reads characters into data where the value may vary. The right method depends on whether the expected message is controlled, how variable the code is and what evidence the production record must retain.