The ISO/IEC 18004 QR Code Standard & Matrix Anatomy
- • Quick Response (QR) codes are two-dimensional matrix symbologies standardized under ISO/IEC 18004. A QR matrix consists of square modules arranged in a grid with key structural components:
- • Finder Patterns: Three distinctive concentric square eyes positioned at the top-left, top-right, and bottom-left corners for 360° orientation detection.
- • Timing Patterns: Alternating dark and light module rows and columns connecting the finder patterns to establish the coordinate grid.
- • Alignment Patterns: Smaller internal square targets found in Version 2 and larger codes to correct physical curvature distortion.
- • Quiet Zone: A mandatory 4-module blank border surrounding the matrix to ensure camera optical isolation.
<!-- Conceptual Anatomy of a QR Code Matrix -->
┌───────────┐ ┌───────────┐
│ █ █ █ █ █ │ ░ ░ ░ ░ │ █ █ █ █ █ │ <- Finder Patterns (Orientation Eyes)
│ █ ░ ░ ░ █ │ ░ ░ ░ ░ │ █ ░ ░ ░ █ │
│ █ ░ █ ░ █ │ █ ░ █ ░ │ █ ░ █ ░ █ │ <- Timing Patterns (Grid coordinates)
│ █ ░ ░ ░ █ │ ░ ░ ░ ░ │ █ ░ ░ ░ █ │
│ █ █ █ █ █ │ ░ ░ ░ ░ │ █ █ █ █ █ │
└───────────┘ └───────────┘
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
┌───────────┐ ┌───────────┐
│ █ █ █ █ █ │ ░ ░ ░ ░ │ Data │ <- Encoded Payload + Reed-Solomon ECC
│ █ ░ ░ ░ █ │ ░ ░ ░ ░ │ Modules │
│ █ █ █ █ █ │ ░ ░ ░ ░ │ │
└───────────┘ └───────────┘