Barcode module width and scan reliability
No comments yet. Be the first to comment!
Please login to comment on this thread.
Thread Info
Thread Author
MI
mikitaboy1
Member since Aug 2025
18
Posts
7
Threads
78
Karma
Secure Payment Methods
Learn about the safest payment methods for online transactions. Bitcoin, gift cards, and more.
Learn More
VVL Vendors
Related Discussions
Complete Guide to ID Security Features - What to Look For
0 replies
State-Specific Technical Requirements - Design Analysis
26 replies
BCS vs Intellicheck Scanner Comparison - Which Catches Fakes in 2025?
0 replies
Barcode Scanning Issues - Troubleshooting Guide
0 replies
Magnetic Stripe Problems and Solutions
0 replies
Secure Communication Guide - Staying Safe Online
0 replies
Forum Moderators
🛡️
AdminFIDV
Administrator
⭐
Sterlingwalkeri
Moderator
⭐
Butter
Moderator
⭐
supermod
Moderator
Community Stats
Total Members:
720
Online Now:
0
Total Threads:
1,848
Total Posts:
6,814
Community Guidelines
New to our community? Read our guidelines for safe and respectful interactions.
Learn More
After a card failed to scan on two scanner apps but worked on a third, I looked into what determines barcode scan reliability. The answer is more technical than I expected.
What module width is
A PDF417 barcode is constructed from narrow and wide bars and spaces. The narrowest element is called the X-dimension or module width. The ratio between narrow and wide elements encodes the data. If the module width is too small, scanner cameras cannot resolve the individual elements clearly enough to decode them — the image of the barcode is effectively below the resolution limit of the camera.
What too-small module width looks like
Under phone camera zoom, a barcode with insufficient module width appears as a solid dark rectangle with barely visible internal pattern. A barcode with adequate module width shows clearly distinguishable vertical elements when zoomed in. If your barcode looks like a grey-black rectangle with faint lines rather than clear bar-space alternation, it is likely printed below the minimum X-dimension for reliable scanning.
Why some apps work and others don't
Different scanner apps use different decode algorithms with different tolerance for low-contrast or narrow-module barcodes. High-tolerance apps (like Cognex) can decode barcodes that simpler apps reject. But if a barcode fails on high-tolerance apps, it will fail everywhere. Venue scanners typically use mid-range tolerance algorithms — a barcode that only works on the most forgiving app is not reliable enough for venue use.
If your card has a borderline barcode, the solution is a replacement from the vendor with better print settings. Barcodes cannot be fixed after printing.
Module width calibration requires the printer to be set correctly for the barcode standard in use — PDF417 on IDs uses specific density settings that determine scan reliability across different scanner hardware. Cards where the barcode passes on one scanner app but fails on another typically have module widths at the edge of acceptable tolerance. A replacement card with correctly calibrated barcode dimensions will scan consistently rather than intermittently.