
AI Visual Inspection for Packaging & Printing
Catch print misregistration, seal-zone contamination and unreadable barcodes or date codes at press and packing-line speed, before a reel, pouch or carton reaches your customer.
What is AI visual inspection for packaging and printing?
AI visual inspection for packaging and printing is a camera-based print inspection system that checks every print repeat, seal and code at line speed. Opsio designs the cameras, lighting and edge AI models that find print defects such as misregistration, seal and converting defects such as seal-zone contamination, and code defects such as low-grade barcodes or wrong date codes.
Key facts
- Line-scan colour cameras compare every print repeat with the approved golden template.
- Colour drift is reported as ΔE00 (CIEDE2000) against the brand tolerance.
- Barcode grading follows ISO/IEC 15416 (linear) and ISO/IEC 15415 (2D).
- Thermal cameras image heat seals within seconds of the sealing jaws opening.
- Edge inference runs in under 50 ms per image on NVIDIA Jetson or Intel OpenVINO.
- Each defect is written to a roll map by reel, metre position and lane.
- Images stay on the edge or on-premises; retraining runs in an EU cloud region.
Main defect families
- Print defects
- Deviations from the approved artwork, such as misregistration, colour drift, streaks, hickeys and missing print.
- Seal and converting defects
- Seal wrinkles, channel leaks, seal-zone contamination, incomplete seals, mis-cut or mis-folded cartons and glue flap defects.
- Code and variable-data defects
- Barcodes, date and lot codes that are missing, low-grade, illegible, wrong for the SKU or out of position.
Last reviewed by Praveena Shenoy, Head of AI & Data, Opsio, a Swedish cloud and AI services company. Part of Opsio's AI Visual Inspection service.
Why is packaging and print inspection hard at press speed?
A wide-web flexo or gravure press runs typically 150 to 400 m/min, so a defect that starts mid-reel repeats across thousands of metres in minutes. The operator sees the web through a strobe viewer and pulls a sample at reel change. Everything between those samples goes unchecked.
Every job brings new artwork, inks and often a new substrate, from paperboard to metallised film. Varnish, foil and clear film reflect light differently, so a fixed threshold tuned on one job flags the next job's design as a defect. A colour shift of a few ΔE units is invisible on one sheet but obvious when cartons from two reels sit side by side.
A channel leak through a pouch seal is often narrower than a millimetre and looks normal in visible light, and destructive tests check one pack in hundreds. A barcode can decode on your line and still fail at a retail scanner because its ISO grade has dropped.
Escapes are expensive: a brand owner can reject a delivery for colour, and a wrong lot code on a food or pharma pack is a recall.
Print, seal and code inspection: three use cases
Each use case follows one stage of a packaging line: the press, the sealing and converting machines, and the coding station at the end of the line.
Print quality inspection

Situation
Your flexo, gravure or offset press prints board, labels or film at typically 150 to 400 m/min on wide web and 50 to 200 m/min on narrow web. An operator checks a pulled sample against the proof at reel change, so a streak that starts mid-reel runs until someone notices. The method is the same line-scan web inspection used on metal strip and films, with colour added.
Defects
- Registration errorsmisregistration, colour separations not landing exactly on top of each otherPlate cylinders shift relative to each other with web tension, temperature or speed, leaving a coloured fringe at edges.
- Colour drift and inconsistencyInk viscosity, anilox wear and dryer or substrate changes shift density and hue outside the brand ΔE tolerance.
- SmearsWet ink is dragged by a roller, guide or the next sheet before it dries.
- StreaksA nicked doctor blade, plugged anilox cell or scratched cylinder prints a continuous line in the running direction.
- Hickeyssmall spots with a white ring around themDust, paper fibre or dried ink sticks to the plate or blanket and prints as a spot with a void around it.
- Missing printInk starvation, a lifted plate or a substrate splice leaves an element partly or wholly unprinted.
- Ghostinga faint duplicate of an image elementInk starvation on the form rollers or slur in the nip prints a weak, offset repeat of a nearby element.
- Text defects in small typeDot gain, fill-in or broken strokes make 4 to 6 pt legal text illegible or change its meaning.
Inspection setup
A colour trilinear line-scan camera (typically 8k or 16k pixels, fixed-focal lens) sits after the last print unit and dryer; wide webs use two or more. A white LED line light in bright-field geometry lights the full width, and a calibrated white reference tile corrects light drift at each reel change.
An encoder on an idler roller triggers each line: at 300 m/min and 0.1 mm per pixel the camera runs at 50 kHz. The model compares every repeat with the golden template (the approved repeat or artwork PDF), as our guide to high-speed vision inspection explains. Decision: alert the operator, mark the web edge and log to the roll map; on sheetfed presses, divert the sheet.
Outcome
You inspect every repeat instead of a sample at reel change. A streak alarm reaches the operator within the same repeat, colour is trended as ΔE per ink zone before it leaves tolerance, and the rewinder stops only at flagged positions. A typical detectable defect at 0.1 mm per pixel is 0.2 to 0.3 mm.
Seal integrity inspection and converting

Situation
Your form-fill-seal or pouch line runs typically 40 to 150 packs per minute per lane, and your folder-gluer typically 100 to 300 m/min. Seal checks are destructive and sampled: a peel or burst test every hour, plus a leak test. A crumb in the seal or a jaw running cold for ten minutes produces leaking packs that pass every sample.
Defects
- Seal wrinklesFilm slack, uneven jaw pressure or a misaligned gusset folds the film inside the seal, creating a weak point.
- Channel leaksan open path through the full seal widthA wrinkle, particle or cold spot leaves an unfused path through the seal that lets gas out and oxygen in.
- Contamination in the seal zonePowder, crumbs, liquid or fat land on the seal area during filling and stop the sealant layers fusing.
- Incomplete seals on pouchesLow jaw temperature, short dwell or misaligned jaws leave part of the seal width unfused.
- Mis-cut cartonsDie wear, a misfeed or print-to-cut misregistration shifts the cut line or leaves nicks.
- Mis-folded cartonsWorn folding belts or the wrong crease depth fold a panel off its score line, so the carton will not erect.
- Glue flap defectsClogged nozzles or a wrong glue pattern leave missing, excess or shifted glue on the manufacturer's joint.
Inspection setup
A long-wave infrared (LWIR, 8 to 14 µm) thermal camera, typically 640 × 512 pixels, sits directly after the sealing jaws and images each seal within 1 to 3 seconds. A good seal shows as an even warm band; a channel, wrinkle or contaminant shows as a cool line or spot. For clear films a backlight adds transmitted-light imaging; foil laminates rely on thermal. See seal defect detection with vision AI for examples.
On the folder-gluer, 3D laser triangulation measures flap and fold geometry, a 2D camera checks cut edges against the die line, and UV light shows tracer glue. Decision: reject the pack by air jet or pusher and flag the lane and jaw; eject faulty cartons before the stacker.
Outcome
Every seal is imaged instead of one pack per hour. Thermal images show channel leaks and cold seals that look normal in visible light, and each failure is linked to a jaw, so maintenance sees a drifting jaw before it produces leaking packs. Destructive tests stay in your quality plan as the reference.
Barcode verification, codes and variable data

Situation
Date and lot codes are printed by inkjet or thermal transfer at the end of the line, typically 100 to 600 packs per minute, alongside barcodes and serial numbers. A scanner that reads a code does not tell you it will scan at a retailer. The same checks support serialisation and code verification on pharma packs.
Defects
- Barcode and QR readability and gradeBar width gain, low contrast, quiet-zone intrusion or uneven print lower the ISO grade, so a code that decodes on your line fails at a retail or logistics scanner.
- Date and lot code presence and legibilityA blocked inkjet nozzle, a worn thermal-transfer ribbon or the wrong printhead distance leaves the code missing, broken or smudged.
- Wrong code for the SKUA changeover that loads the wrong artwork, label reel or coder message puts a valid code for another product on the pack.
- Print positionPack skew, coder timing or label applicator drift places the code outside its window, over a seam or off the panel the scanner reads.
Inspection setup
A monochrome area-scan camera, typically 5 to 12 MP, sits after the coder and labeller and is triggered by a photo-eye; a ring light, or a dome for glossy film, lights the code. For grading, lighting angle and aperture follow ISO/IEC 15416 for linear barcodes and ISO/IEC 15415 for 2D symbols, with a calibration card checked each shift.
The system grades each code, runs OCR (optical character recognition, reading the characters) and OCV (optical character verification, checking them against the expected string), and compares every value with the job ticket; see label defect detection using vision AI. Decision: reject the pack, and stop the line after a set number of consecutive failures.
Outcome
Every code is graded and checked against the job, not only read. Trends in symbol contrast, modulation and bar width gain show a printhead degrading before codes fail, and a wrong-SKU code is stopped at the first pack after a changeover. A calibrated offline verifier remains the reference for formal GS1 reports.
How a print inspection system works on your press and packing line
A print inspection system runs the same six steps on a web press and a pack line; they differ mainly in trigger and actuation.

- 1
Trigger and part presentation
On a web press, an encoder on an idler roller triggers each line scan and the print-mark sensor locks images to the repeat. On pouch, carton and coding lines, a photo-eye or PLC cam signal triggers each frame.
- 2
Image acquisition
Line-scan cameras connect over CoaXPress or GigE Vision, code cameras over GigE Vision or USB3 Vision, and LWIR cameras sit after the sealing jaws, all in enclosures with sealed windows against ink mist and paper dust.
- 3
Edge inference and latency budget
An NVIDIA Jetson or Intel OpenVINO edge PC runs the models in under 50 ms per image. At 300 packs per minute each pack has 200 ms between triggers; on a web, results go to the marker and roll map.
- 4
Decision and actuation
Results go to the line PLC over PROFINET, EtherNet/IP or Modbus TCP: a reject pulse to an air jet, pusher or flap gate, a web marker, stack light or line stop. The slitter-rewinder receives each roll map.
- 5
Traceability and data retention
Each defect image is stored with job, reel, metre position or timestamp, lane and jaw. Roll maps, ΔE trends and code grades go to your MES over OPC UA, kept as long as you set.
- 6
Active-learning loop
New artwork needs no retraining, because each job is compared with its own golden template. New defect classes or substrates go to operator review, are retrained in SageMaker and redeployed after a held-out test.
Which imaging finds which print, seal and code defect?
Each defect family has a standard imaging method on packaging and print lines.
| Defect family | Best-suited imaging | Why |
|---|---|---|
| Registration errors and colour drift | Colour line-scan, bright-field line light, calibrated white reference | Registration needs every repeat at full width; ΔE trending needs calibrated light. |
| Smears, streaks, hickeys, missing print, ghosting | Line-scan web inspection system with golden-template comparison | Template comparison flags any deviation from the approved repeat, so new artwork needs no retraining. |
| Text defects in small type | Line-scan or area-scan at 0.05 to 0.1 mm per pixel, OCR/OCV | Broken strokes in 4 to 6 pt type are only a few pixels wide at lower resolution. |
| Seal wrinkles, channel leaks, incomplete seals | LWIR thermal imaging immediately after sealing | Unfused areas cool differently from a fused seal, even behind opaque foil. |
| Contamination in the seal zone | Backlight (transmitted light) for clear films; thermal for foil | Particles block transmitted light; thermal shows the unfused spot. |
| Mis-cut and mis-folded cartons, glue flap defects | 3D laser triangulation; 2D area-scan for cut edges; UV for tracer glue | Fold errors are height and angle errors that 2D misses; tracer glue only shows under UV. |
| Barcode grading and label inspection | Area-scan with lighting per ISO/IEC 15416 and 15415 | Grade parameters are only comparable under the lighting the standards define. |
| Date and lot codes, wrong code for the SKU, print position | Area-scan with ring light or dome, OCR/OCV against the job ticket | Content is checked against the expected string from the job, not only presence. |
Integration with your job tickets, roll maps and brand standards
The system reads the job from your MES and writes results to the press, rewinder and quality records. It supports the standards your brand-owner customers audit against.
- Job-ticket integration
- Reads the job ticket from MES or prepress (JDF/JMF where supported): artwork version, ΔE tolerance, barcode content and expected date and lot code. Writes defect counts and reel status back.
- Roll mapping
- Writes a roll map per reel with metre position, lane and defect class, so the slitter-rewinder stops at flagged positions.
- Brand colour tolerance (ΔE)
- Trends ΔE00 per ink zone against the brand tolerance and supports ISO 12647 process control. A spectrophotometer stays the reference for colour sign-off.
- GS1 and ISO/IEC 15415/15416
- Designed to meet the grading parameters of ISO/IEC 15416 and 15415 and GS1 minimum grades. Formal reports come from a calibrated verifier.
- Artwork approval workflows
- Golden templates come from the approved version in your artwork management system, so a superseded version is flagged on the first repeats.
- QMS and SPC
- Exports defect rates per job, shift, lane and jaw to SPC, and opens holds in your QMS.
- Seal testing and regulated customers
- Complements, and does not replace, destructive seal strength (for example ASTM F88) and leak tests. Pharma and food customers own the validated state of their process; the system supplies inspection records.
- Where data lives
- Images and roll maps stay on the edge PC and your on-premises server. Only images you approve for training go to an EU cloud region.
From first test to your line in five steps
Every packaging and print project follows the same five steps, from sample tests in the Opsio AI Lab to live rejection on your line.
- 1
Opsio runs tests in the AI Lab
You ship samples for each defect class: printed sheets or reel sections with misregistration, streaks and hickeys, pouches with wrinkled or contaminated seals, and cartons with poor or missing codes. Typical sets are 50 to 100 good samples and 20 to 50 defective samples per class. Opsio images them under candidate line-scan, thermal and code-grading set-ups, trains a first model and measures detection and false-reject rates.
- You provide
- Samples per defect class, approved artwork, colour references, ΔE tolerances and line speeds.
- Opsio delivers
- Test images, a first model and per-class detection and false-reject results.
- 2
Present results and pricing
Opsio walks your quality and production team through per-defect results with example images, including the streaks, seal channels and code faults that were missed. You get the recommended camera, lighting and encoder bill of materials, the fit with your press speed or packs per minute, and a fixed quote for the station and managed service.
- You provide
- Quality, production and maintenance leads, and press or line drawings.
- Opsio delivers
- Results report, bill of materials, cycle-time fit and fixed quote.
- 3
Decision and PO/MSA signing
You decide whether to go ahead. The purchase order and master services agreement set the scope (presses, sealers and coding stations), acceptance criteria per defect class, ownership of images, artwork and models, and support terms, including brand-owner ΔE tolerances and GS1 grade levels.
- You provide
- Purchase order, signed MSA and acceptance criteria.
- Opsio delivers
- MSA, project plan and named team.
- 4
Installation in the Opsio AI Lab
Opsio builds the production station in the AI Lab with the real cameras, line lights, thermal camera, enclosure and edge PC. It is tested against the acceptance criteria on your samples, with an encoder rig simulating your web speed, and the job-ticket and roll-map interfaces are tested against a copy of your MES data.
- You provide
- MES and PLC interface details and attendance at acceptance.
- Opsio delivers
- Pre-commissioned station, acceptance test record and interface specification.
- 5
Installation at the customer location
The pre-commissioned station is mounted on your press, sealer or coding line, connected to the PLC and MES, and run in shadow mode next to your current checks. When results meet the acceptance criteria it switches to live marking and rejection. Operator training, handover and the active-learning review loop start.
- You provide
- Line access in a planned stop, PLC and network connections, operators.
- Opsio delivers
- Installation, shadow-mode report, go-live, training and the managed service.
Pricing for the feasibility study, production stations and the managed service is on the AI Visual Inspection service page.
AI visual inspection for Packaging & Printing: questions
What are the common print defects?
The common print defects on packaging are misregistration, colour drift, smears, streaks, hickeys, missing print, ghosting and broken small type. On flexible packaging you also see pinholes in solids and set-off between layers of the reel. A camera-based inspection system detects all of these by comparing each repeat with the approved golden template, then classifies the deviation so the press operator knows whether to check the blade, the anilox, the plate or the ink.
What is misregistration in printing?
Misregistration is when the colour separations of a print do not land exactly on top of each other. It shows as a coloured fringe or a white gap at the edges of shapes and text. It comes from plate cylinders shifting relative to each other with web tension, temperature or speed. A line-scan camera measures the offset between colours on every repeat, so you see drift in tenths of a millimetre before it becomes visible to the eye.
What is a hickey mark?
A hickey is a small spot in the print, usually with a white ring around it, caused by dust, paper fibre or a dried ink particle sticking to the plate or blanket. It repeats on every impression until the plate or blanket is cleaned. Because a hickey repeats at a fixed position, golden-template comparison finds it on the first affected repeat and the roll map shows exactly where the run of hickeys starts and ends.
What is ghosting in printing?
Ghosting is a faint duplicate of an image element printed next to or behind the original. In offset it is usually caused by ink starvation on the form rollers, where a heavy element uses up ink and leaves a weak copy further down the sheet; slur in the nip causes a similar effect. Ghosting is low-contrast, so it needs a colour camera with stable bright-field light and comparison against the approved repeat rather than a fixed threshold.
What are the different types of packaging testing?
Packaging testing splits into non-destructive inspection and destructive testing. Inline cameras check print, seals, codes and carton geometry on every pack. Destructive tests on samples measure seal strength (peel and burst), leak tightness (dye penetration, bubble or vacuum decay) and transit performance. Vision inspection does not replace the destructive tests in your quality plan; it covers 100% of packs between samples and tells you which packs to pull for testing.
How do you check printing quality?
You check printing quality by comparing the printed result with the approved artwork and colour reference. On press, a line-scan camera compares every repeat with a golden template for registration, missing print, streaks and spots, and trends colour as ΔE against the approved reference. Off press, a spectrophotometer measures colour on samples, and a barcode verifier grades codes. Inline inspection tells you when the press drifts; offline instruments confirm the result for sign-off.
What belongs on a seal integrity inspection checklist?
A seal integrity inspection checklist covers seal width, wrinkles, channels, contamination in the seal zone, incomplete or cold seals, and seal position on the pack. For each item it states the inspection method and frequency: 100% thermal or transmitted-light imaging inline, plus sampled peel, burst and leak tests. It also records jaw temperature, dwell and pressure, so a seal fault can be traced to a jaw and a time.
What is the difference between OCR and OCV?
OCR (optical character recognition) reads the characters printed on the pack, while OCV (optical character verification) checks that the printed characters match an expected string and are legible enough. On a coding line you usually need both: OCR reads the date and lot code, OCV confirms it matches the job ticket and grades print quality. OCV catches a code that is readable but wrong, such as yesterday's date after a changeover.
What is an OCR error?
An OCR error is a character read incorrectly, such as an 8 read as a B or a broken 0 read as a C. On packaging it usually comes from poor print: a blocked inkjet nozzle, a worn thermal-transfer ribbon, low contrast on a dark or glossy substrate, or a code printed over a seam. Trained models and checks against the expected string from the job ticket reduce OCR errors, and illegible codes are rejected rather than guessed.
How does barcode grading work?
Barcode grading measures a code against the parameters in ISO/IEC 15416 for linear barcodes and ISO/IEC 15415 for 2D codes, such as symbol contrast, modulation, defects, decodability and quiet zone. Each parameter gets a grade from 4 (A) to 0 (F), and the lowest sets the overall grade. Inline cameras grade every code under defined lighting; a calibrated offline verifier remains the reference for formal reports.
What does print inspection system software do?
Print inspection system software captures images of every repeat, compares them with the approved golden template, classifies each deviation and decides what to do with it. It alerts the operator, marks the web, writes the roll map and sends results to the press PLC and MES. AI models add classification, so a streak, a hickey and a harmless variation in a photographic image are handled differently instead of all raising the same alarm.
Can software fix misregistration in printing?
Inspection software measures misregistration; the press register control corrects it. Many presses already have automatic register control that reads register marks. An inspection system adds measurement across the whole repeat, including image areas the marks do not cover, and can send offsets to the press controller where the press supports it. It also logs register drift per reel, so you can see whether a job, a substrate or a press unit causes it.
What is GS1 barcode verification?
GS1 barcode verification is grading a barcode to ISO/IEC 15416 or ISO/IEC 15415 and checking the result and data structure against the GS1 General Specifications for that application. GS1 sets minimum grades, commonly 1.5 (C) for retail EAN/UPC, and rules for the encoded data. Inline grading checks every code against these limits; formal verification reports come from a calibrated verifier, which many retailers require.
How does print inspection work with an artwork management system?
The artwork management system holds the approved version of each artwork, and the print inspection system uses that version as its golden template. When a job starts, the system reads the artwork version from the job ticket and checks the first repeats against it. If the press is running a superseded or unapproved version, the job is flagged before good reels are produced. Text checks also confirm legal text and codes match the approved file.
Book a 20-minute walkthrough for packaging & printing
Pick the defects that cost you most, and we will show you live how a vision model finds them on a line like yours.
- Live on your defect type, no slides
- A reply within one business day
- No obligation
Vaishnavi ShreeDirector & MLOps Lead
Praveena ShenoyCountry Manager, India






