I don’t think they actually are, the computers are likely doing all kinds of real time warp correction. Bars only come in a discrete number of sizes, so I’d think even a 1D array could estimate distortion and angles.
Many barcodes scanners are just cameras and those have all sorts of crazy computer vision business happening.
Latest Answers