logoalt Hacker News

mariuolo • today at 10:52 AM • 2 replies • view on HN

QR codes are a bit more fragile than barcodes though. A scratch or a stain can make them unreadable.

Are there studies on how that might affect logistics?


Replies

CTDOCodebases • today at 11:54 AM

Not at all. I worked apart time job delivering parcels that were scanned with a specialized bar code scanner. Most of the parcels had dual barcode/QR codes for the tracking number. You would be surprised how much damage could be done to the QR codes before they were unreadable. Even if the QR code had small folds over itself the codes would still read. The barcodes were unreadable with the slightest amount of damage or ink bleed.

benashford • today at 11:02 AM

Isn't it the other way around? QR codes have built-in error correction whereas barcodes typically don't (beyond a single check-digit, which is more error detection rather than correction, and even that depends on the information being encoded) so can sustain a surprisingly large amount of damage and still be readable.

Indeed, I often see QR codes which have been deliberately damaged for the visual impact (e.g. chunks missing to make a pleasing shape, or place an arbitrary logo in the centre). They still work due to the error correction but now there's no redundancy left and one additional piece of damage might literally make it unreadable.