Home / Solutions / Lot and date code inspection

Lot and Date Code Inspection

Read and validate lot codes, expiration dates and best before labels.

Automatically read and verify best-before dates, expiration dates and batch codes at full production speed, even on curved, reflective or difficult-to-read packaging.

MarshallAI combines AI-powered OCR with production-aware date validation to catch incorrect, unreadable and invalid codes before products leave your line.

Inspect at full line speed

Catch and reject all date related mistakes

Automatically switch between SKUs

Trusted by

MarshallAI / Live at BrauBeviale

Meet us at
BrauBeviale 2026.

– Hall 10 · Stand 10-139

Book a live demo @ BrauBeviale
Best Before / Expiry Date inspection station

System includes:

Software

AFSA software

Deep learning platform. Annotation, model training, evaluation and analytics.

Hardware

Rigging

All necessary mounts, supports, rigging and cabling.

Processing hardware

IP protected edge processing hardware and installation.

Cameras & lighting

2 cameras collect a 360 degree view of the can.

Deployment

Data collection & model development

Collection of on-site training data and model training.

Model evaluation & validation

Evaluate and refine the model until all agreed KPIs are achieved.

Integrations

Integrate with your rejection, PLC, SEM and ERP systems.

Installation and rigging

Hardware scoping and installation.

Support

Support

On-site service and support for the system.

Monitoring

Remote monitoring and troubleshooting when necessary.

Request a demo

Every product gets the date it should have

A best-before date can be printed perfectly and still be wrong.

  • The wrong month.
  • The wrong year.
  • A date from the previous production run.
  • An unreadable character.
  • An impossible calendar date.

MarshallAI doesn’t just look for text.

It reads the code and checks whether it is correct.

What MarshallAI checks

  • Best-before and expiry dates
    Read printed dates automatically and verify them against the expected production and shelf-life parameters.
  • Batch and lot codes
    Read and verify batch numbers, lot codes and other production identifiers at line speed.
  • Date format
    Check that the printed date follows the expected format — for example:
    DD.MM.YYYY
    MM/YYYY
    BEST BEFORE 12/2027
  • Calendar validity
    Detect impossible dates and invalid values before they reach the customer.
  • Shelf-life validation
    Compare the printed best-before date against the production date and expected shelf life.
  • Print quality
    Detect missing, incomplete, distorted or unreadable characters before the product leaves the line.

Accurate read from almost any surface or product

Best-before codes are rarely printed under laboratory conditions.

MarshallAI inspects best-before codes from:

  • Curved aluminium cans
  • Reflective metal
  • Glass bottles
  • PET packaging
  • Labels and sleeves
  • Low-contrast surfaces
  • Uneven or distorted print
  • High-speed moving products

Automatic SKU changeover

MarshallAI can automatically identify the current product or SKU and apply the correct inspection criteria without requiring an operator to manually reconfigure the inspection program between every changeover.

New SKU → Correct inspection rules → Immediate verification

No manual adjustment or fine tuning.

One inspection platform. More than just dates.

The same vision system can be extended to other inspections on your line.

Start with one inspection task, see the results and expand as your quality requirements grow.

Case studies

  • Eliminating Rogue Cans: High-Speed QA in Beverage Manufacturing

    A global beverage manufacturer spent 15 years trying to reliably intercept “rogue cans” on their high-speed filling lines. Discover how MarshallAI deployed a minimal latency edge vision system to inspect 2,500 cans per minute, preventing mismatched products and costly mechanical jams with near-perfect precision.

    Beverage industry Quality assurance

Questions & Answers

Can you verify whether a best-before date is actually correct?

Yes. MarshallAI can do more than read the characters. The system can validate the date against predefined production rules, including date format, calendar validity, production time and expected shelf life.

What happens when a faulty best before / expiry date is detected?

We can issue an alert, halt the line or integrate with a rejection mechanism. Timelined statistics are also provided for total products and faulty products for OEE optimisation and root cause analysis.