100% Inline Print Defect Inspection

How Barcode Inspection Systems Detect Unreadable and Incorrect Codes

Time : Oct 20, 2026
Discover how Barcode Inspection Systems detect unreadable and incorrect codes, validate production data, and track rejects to protect traceability and reduce costly shipment errors.

A carton barcode can look clean but fail to scan at dispatch. More dangerously, it can scan immediately while identifying the wrong product, batch, or packaging level. Both defects can compromise traceability, but they require different detection methods: one concerns symbol readability; the other concerns whether the decoded information is correct.

Barcode Inspection Systems detect these failures by capturing an image, locating and decoding the symbol, then comparing the result with approved production data. Depending on their configuration, they also assess print-quality characteristics and track rejected packs. Reliable inspection therefore requires more than a successful read: the system must confirm the expected code is present, its content is valid, and the inspection result remains associated with the correct physical item.

Unreadable and incorrect are separate failure conditions

On a flexographic printing or folder-gluing line, poor contrast, ink spread, damaged bars, and interrupted modules can prevent decoding. A perfectly formed symbol, however, can contain a previous job’s product number. Adjusting ink density may solve the first problem while leaving the second untouched.

Inspection result What it indicates Required response
No symbol detected The code may be missing, outside the search area, obscured, or not successfully imaged. Check print presence, positioning, triggering, and image coverage.
Symbol found but not decoded The image or printed symbol does not support a successful read under the configured conditions. Separate imaging faults from actual print defects.
Decoded, but content mismatched The payload differs from the approved product, batch, serial, or other expected data. Check job selection, data mapping, and printer updates.
Decoded, but quality unacceptable The symbol reads locally but fails a configured quality requirement. Investigate print quality and confirm the applicable verification method.

A system should retain these distinctions in its records. Combining every failure into “bad barcode” makes troubleshooting slower and can hide repeated job-data errors behind apparently routine print defects.

From moving carton to inspection decision

Capture a usable image first

A photoelectric sensor or another machine signal triggers image acquisition as each sheet, carton, or label enters the inspection position. Encoder feedback can relate capture timing to conveyor movement where speed varies. The camera, lens, exposure, and illumination must produce enough detail to resolve the narrowest bar or module across the permitted product positions.

Motion blur can merge narrow elements even when the code appears sharp to an operator. Shorter exposure helps, but requires sufficient light. Glossy coatings may create reflections that obscure parts of a symbol; uneven corrugated surfaces can introduce shadows and changes in focus. Lighting geometry, diffusion, or polarization may help, but must be tested against the actual substrate and finish.

The field of view must include the full symbol and its required quiet zones. A tightly cropped image can create a no-read even when the printed code is otherwise acceptable. Excessively wide coverage, by contrast, can leave too few pixels per element. Camera selection should therefore start with code dimensions, placement variation, and line speed—not camera resolution alone.

Locate, decode, and validate

Image-processing software searches the configured region for supported symbologies, such as linear barcodes, Data Matrix, or QR Code. It identifies symbol features and attempts to recover the encoded payload. Where the symbology provides check characters or error correction, the decoder uses those mechanisms as part of reading.

Those checks do not establish that the payload belongs to the current job. A valid check digit can accompany the wrong product identifier. Error correction can also allow a damaged two-dimensional symbol to decode without proving that its remaining print-quality margin is adequate for downstream scanners.

How Barcode Inspection Systems Detect Unreadable and Incorrect Codes

The decoded payload then passes to validation rules. A robust implementation keeps image acquisition, decoding, content comparison, and disposition as distinct steps, so an operator can see whether a rejection arose from visibility, symbol structure, or business-data mismatch.

How the system recognizes the wrong information

Content inspection needs an authoritative reference. This may be an approved job recipe, a controlled production-order record, or an expected serial-number list. Manually typing the same value into both the printer and inspection system creates a common-mode risk: both devices may agree on the same incorrect entry.

Validation depth should match the application:

  • Exact matching: Compare a fixed product or carton identifier with the approved value for the active job.
  • Field-level checking: Parse structured data and compare product, lot, expiry, or other fields individually.
  • Format and relationship rules: Check permitted characters, field lengths, date validity, or a defined relationship between production and expiry dates.
  • Sequence and uniqueness checks: Confirm variable identifiers belong to the expected set and identify duplicates within a defined scope.

For GS1 data, correct interpretation may depend on Application Identifiers, fixed- and variable-length fields, and separator handling. Human-readable text is not always identical to the raw decoded string. Comparison logic must distinguish presentation characters from encoded data without silently removing meaningful information.

A date that has the correct format is not necessarily the correct date. Likewise, a serial number that is unique within one camera session may already have appeared on another line. Duplicate detection requires a defined history and, where necessary, shared records across equipment.

Job changeover is a particularly vulnerable point. The inspection recipe and printer data should correspond to the same approved order before production release. If the expected reference is unavailable or inconsistent, the system should apply a defined hold or stop response rather than treating any readable code as acceptable.

Readability testing is not the same as standards-based verification

An inline reader answers whether it can decode a symbol under its installed conditions. A verifier evaluates specified quality characteristics using a defined measurement method. These are related functions, not interchangeable claims.

ISO/IEC 15416 addresses print-quality evaluation for linear barcode symbols, including characteristics such as symbol contrast, modulation, defects, and decodability. ISO/IEC 15415 addresses two-dimensional symbols, with parameters including modulation, fixed-pattern damage, grid nonuniformity, and unused error correction, as applicable to the symbol.

The ISO/IEC 15426 series concerns conformance requirements for barcode verifiers. A camera system that displays a quality score is not automatically a conforming verifier. Before using its results for acceptance reporting, establish the supported method, calibration procedure, illumination conditions, measurement aperture, and reporting capability.

There is no single acceptance grade suitable for every packaging application. Applicable customer specifications, application rules, and supply-chain requirements determine the required grade and measurement conditions. A grade without those conditions may be insufficient for a meaningful acceptance decision.

Continuous inline inspection and periodic verification serve complementary purposes. Inline inspection can detect individual missing or incorrect codes throughout production. Verification can establish print-quality performance under specified conditions. Neither alone guarantees readability on every downstream device, especially where packs are later scuffed, distorted, or covered by wrapping.

Diagnosing repeated no-reads without hiding defects

When rejection rates rise, first examine saved images and the distribution of failures. A defect recurring in the same printed area suggests a different cause from random blur affecting the whole image.

  1. Check acquisition consistency. Compare passing and failing images for motion blur, glare, focus, clipping, and trigger position. Failures concentrated during acceleration suggest timing or exposure problems.
  2. Examine the physical print. Look for bar growth, ink starvation, voids, smearing, contamination, and quiet-zone intrusion. On corrugated board, inspect whether surface unevenness or flute-related effects disrupt the symbol.
  3. Confirm dimensions and location. Check narrow-element size, symbol height where relevant, and placement relative to scores, folds, seams, and cut edges.
  4. Review configuration. Confirm the correct symbology, search region, orientation allowance, and content rules. An overly restrictive search window can reject normal placement variation.
  5. Verify after correction. Reassess both decoding performance and applicable quality requirements at the approved production conditions.

Do not simply lower an acceptance threshold until rejects disappear. That can conceal deteriorating print quality without improving downstream scanning. Repeated retries also need controlled interpretation: an eventual decode does not necessarily demonstrate a robust symbol.

Inspection position matters as well. A code checked before folding may later be distorted by a crease, covered by a glued flap, or damaged in handling. Where those risks exist, inspection after the relevant operation—or an additional downstream check—may be necessary.

A failed inspection must reach the correct reject device

Detection does not prevent shipment unless the machine removes or contains the affected item. The controller must track each result from the camera to the reject station using conveyor position or another validated tracking method. A simple time delay can become unreliable when speed or product spacing changes.

Reject confirmation provides evidence that the commanded action occurred. Depending on the mechanism, this may involve a sensor confirming entry into a reject chute or an equivalent monitored event. A reject command alone does not establish successful removal.

Define responses for lost triggers, unavailable inspection results, communication failures, consecutive rejects, and full or inaccessible reject containers. For critical traceability applications, an item without a valid inspection result should not default to acceptance. Restart procedures must address products still between the camera and reject station.

These controls support product-quality assurance; they are not automatically machinery safety functions. Any safety-related stopping or guarding requirements need separate assessment within the machine’s safety design.

Proving performance before releasing production

Acceptance testing should challenge the complete chain, not merely demonstrate that a good sample reads. Use controlled samples representing missing codes, unreadable symbols, valid but incorrect payloads, incorrect symbologies, and relevant variable-data errors. Include placement variation and representative substrates at the intended operating speeds.

Challenge the rejection sequence too: consecutive failures, alternating good and bad items, speed changes, and restart conditions can expose tracking weaknesses. Confirm that approved samples continue to pass while seeded defects receive the specified disposition. Keep challenge materials controlled so they cannot enter saleable production.

Records should connect the inspection result with the active recipe version, expected data reference, timestamp, and reject outcome. Saved failure images help separate printing problems from camera or configuration faults. Access controls and change records should prevent unauthorized edits to acceptance rules.

When a defect escapes or a system loses inspection capability, these records establish the containment boundary: which production interval was affected, what checks were active, and which products require reinspection. The practical acceptance criterion is not simply “the camera reads the barcode,” but whether the installation can consistently distinguish acceptable codes from defined failures and account for the affected packaging.

Related News