AI vision solution

AI label inspection: every label and date code checked

A wrong label doesn't stop the line. The product is fine, the pack is sealed, and the error travels on until a store, a customer or the food safety authority finds it. With AI label inspection, a camera photographs every pack after the labeler and compares label, date code and barcode with what the order expects. What doesn't match is rejected before it leaves the line, and every check is recorded per batch.

AI label inspection: label with use-by date, 2D code and barcode on a packaged meat product

A label error doesn't stop the line

A crooked cap or a leaking seal gets noticed. A label from the wrong variant doesn't: the pack looks right and simply keeps moving. In many plants the check is a signature at the start of the order and a sample every hour. This is what happens in between:

After a changeover, the label roll from the previous order is still in the machine.
The printer prints yesterday's date, because nobody updated the job.
A dirty printhead or a creased ribbon leaves the date code half legible.
Two variants look alike: the same design, a different allergen.
The label sits crooked or across the seal, and the barcode won't scan at the distribution center.
One pack was checked at start-up, the ten thousand after it were not.

The result is rarely a complaint about taste. It is a recall. The Australian regulator FSANZ records the cause of every recall: in 2025, 38% of all food recalls involved an undeclared allergen, and between 2017 and 2022 nearly half of the undeclared allergen recalls were a packaging error, such as a product packed in the wrong packaging. Recall notices in Europe read the same way: wrong label, allergen not declared.

Applications

What AI label inspection checks on every pack

The inspection point asks the same question of every pack: does this say what the order expects? In practice that comes down to six checks, and you start with the one that goes wrong most often on your line.

The right label for the order
Product, variant, language and private label: the model recognizes the design and compares it with the item on the order. The classic changeover error, the roll from the previous run, shows up on the first pack.
Date code and batch code
Present, legible and correct: the system reads the printed date and batch code and holds them against the values expected for this order. A date that is legible but wrong is rejected just the same.
Barcode and 2D code
The code has to scan and it has to belong to the item. GS1 has set the end of 2027 as the date by which retail checkouts should be able to scan 2D codes. Such a code can carry batch and expiry date as well, and then code and print have to say the same thing.
Allergens and mandatory information
The system checks that the label is the approved version, with the right allergen block and the right language. That keeps a product with nuts from going out under the label of the variant without.
Position and application
Is the label there, straight and flat, in the right place and clear of the seal? Crooked, creased and double labels are rejected before they stand out on the shelf or at the scanner in the distribution center.
Case and pallet labels
The outside has to match the contents too: the label on the shipping case and the pallet label are read and compared with the order, so the error doesn't surface at your customer's goods-in.

From meat trays and dairy cups to bottles, bags and boxes: the question stays the same, the camera and lighting setup does not. Need to be sure first that the right product is in the pack? That is AI vision classification.

How label inspection works on your packaging line

The inspection point sits right after the labeler or the printer: one or more industrial cameras, lighting matched to your packaging and an edge computer next to the line. A photocell triggers the shot, the system reads and compares in tens of milliseconds and the pack moves on.

The difference from a check by eye is where the expectation comes from, and what happens with the result:

That turns label inspection from a signature at start-up into a check on every pack, with the evidence attached.

  • The system takes the expected label from the order in your ERP or MES, or from the item code the operator scans at start-up.
  • The expected date is calculated from the production date and the item's shelf life, not typed in again.
  • Camera and lighting are chosen for your packaging and print: glossy film needs diffuse light, a matte paper label does not.
  • Reading and judging happen locally on the edge computer, independent of the internet.
  • A rejected pack is ejected. After a number of consecutive rejects that you set, the line stops: by then the problem is in the roll or the printer.
  • Every check is logged with image, values read and timestamp, per order and batch.

Reading codes, reading print and judging: three techniques in one inspection point

Checking a label is not one task. For each part we pick the technique that fits it best, and AI only comes in where rules fall short.

Reading codes
Decoding barcodes and 2D codes is classic vision work: fast, predictable and explainable. The content of the code is then compared with the item on the order.
Reading printed text
A date from a continuous inkjet printer is made of separate dots, sits on film with artwork underneath and shifts from pack to pack. Classic text recognition gets stuck there; a model trained on your print reads it.
Judging the whole
Is this the right design, is the label straight, is it creased or torn? Those are judgments you can't capture in tolerances, and that a model learns from examples from your line.

Which check needs which technique is decided in the intake, with your own packs on the table, the bad ones included. More on that trade-off at AI visual inspection.

A label camera that learns from the first pack approves the error too

Many label checks on the line work as an island. The operator presses a button at start-up, the camera memorizes the first pack and then approves everything that looks like it. This is what goes wrong:

That is why Meshnex takes the expectation from the order and writes every check to MeshOS: the same platform where your machine data, downtime and OEE come together.

  • If the first pack is wrong, the camera approves the whole run.
  • The operator picks the program by hand, and after a changeover the previous one is still selected.
  • The expected date is typed in twice: once in the printer and once in the camera.
  • Rejects are not linked to order or batch.
  • When a complaint comes in, there is no image of the pack from that day.
  • Nobody sees that the print has been getting harder to read for days.

From label check to evidence per batch

Every check produces a record: image, date and code as read, verdict and timestamp, linked to line, order and batch. In MeshOS those records sit next to your production data, and the label check becomes something you can fall back on afterwards.

For example, you see:

When an audit or a complaint comes, you look up the batch and the answer is there. If you want the rest of the quality file off paper too, read on at paperless quality logbooks.

  • How many packs per order were checked, approved and ejected, and for what reason.
  • The photo behind every reject, found by batch and time.
  • Which error returns after which changeover: wrong roll, wrong date, crooked label.
  • Print legibility as a trend, so a printhead is replaced before it prints unreadable codes.
  • The checks at start-up, changeover and end of run, with time and result, without forms.
  • Losses from label errors next to OEE and downtime: what the labeler really costs you.

What it is really about: the first pack after a changeover

Label errors rarely start in the middle of a run. They start at the switch: a new order, a new roll, a new date. A check that sees every pack and knows what the order expects catches the error at the moment it appears.

The line doesn't start with the wrong label
After a changeover the first packs are checked against the new order. If the label or the date doesn't match, the line stops after a handful of packs instead of after a pallet.
A recall gets smaller
If something does go wrong, the records tell you from which pack to which pack. You block that part of the batch, not a full day of production.
You answer a complaint with a photo
When a customer reports a wrong date or a missing label, you pull up the images of that batch. Within minutes you know whether it was an incident or a pattern.

An error at the line costs one pack. The same error on the shelf costs a recall, the charges the retailer passes on and a conversation you would rather not have.

For every role

The same label check, for every role

A label error touches more people than the operator at the labeler. MeshOS shows the same records, presented in a way that fits each role.

For quality managers
Evidence per batch that the right label and the right date were on every pack, with images. The file for audits and complaints is already there.
For production managers
A changeover that doesn't end with repacking a pallet. You see losses from label errors per line and per shift while the shift is still running.
For operators
No form and no doubt at start-up: the system tells you right away whether roll and date belong to the order, and why a pack was rejected.
For directors and owners
Less chance of a recall with your name on it, and an answer backed by evidence when a retailer asks questions.
For IT managers
The check runs locally on the edge computer, the link to ERP or MES uses the interfaces you already have and images stay in the environment you choose.

Label inspection that fits your existing line and IT

Camera, lighting and edge computer go behind the labeler or printer that is already there: no new packaging machine, no major rebuild. The check runs locally at the line. Where images and records end up is up to you:

Cloud
Cloud solution on European servers, without managing your own servers.
Hybrid
Hybrid solution with local data buffering, so no record is ever lost.
Self-hosted
Fully on your own infrastructure, within your own IT policy.

That keeps images of your packs and orders within your own environment when it has to, and the solution fits your own IT policy.

Honest about label inspection: what a camera will not do for you

Label inspection with vision is proven technology, but it doesn't solve everything. Three things decide what you get out of it, and we discuss them before a camera goes up.

The camera checks against the reference, not against the law
If the approved artwork is missing an allergen, the system approves that label. What a label should say remains the work of quality and product development; the system guards that what was approved is what ends up on the pack.
Master data decides the outcome
The expected date comes from the item's shelf life, the expected label from the order. If there is an error there, the system expects the wrong thing. That is why we go through the item data before the check is allowed to reject anything.
Not every print can be made legible
Small type on glossy film, a date across busy artwork, an embossed code: the right lighting solves a lot, not everything. Sometimes the fix is a different font in the printer or moving the print by a centimeter, and we say so in the intake.

That is why a new inspection point first runs alongside without rejecting. Only when its results match your own checks does the system get the final say over a pack.

Start with one line and one error

You don't have to equip every packaging line at once. Start with the line that has the most changeovers, or with the error that has already cost you a recall or a rejected delivery.

Step 1: we define what has to match
In the intake we choose the checks, collect packs, the bad ones included, and determine where the expectation comes from: order, item and shelf life.

Step 2: camera and edge computer behind the labeler
We select camera and lighting for your packaging and print, fit the inspection point onto the existing line and connect it to the order data.

Step 3: the system runs alongside
It reads and judges every pack without rejecting. We compare the results with your own checks, retrain the reading model on your print and tune the thresholds.

Step 4: go live and expand
The inspection point rejects on its own, the records come together in MeshOS and on success you expand to more checks or lines.

Frequently asked questions about AI label inspection

What is AI label inspection?

AI label inspection, also called label verification, is an automated check of every label on the packaging line, using cameras and a trained AI model. The system checks that the right label is on the pack, that date code, batch code and barcode are present, legible and correct, and that the label is applied properly. Every check is recorded per order and batch.

Which label errors does the system catch?

A label from the wrong variant or the previous order, a missing, crooked, creased or double label, a missing, illegible or wrong date or batch code, and a barcode that doesn't scan or doesn't belong to the item. What is feasible on your packaging depends on print, material and line speed; we assess that in the intake.

Does the system check whether the date is correct, or only whether it is legible?

Both. The system reads the printed date and compares it with the date expected for this order, calculated from the production date and the item's shelf life. A sharply printed date from yesterday is rejected just like half a date.

What is the difference between OCR and OCV?

OCR reads text whose content is not known in advance. OCV verifies that a text that is known has been printed correctly and legibly. Label inspection is mostly the second: the expected date and batch code come from the order, and the system checks that the print matches them.

How does the system know which label to expect?

From the order. Preferably it comes straight from your ERP or MES, so nobody has to pick a program. If that link isn't there, the operator scans the order or the item at start-up. Either way the reference is never the first pack of the run.

Does it work with inkjet, thermal transfer and laser coding?

Yes, in most cases. Thermal transfer and laser produce sharp characters that read well. Continuous inkjet is made of separate dots and varies more: for that we train the reading model on your print. The limit is contrast, not the printing technique: a date across busy artwork or on glossy film asks more of the lighting.

Can the system keep up with our line speed?

Almost always. Reading and judging happen locally on an edge computer, in tens of milliseconds per pack. A photocell triggers the shot and a short flash freezes the pack, so the line doesn't have to slow down for the camera.

What happens when a label is rejected?

That is up to you. The pack is ejected, the operator gets an alert with the reason, and after a set number of consecutive rejects the line stops: by then the problem is in the roll or the printer, not in one pack. Every reject is recorded with its image.

Does the system also check the ingredient list and allergens?

Partly. It checks that the label is the approved version for this item, and it can compare fixed zones such as the allergen block with the reference. It does not proofread the full ingredient list on every pack: whether that text is right belongs to artwork approval. The system guards that the approved text is what ends up on the product.

Is this the same as barcode verification?

No. The inspection point checks on every pack that the code reads and belongs to the item. A barcode verifier measures print quality against the ISO standards and assigns a grade; that remains a sample taken with a calibrated device. The two complement each other.

Does this help with IFS or BRCGS audits?

Yes. IFS Food 8 requires in 4.5.3 that label and packaging correspond to the product, that the information is legible, and that this is monitored and documented at least at the start and end of a production run and at every product changeover. BRCGS asks for checks at the start, during the run, when a new batch of packaging material is loaded and at the end. The system records those checks for every pack. BRCGS also asks you to test automated checking equipment, at least at the start and end of the run, and to have a manual procedure ready for when the system fails. We set up that test and that procedure with you.

How much does AI label inspection cost?

That depends on the application: the number of cameras, the line speed, the number of checks per pack and how the order data reaches the system. That is why we start with an intake and one line, so the investment and the expected result are clear before you expand.

How quickly can a first inspection point be on the line?

In many cases within 6 to 8 weeks, including installation, the link to the order data and a period of running alongside your existing checks. The link to your ERP or MES usually decides the lead time, more than the camera does.

See which label error still slips through on your line

A wrong label at the line costs one pack. The same label on the shelf costs a recall. Start with one line and the error that worries you most, and see for yourself what the system finds next to your current checks.