Unlike ldquolinear imagersrdquo or scanners digital or area imagers can read and process data from 1D and 2D bar codes A diffuse light source boosts imagecapture reliability

Comparing 1D barcode readers to 2D barcode imagers

April 9, 2013
Barcode imagers (also known as digital or area imagers) read both 1D and 2D barcodes using sensors that have rows of cells. They’re proliferating with 2D barcodes that embed more information than traditional 1D barcodes

Bar codes, those ubiquitous visual patterns that communicate data to machines, have proliferated. Traditional 1D bar codes (with printed bars and spaces) are giving way to 2D bar codes that also include dots, hexagons, and even colors to encode more data.

Bar-code scanners read 1D bar codes. Some emit lens-focused laser beams that are reflected off the bar code and back to a photodetector that converts the analog signal into digital data for processing to extract encoded information. Other bar-code scanners use a complementary-metal–oxide semiconductor (CMOS) or charge-coupled device (CCD) to detect a bar code’s pattern using ambient or device-effused light.

In contrast, bar-code imagers (also known as digital or area imagers) read both 1D and 2D bar codes using CMOS or CCD sensors. However, unlike those in scanners, the sensors in imagers include many rows of sensor cells to read 2D bar codes.

When a bar code comes into the imager’s field of view, a (typically photoelectric) trigger signals the imager that a code is in the camera’s range. Once the code is visible to the camera, a picture is taken with a CMOS or CCD imager. Software attempts to identify the bar code’s orientation within the captured camera image. Dark bar codes on light or plain backgrounds are quickly processed; bar-code captures that crop out the background also do well. The image must be decoded in a predetermined amount of time, or the imager gives a read failure.

Some CMOS camera types have 752 × 480-pixel arrays. Each pixel registers one of 256 grayscale values, and the sum result is a grayscale image used by a processor to extract encoded data.

2D bar-code types including Aztec, MaxiCode, PDF417, and QR code (shown here) are proliferating. Notice how the QR template allows for physical expansion to carry more data if needed in the future.

Of the roughly 50 2D bar-code types, QR is one of the most common. This ISO-standardized code pattern incorporates squares on three corners to help camera software identify and orientate images. A series of alternating white and dark squares connect the corners to further aid cameras in locating all columns and rows. A small square in the lower-right corner is used to adjust the camera image for skew and accommodate a misaligned camera angle. In the future, as QR codes get physically bigger to contain more data, more alignment squares will be located at regular intervals throughout the image.

Pepperl+Fuchs provided information for this column.

© 2013 Penton Media, Inc.

About the Author

Elisabeth Eitel

Elisabeth Eitel was a Senior Editor at Machine Design magazine until 2014. She has a B.S. in Mechanical Engineering from Fenn College at Cleveland State University.

Sponsored Recommendations

Drive systems for urban air mobility

March 18, 2025
The shift of some of our transport traffic from the road to the air through urban air mobility is one of the most exciting future fields in the aerospace industry.

Blazing the trail for flying robots

March 18, 2025
Eight Bachelor students built a flying manipulator that can hover in any orientation and grasp objects. The drone is even more maneuverable than a quadrocopter and was designed...

Reachy 2: The Open-Source Humanoid Robot Redefining Human-Machine Interaction

March 18, 2025
Reachy 2 was designed to adapt to a wide variety of uses thanks to its modular architecture.

maxon IDX: The plug-and-play solution

March 18, 2025
IDX drives combine power with small space requirements - a brushless BLDC motor combined with an EPOS4 positioning controller and a gearhead inside a high-quality industrial housing...

Voice your opinion!

To join the conversation, and become an exclusive member of Machine Design, create an account today!