Guide

Why your DataMatrix codes will not scan

A DataMatrix code that verifies perfectly on the production line can still fail in a shopper's hand or a store aisle. The reasons are physical and predictable, and only some of them can be fixed at the printer. This guide explains each one and what to do about it.

  • Surface
  • Size and contrast
  • Conditions of the scan

Updated

At a glance

For
Packaging, quality and brand-protection teams
Covers
Six failure causes
Fixes
Print-side and read-side
Reading time
About 5 minutes

A good code on a bad surface

Line verification measures a code under ideal conditions: controlled light, a flat surface, a fixed distance. The same code then travels on a foil wrapper, gets curved around a can, scratched in transport and photographed under shop lighting by a phone held at an angle.

Each of those conditions removes a little of what a decoder needs: contrast, geometry, modules, quiet zone. Together they explain most failures — and point to two kinds of fix: print better where you can, and read better where you cannot.

The six causes, and the fix for each

  1. 01

    Glare

    Foil and gloss reflect light into the lens. Print: matte varnish or a printed background. Read: glare-aware capture and decoding.

  2. 02

    Curvature

    Cans, bottles and tubes distort the grid. Print: place the code where the radius is largest. Read: geometric correction.

  3. 03

    Small module size

    Tiny codes are barely resolved by a phone camera. Print: the largest module size the space allows. Read: super-resolution and multi-frame capture.

  4. 04

    Low contrast

    Coloured, transparent or engraved codes. Print: dark on light, with a solid background. Read: adaptive thresholding.

  5. 05

    Damage

    Scratches, creases and abrasion remove modules. Print: higher error correction where possible. Read: decoders tolerant of missing modules.

  6. 06

    Lost quiet zone

    Seams, edges and print crowd the code. Print: keep the margin clear. Read: finder detection that tolerates clutter.

Print-side checklist

What packaging and quality teams can control before the pack ships.

  • Keep the quiet zone clear on all four sides.
  • Use the largest module size the available space allows.
  • Print dark modules on a light, solid, non-reflective background.
  • Avoid seams, folds and the tightest curves of the container.
  • Verify codes with a grading standard on the line, not just a pass or fail.
  • Test reads on finished packs under shop lighting with ordinary phones.

What software adds on the read side

Much of the problem appears only at the moment of the scan — and there it is the reader that has to cope. DataMatrix Scanner is built for exactly these conditions, on the camera of an ordinary smartphone.

Glare and gloss

Captures and decodes through reflections.

Geometry

Corrects for curvature and perspective.

Damage

Decodes with modules missing.

Summary

Main causes
Glare, curvature, small size, low contrast, damage, lost quiet zone
Print can fix
Quiet zone, module size, contrast, placement
Print cannot fix
Shop lighting, hand-held angle, wear in transport
Read-side fix
A scanner built for difficult codes
Hardware
An ordinary smartphone

Questions about this

Why do standard scanners fail on some DataMatrix codes?

Codes used for regulatory marking are often tiny, printed on foil, glossy film or curved surfaces, partly worn, low in contrast or crowded by a seam. Generic phone scanners expect a flat, sharp, well-lit code. 7Detect DataMatrix Scanner is built for the real conditions: glare, curvature, perspective, damage and small module size.

Which surfaces and conditions does the scanner handle?

Foil and metallised film, glossy laminate, curved surfaces such as cans, bottles and tubes, small codes of a few millimetres, low contrast, partial damage and wear, perspective and motion blur — on the camera of an ordinary smartphone.

Can print quality be improved instead?

Yes, and it should be where possible: enough quiet zone, adequate module size, good contrast, away from seams. But much of the problem comes from the surface and the conditions at the moment of scanning — foil, curvature, glare, a hand-held phone — which no print setting fully removes.

Send us the code that will not scan

Tell us about the product and the market — we will show the technology on a call or in person.

We use analytics cookies to see how the site is used. Nothing is set until you choose, and rejecting changes nothing about how the site works. Read the cookie policy