Barcode reader

Last updated

A barcode reader or barcode scanner is an optical scanner that can read printed barcodes and send the data they contain to computer. [1] Like a flatbed scanner, it consists of a light source, a lens, and a light sensor for translating optical impulses into electrical signals. Additionally, nearly all barcode readers contain decoder circuitry that can analyse the barcode's image data provided by the sensor and send the barcode's content to the scanner's output port.

Contents

Types of barcode scanners

Technology

A handheld barcode scanner Barcode-scanner.jpg
A handheld barcode scanner

Barcode readers can be differentiated by technologies as follows:

Pen-type readers

Pen-type readers consist of a light source and photodiode that are placed next to each other at the tip of a pen. To read a barcode, the person holding the pen must move the tip of it across the bars at a relatively uniform speed. The photodiode measures the intensity of the light reflected back from the light source as the tip crosses each bar and space in the printed code. The photodiode generates a waveform that is used to measure the widths of the bars and spaces in the barcode. Dark bars in the barcode absorb light and white spaces reflect light so that the voltage waveform generated by the photodiode is a representation of the bar and space pattern in the barcode. This waveform is decoded by the scanner in a manner similar to the way Morse code dots and dashes are decoded.

Laser scanners

Laser barcode scanners utilize a semiconductor laser diode to produce a laser beam. This beam is directed by a deflection mirror onto a polygon mirror wheel. The design may include a focusing device, enabling the scanner to adjust the beam to scan at various distances. [2]

The scanner deflects the laser beam using a rotating mirror wheel. This wheel deflects the beam line by line over the barcode at frequencies between 200 Hz and 1200 Hz in most scanners. The deflected beam exits the scanner spread at an opening angle, which is dependent on scanner design. The deflection allows it to traverse the barcode in a reading plane, effectively turning it into a "reading beam." To accommodate stationary items, laser scanners incorporate oscillating mirrors that provide additional deflection perpendicular to the main scanning line. These mirrors function at frequencies that can vary from 0.1 Hz to about 5 Hz, ensuring that barcodes can be read at different orientations. [2]

Photodetector receives light through the optical system consisting of the mirror wheel and an optical filter. The reflected light, rapidly varying in brightness with a data pattern, is then converted into an electrical signal and is subsequently amplified to a usable level for digital processing. [2]

CCD readers (also known as LED scanners)

CCD Barcode Scanner CCD-Barcode-Scanner.jpg
CCD Barcode Scanner

Charge-coupled device (CCD) readers use an array of hundreds of tiny light sensors lined up in a row in the head of the reader. Each sensor measures the intensity of the light immediately in front of it. Each individual light sensor in the CCD reader is extremely small, and because there are hundreds of sensors lined up in a row, a voltage pattern identical to the pattern in a barcode is generated in the reader by sequentially measuring the voltages across each sensor in the row. The important difference between a CCD reader and a pen or laser scanner is that the CCD reader is measuring emitted ambient light from the barcode, whereas pen or laser scanners are measuring reflected light of a specific frequency originating from the scanner itself. LED scanners can also be made using CMOS sensors, and are replacing earlier Laser-based readers. [3] [ better source needed ]

Camera-based readers

Two-dimensional imaging scanners are a newer type of barcode reader. They use a camera and image processing techniques to decode the barcode.

Video camera readers use small video cameras with the same CCD technology as in a CCD barcode reader except that instead of having a single row of sensors, a video camera has hundreds of rows of sensors arranged in a two dimensional array so that they can generate an image.

Large field-of-view readers use high resolution industrial cameras to capture multiple bar codes simultaneously. All the bar codes appearing in the photo are decoded instantly (ImageID patents and code creation tools) or by use of plugins (e.g. the Barcodepedia used a flash application and some web cam for querying a database), have been realized options for resolving the given tasks.

Omnidirectional barcode scanners

Omnidirectional scanning uses "series of straight or curved scanning lines of varying directions in the form of a starburst, a Lissajous curve, or other multiangle arrangement are projected at the symbol and one or more of them will be able to cross all of the symbol's bars and spaces, no matter what the orientation. [4] Almost all of them use a laser. Unlike the simpler single-line laser scanners, they produce a pattern of beams in varying orientations allowing them to read barcodes presented to it at different angles. Most of them use a single rotating polygonal mirror and an arrangement of several fixed mirrors to generate their complex scan patterns.

Omnidirectional scanners are most familiar through the horizontal scanners in supermarkets, where packages are slid over a glass or sapphire window. There are a range of different omnidirectional units available which can be used for differing scanning applications, ranging from retail type applications with the barcodes read only a few centimetres away from the scanner to industrial conveyor scanning where the unit can be a couple of metres away or more from the code. Omnidirectional scanners are also better at reading poorly printed, wrinkled, or even torn barcodes.

Cell phone cameras

While cell phone cameras without auto-focus are not ideal for reading some common barcode formats, there are 2D barcodes which are optimized for cell phones, as well as QR Codes (Quick Response) codes and Data Matrix codes which can be read quickly and accurately with or without auto-focus. [5]

Cell phone cameras open up a number of applications for consumers. For example:

  • Movies: DVD/VHS movie catalogs.
  • Music: CD catalogs – playing an MP3 when scanned.
  • Book catalogs and device.
  • Groceries, nutrition information, making shopping lists when the last of an item is used, etc.
  • Personal Property inventory (for insurance and other purposes) code scanned into personal finance software when entering. Later, scanned receipt images can then be automatically associated with the appropriate entries. Later, the barcodes can be used to rapidly weed out paper copies not required to be retained for tax or asset inventory purposes.
  • If retailers put barcodes on receipts that allowed downloading an electronic copy or encoded the entire receipt in a 2D barcode, consumers could easily import data into personal finance, property inventory, and grocery management software. Receipts scanned on a scanner could be automatically identified and associated with the appropriate entries in finance and property inventory software.
  • Consumer tracking from the retailer perspective (for example, loyalty card programs that track consumers purchases at the point of sale by having them scan a QR code).

A number of enterprise applications using cell phones are appearing:

  • Access control (for example, ticket validation at venues), inventory reporting (for example, tracking deliveries), asset tracking (for example, anti-counterfeiting). [6]
  • Recent versions of the Android, iOS, and Windows Phone mobile phone operating systems feature QR or barcode scanners built in, usually accessible from their respective camera application.

Housing

A large multifunction barcode scanner being used to monitor the transportation of packages of radioactive pharmaceuticals Package tracking barcode scanner 3.jpg
A large multifunction barcode scanner being used to monitor the transportation of packages of radioactive pharmaceuticals

Barcode readers can be distinguished based on housing design as follows:

Handheld scanner
with a handle and typically a trigger button for switching on the light like this are used in factory and farm automation for quality management and shipping.
PDA scanner (or Auto-ID PDA)
a PDA with a built-in barcode reader or attached barcode scanner.
Automatic reader
a back office equipment to read barcoded documents at high speed (50,000/hour).
Cordless scanner (or Wireless scanner)
a cordless barcode scanner is operated by a battery fit inside it and is not connected to the electricity mains and transfer data to the connected device like PC.

Barcode library

Currently any camera equipped device or device which has document scanner can be used as Barcode reader with special software libraries, Barcode libraries. This allows them to add barcode features to desktop, web, mobile or embedded applications. In this way, combination of barcode technology and barcode library allows to implement with low cost any automatic document processing OMR, package tracking application or even augmented reality application.

Methods of connection

Serial interfaces

Early barcode scanners, of all formats, almost universally used the then-common RS-232 serial interface. This was an electrically simple means of connection and the software to access it is also relatively simple, although needing to be written for specific computers and their serial ports.

PS/2 keyboard and mouse ports Ps-2-ports.jpg
PS/2 keyboard and mouse ports

As the PC with its various standard interfaces evolved, barcode readers began to use keyboard serial interfaces. The early "keyboard wedge" hardware plugged in between the PS/2 port and the keyboard, with characters from the barcode scanner appearing exactly as if they had been typed at the keyboard. Today the term is used more broadly for any device which can be plugged in and contribute to the stream of data coming "from the keyboard". Keyboard wedges plugging in via the USB interface are readily available. In many cases, a choice of USB interface types (HID, CDC) are provided.

Proprietary interfaces

There are a few other less common interfaces. These were used in large EPOS systems with dedicated hardware, rather than attaching to existing commodity computers. In some of these interfaces, the scanning device returned analog signal proportional to the intensities seen while scanning the barcode. This was then decoded by the host device. In some cases the scanning device would convert the symbology of the barcode to one that could be recognized by the host device, such as Code 39.

Wireless networking

Some modern handheld barcode readers can be operated in wireless networks according to IEEE 802.11g (WLAN) or IEEE 802.15.1 (Bluetooth). Some barcode readers also support radio frequencies viz. 433 MHz or 910 MHz. Readers without external power sources require their batteries be recharged occasionally, which may make them unsuitable for some uses.

Resolution

The scanner resolution is measured by the size of the dot of light emitted by the reader. If this dot of light is wider than any bar or space in the bar code, then it will overlap two elements (two spaces or two bars) and it may produce wrong output. On the other hand, if a too small dot of light is used, then it can misinterpret any spot on the bar code making the final output wrong.

The most commonly used dimension is 13  mil (0.013  in or 0.33  mm), although some scanners can read codes with dimensions as small as 3 mil (0.003  in or 0.075  mm). Smaller bar codes must be printed at high resolution to be read accurately.

See also

Related Research Articles

<span class="mw-page-title-main">Charge-coupled device</span> Device for the movement of electrical charge

A charge-coupled device (CCD) is an integrated circuit containing an array of linked, or coupled, capacitors. Under the control of an external circuit, each capacitor can transfer its electric charge to a neighboring capacitor. CCD sensors are a major technology used in digital imaging.

<span class="mw-page-title-main">Photodiode</span> Converts light into current

A photodiode is a semiconductor diode sensitive to photon radiation, such as visible light, infrared or ultraviolet radiation, X-rays and gamma rays. It produces an electrical current when it absorbs photons. This can be used for detection and measurement applications, or for the generation of electrical power in solar cells. Photodiodes are used in a wide range of applications throughout the electromagnetic spectrum from visible light photocells to gamma ray spectrometers.

<span class="mw-page-title-main">Barcode</span> Optical machine-readable representation of data

A barcode or bar code is a method of representing data in a visual, machine-readable form. Initially, barcodes represented data by varying the widths, spacings and sizes of parallel lines. These barcodes, now commonly referred to as linear or one-dimensional (1D), can be scanned by special optical scanners, called barcode readers, of which there are several types.

<span class="mw-page-title-main">Image scanner</span> Device that optically scans images, printed text

An image scanner is a device that optically scans images, printed text, handwriting, or an object and converts it to a digital image. The most common type of scanner used in offices and in the home is the flatbed scanner, where the document is placed on a glass window for scanning. A sheetfed scanner, which moves the page across an image sensor using a series of rollers, may be used to scan one document at a time or multiple, as in an automatic document feeder. A handheld scanner is a portable version of an image scanner that can be used on any flat surface. Scans are usually downloaded to the computer that the scanner is connected to, although some scanners are able to store scans on standalone flash media.

<span class="mw-page-title-main">PDF417</span> Type of barcode

PDF417 is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. "PDF" stands for Portable Data File. The "417" signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. The PDF417 symbology was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991. It is defined in ISO 15438.

<span class="mw-page-title-main">QR code</span> Type of matrix barcode

A QR code is a type of two-dimensional matrix barcode, invented in 1994, by Japanese company Denso Wave for labelling automobile parts. It features black squares on a white background with fiducial markers, readable by imaging devices like cameras, and processed using Reed–Solomon error correction until the image can be appropriately interpreted. The required data is then extracted from patterns that are present in both the horizontal and the vertical components of the QR image.

<span class="mw-page-title-main">Contact image sensor</span> Type of image sensor

Contact image sensors (CIS) are image sensors used in flatbed scanners almost in direct contact with the object to be scanned. Charge-coupled devices (CCDs), the other kind of sensor often used in scanners, use mirrors to bounce light to a stationary sensor. Scanners using CISs are much smaller than ones that use CCDs, use typically a tenth as much power, and are particularly suitable for low power and portable applications, often powered over USB.

<span class="mw-page-title-main">Handheld projector</span> Image projector in a handheld device

A handheld projector is an image projector in a handheld device. It was developed as a computer display device for compact portable devices such as mobile phones, personal digital assistants, and digital cameras, which have sufficient storage capacity to handle presentation materials but are too small to accommodate a display screen that an audience can see easily. Handheld projectors involve miniaturized hardware, and software that can project digital images onto a nearby viewing surface.

<span class="mw-page-title-main">Photodetector</span> Sensors of light or other electromagnetic energy

Photodetectors, also called photosensors, are sensors of light or other electromagnetic radiation. There are a wide variety of photodetectors which may be classified by mechanism of detection, such as photoelectric or photochemical effects, or by various performance metrics, such as spectral response. Semiconductor-based photodetectors typically use a p–n junction that converts photons into charge. The absorbed photons make electron–hole pairs in the depletion region. Photodiodes and photo transistors are a few examples of photo detectors. Solar cells convert some of the light energy absorbed into electrical energy.

<span class="mw-page-title-main">Data Matrix</span> Two-dimensional matrix barcode

A Data Matrix is a two-dimensional code consisting of black and white "cells" or dots arranged in either a square or rectangular pattern, also known as a matrix. The information to be encoded can be text or numeric data. Usual data size is from a few bytes up to 1556 bytes. The length of the encoded data depends on the number of cells in the matrix. Error correction codes are often used to increase reliability: even if one or more cells are damaged so it is unreadable, the message can still be read. A Data Matrix symbol can store up to 2,335 alphanumeric characters.

<span class="mw-page-title-main">Image sensor</span> Device that converts images into electronic signals

An image sensor or imager is a sensor that detects and conveys information used to form an image. It does so by converting the variable attenuation of light waves into signals, small bursts of current that convey the information. The waves can be light or other electromagnetic radiation. Image sensors are used in electronic imaging devices of both analog and digital types, which include digital cameras, camera modules, camera phones, optical mouse devices, medical imaging equipment, night vision equipment such as thermal imaging devices, radar, sonar, and others. As technology changes, electronic and digital imaging tends to replace chemical and analog imaging.

Laser scanning is the controlled deflection of laser beams, visible or invisible. Scanned laser beams are used in some 3-D printers, in rapid prototyping, in machines for material processing, in laser engraving machines, in ophthalmological laser systems for the treatment of presbyopia, in confocal microscopy, in laser printers, in laser shows, in Laser TV, and in barcode scanners. Applications specific to mapping and 3D object reconstruction are known as 3D laser scanner.

<span class="mw-page-title-main">Active-pixel sensor</span> Image sensor, consisting of an integrated circuit

An active-pixel sensor (APS) is an image sensor, which was invented by Peter J.W. Noble in 1968, where each pixel sensor unit cell has a photodetector and one or more active transistors. In a metal–oxide–semiconductor (MOS) active-pixel sensor, MOS field-effect transistors (MOSFETs) are used as amplifiers. There are different types of APS, including the early NMOS APS and the now much more common complementary MOS (CMOS) APS, also known as the CMOS sensor. CMOS sensors are used in digital camera technologies such as cell phone cameras, web cameras, most modern digital pocket cameras, most digital single-lens reflex cameras (DSLRs), mirrorless interchangeable-lens cameras (MILCs), and lensless imaging for, e.g., blood cells.

<span class="mw-page-title-main">High Capacity Color Barcode</span> Type of matrix barcode

High Capacity Color Barcode (HCCB) is a technology developed by Microsoft for encoding data in a 2D "barcode" using clusters of colored triangles instead of the square pixels conventionally associated with 2D barcodes or QR codes. Data density is increased by using a palette of 4 or 8 colors for the triangles, although HCCB also permits the use of black and white when necessary. It has been licensed by the ISAN International Agency for use in its International Standard Audiovisual Number standard, and serves as the basis for the Microsoft Tag mobile tagging application.

Range imaging is the name for a collection of techniques that are used to produce a 2D image showing the distance to points in a scene from a specific point, normally associated with some type of sensor device.

Mobile tagging is the process of providing data read from tags for display on mobile devices, commonly encoded in a two-dimensional barcode, using the camera of a camera phone as the reader device. The contents of the tag code is usually a URL for information addressed and accessible through Internet.

<span class="mw-page-title-main">Input device</span> Device that provides data and signals to a computer

In computing, an input device is a piece of equipment used to provide data and control signals to an information processing system, such as a computer or information appliance. Examples of input devices include keyboards, computer mice, scanners, cameras, joysticks, and microphones.

<span class="mw-page-title-main">Barcode Scanner (application)</span>

The application Barcode Scanner is an Android app, from the open-source project ZXing, that allows an Android device with imaging hardware to scan barcodes or 2D barcodes and retrieve the data encoded. Information encoded often includes web addresses, geographical coordinates, and small pieces of text, in addition to commercial product codes. This Android-based system has similar functionality to a hardware barcode reader.

<span class="mw-page-title-main">Screen–smart device interaction</span>

Screen-Smart Device Interaction (SSI) is fairly new technology developed as a sub-branch of Digital Signage.

Barcode library or Barcode SDK is a software library that can be used to add barcode features to desktop, web, mobile or embedded applications. Barcode library presents sets of subroutines or objects which allow to create barcode images and put them on surfaces or recognize machine-encoded text / data from scanned or captured by camera images with embedded barcodes. The library can support two modes: generation and recognition mode, some libraries support barcode reading and writing in the same way, but some libraries support only one mode.

References

  1. "Barcode | Definition, Examples, & Facts | Britannica". www.britannica.com. 2024-03-08. Retrieved 2024-05-06.
  2. 1 2 3 Sensors in science and technology: functionality and application areas. Wiesbaden, Germany [Heidelberg]: Springer. 2022. p. 340. ISBN   9783658349202.
  3. "Considerations when introducing LED illumination in to the area where barcodes are being scanned?". support.honeywellaidc.com. September 25, 2019. Archived from the original on January 11, 2020. Retrieved January 4, 2020.
  4. Roger C. Palmer. The Bar Code Book.
  5. Alapetite, A (2010). "Dynamic 2D-barcodes for multi-device web session migration including mobile phones" (PDF). Personal and Ubiquitous Computing. 14 (1): 45–52. doi:10.1007/s00779-009-0228-5. S2CID   10202670.
  6. Barcode reading apps for enterprise, codeREADr.com, 2010.