Scanning QR Codes on Curved, Wrinkled or Shiny Surfaces
How bottles, cans, creased paper and metallic packaging distort QR codes, and how to scan them anyway.
Real-world codes are not always flat. Bottles, bags and tins can bend the pattern out of shape.
What goes wrong
- Curves stretch or squeeze the modules near the edge.
- Wrinkles create shadows and break the pattern.
- Shiny foil reflects light into the camera.
- Transparent wrap adds glare and a second reflection.
What helps
Curved surfaces
- Face the code directly, so the centre is square to the camera.
- Step back a little to reduce the effect of the curve.
- Rotate the item so the code sits at the flattest part.
Wrinkled paper or bags
- Smooth the surface with your hand.
- Flatten the item against a table if possible.
- Light the code evenly to reduce shadow.
Shiny materials
- Tilt to move reflections away.
- Block direct light with your body or hand.
- Try a different position relative to the window or lamp.
Why some codes are more robust
A code with a higher error-correction level can survive some distortion. A larger code also copes better, because each module covers more of the camera's pixels.
If you are designing packaging
- Put the code on the flattest part of the pack.
- Use a matt finish over the code area.
- Keep the code away from seams and folds.
- Choose high error correction.
- Test on the real, filled pack.
Tips
- Flatten, face, light.
- Move around the glare.
- Test real samples when designing.
QR Code Scanner opens straight to the camera, so you can start moving around a tricky code right away.
QR Code Scanner
Fast QR & barcode scanner with a built-in QR code generator
More about QR Code Scanner
Check the Link Before You Open It: A Quick Routine
A ten-second routine for reading the address in a scanned QR code and spotting the signs of a suspicious link.
Read article →QR Codes in the Classroom: Ideas for Teachers
Simple ways teachers use QR codes: quizzes, treasure hunts, reading extras and quick links to resources.
Read article →QR Scanners and Camera Permissions: What to Allow
Why a scanner app needs camera access, which other permissions it does not need, and how to review them.
Read article →Shortened Links in QR Codes and What They Hide
Why people shorten links for QR codes, how it changes the scanning experience, and how to stay careful with them.
Read article →