Wednesday, November 28, 2007

Image Processing & Bar Codes - Selecting The Right Bar Code With Image Binarization

Documents that are scanned for image processing or storage are often captured at 8 bits per pixel. These are referred to as grayscale images in that 256 levels of gray are able to be represented in the image. The capability to represent shades of gray is required to faithfully capture photographs and graphics but is not normally needed for text. Consequently, scanned images are often binarized. This process involves the selection of a threshold value and then changing all pixel values below that threshold to black and all pixel values above the threshold to white. This compresses the image by only requiring 1 bit per pixel instead of 8 bits per pixel. For example, an 8.5 inch by 11 inch document scanned at 200 samples per inch, has its storage requirement drop from 3.6 megabytes to 450 kilobytes. Binarization also occurs when documents are transmitted by fax as images are created that are represented with 1 bit per pixel as well.

Given a proper threshold, binarized images that contain text can normally still be read by either human eye or OCR algorithms. Indeed, some OCR algorithms begin the OCR process by binarizing the image as the text is typically dark against a lighter background. However, if bar codes are present within the binarized image, they can by altered enough by the binarization process to cause difficulty for a decode algorithm. The image to the left (http://www.omniplanar.com/_upload/CodePics/Code39-GreyscaleWeb.gif) shows part of the start pattern of a Code 39 linear bar code. The top portion shows the image represented as 8 bits per pixel, while the lower portion shows a binarized version using a threshold of 100. Note that the smooth transitions from white to black in the grayscale image have been transformed into ragged edges that have plus or minus one pixel variability. As a result, the width of each bar or space can vary by plus or minus 2 pixels. Given that the information in linear bar codes is contained in the widths of the bars and spaces, decode problems can result depending on the size and type of the original bar code symbol. The remainder of this article will focus on two issues that should be considered to improve the read rate of binarized bar codes: sample density and symbology type.

Sample Density

Sample density is the number of samples per unit area that an image is captured. Typical sample densities used for document processing range from 200 to 300 samples per inch (dots per inch or DPI). Fax transmission can vary from 100 up to 400 DPI. In bar code decoding, a more important parameter to consider is the samples per module, where the module size is the size of the smallest feature of the bar code. This distance is also referred to as the X dimension. This parameter includes both the sample density of the image capture device along with the size of the bar code being scanned. If a bar code decoding software toolkit requires a minimum of 1.6 pixels per module for linear bar codes in a grayscale image. From above, if the width of a bar or space can vary by 2 pixels after binarization, one can see that problems can exist in the short widths at this low sample density. Consequently, it is recommended that a typical value of 4 pixels per module for bar codes that will be binarized. For a document scanned at 200 DPI, this requires a minimum module size in the printed bar code of .020 inchs or 20 mils. Increasing the samples per module beyond 4 is also recommended for images that will go through multiple binarization processes such as documents that will be faxed multiple times.

Symbology Type

The choice of symbology used to encode data should also be considered carefully. Linear (or 1D) bar codes can be broadly classified into two distinct groups: wide/narrow codes and multiple width codes. In a wide/narrow code, each bar or space can only be either narrow or wide. The wide to narrow ratio, which gives the size ratio between the two widths, typically ranges from 2 to 3. Popular symbologies that use only 2 widths include Code 39 and Interleaved 2 of 5. Multiple width codes have more than 2 possible choices for the widths of bars and spaces. Popular symbologies that employ more than two possible widths include UPC and Code 128, both of which allow a bar or space to be either 1, 2, 3, or 4 modules. Given the same samples per module, wide/narrow symbologies typically survive the binarization process with higher read rate performance than their multiple width counterparts. This is simply due to the fact that in the presence of edge variation due to binarization, it is easier to determine if a run is X or 3X wide (where X is the length of a module and an assumed wide to narrow ratio of 3) or if it is 1X, 2X, 3X or 4X as is the case with multiple width symbologies. The table below classifies some popular linear symbologies into the two classes mentioned above.

Wide/Narrow

Codabar
Code 39
Interleaved 2 of 5
Patch Code

Multiple Width

Code 128
Code 93
RSS
UPC

While wide/narrow symbologies are preferred in applications where binarization will occur, they do not normally have as high a data density (data stored per unit width) compared to multiple width symbologies with the same X dimension. This can be an issue where limited space on the document is provided for the bar code symbol.

2D Symbologies

2D (or two-dimensional) matrix symbologies are typically presence/absence codes. They use a regular grid of possible cell positions, and the presence or absence of a cell in a grid location encodes the data. Two-dimensional symbols have much higher data density than 1D codes as information is stored in both dimensions of the symbol. In addition, they normally provide error correction to provide redundancy in case some cell data values can not be determined. When a 2D symbol is binarized with sufficient samples per module (the size of a grid position), they tend to do better than linear codes as the edge information is not as critical: it is the position of the center of the cell that is more important. Decoding software may require a minimum of 2.75 pixels per module in a grayscale image for reliable operation. If additional samples per module beyond 2.75 is provided, performance continues to improve and is a good choice for images that will undergo multiple binarizations. A sample density of 5 pixels or more for 2D matrix symbologies gives good read performance after binarization. Popular 2D Matrix codes include Data Matrix, QR Code, and Aztec Code.

PDF417 is often referred to as a 2D symbology. However, it is not a true matrix code. It is a stacked linear code, consisting of multiple rows of short linear codewords. It allows bars and spaces to have up to 6 different widths and as such it can be adversely affected by binarization at lower samples per module.

Summary

In applications where scanned documents containing bar codes are to be binarized, read rate performance can be improved by using linear symbologies that employ only wide/narrow choices for bars and spaces along with at least 4 or more pixels per module. Two-dimensional matrix codes are a good choice when binarization is used with a minimumof 5 pixels per module, and they provide the added benefit of increasing data density of the bar code symbol.

With over 17 years of experience in the bar code industry, Bob Dunphy has been Principal Engineer at Omniplanar, Inc (http://www.omniplanar.com) since its inception. He has designed numerous CCD camera systems as well as high speed processing platforms.

Labels: , , , ,

Friday, November 2, 2007

Bar Code Scanners - Information for Retail Users

 

Corded scanning Simple scanning in a small shop could use a low cost bar code scanner possibly that requires near contact touch to the product. This would not be the best bar code scanner in the world but would read bar codes effectively and be cheap to buy (Under £50 ex VAT).

Alternatively if you required a bar code scanner that can read a greater distance away from the bar code you could spend slightly more on a mid range bar code scanner that can also scan bar codes at a faster rate, slightly more expensive but still will not break the bank (Under £99 ex VAT).

Cordless scanning For scanning without wires there are two main options - Bluetooth or Wireless LAN (WLAN 802.11b/g). In retail short range cordless scanning can enhance staff performance on the shop floor or help stock takes or checks in warehouses.

Bluetooth works over a short range, the highest distance working up to 100M without interruption from obstructions. Bluetooth bar code scanners tend to be lower cost due to a shorter range typically up to 15M dependent on obstructions although the range can extend up to 100M on more expensive scanners.

Wireless LAN works over a company’s wireless network, the scanners typically utilise 802.11b/g standards. WLAN bar code scanners have a longer range (from 30 - 100M).

Omni Directional Scanning Omni directional bar code scanners are most commonly used in retail applications especially in Epos systems in shops and supermarkets. The bar code scanners enable the cashier to scan the product from multiple angles to decrease time spent scanning and make the process more efficient.

2 dimensional (2D) Scanning 2D bar code scanners are used when a bar code is required to hold more than just a product number. For example to hold customers address details or to store more details about a product (name, weight, type...).

Bar code Verifiers For suppliers to retail businesses bar code verifiers are very important especially for supermarkets. Suppliers can be fined large amounts for printing bar codes that do not provide a good reading when scanned. Through the use of a bar code verifier either on the production line or in testing departments bar codes can be scanned and if necessary production can be stopped to correct the label printing to avoid a fine from the retailer.

Vanessa Raby, AM Labels Ltd, http://www.amlabels.co.uk Barcode Scanners: http://www.amlabels.co.uk/Barcode1.htm

Labels: , , , ,

Tuesday, October 9, 2007

Bar Code Tracking Software

All products are labeled with bar codes today. Even the smallest retail items, like chocolates or pencils, have a unique bar code to identify them accurately. Bar codes have specific symbology that is defined in the height and width of the bars as well as the spacing between them. Each of these bars might represent numeric data, alphanumeric data or character data, depending on the type of symbology being used by the user.

Each bar code has a start bar and an end bar to allow the scanner to read the data precisely. Some bar codes have another bar before the end bar, known as the checksum bar code. After the scanner calculates the sum, it is verified with the value of the checksum bar code for accuracy. This ensures exact calculation with minimal errors.

Bar codes help during data collection, inventory tracking, and other asset tracking. They keep accurate records of all the items scanned and so are a big help while taking care of the inventory.

Any company or manufacturer has fixed assets. These must be kept on record. All manufacturing equipment, tools, and various other assets come under the category of fixed assets. Earlier, keeping track of all these assets was done manually and workers had to put in long hours to have all the details on record.

With the advent of bar codes, even the tracking system has been made easy. All fixed assets can be bar-coded and kept track of using bar-code fixed-assets tracking software. In schools and colleges where students are provided with laptops, these are noted in the database as loaned. This also holds true for companies that provide employees with laptops and other work-related paraphernalia. Even the smallest items are tracked using bar codes. Fixed assets tracking software is a big help in such areas where a company needs to have an idea of where assets are located.

Company-related files, documents and important notes could also be considered fixed assets and noted in the database of their whereabouts. This is especially important in medical and legal fields.

Fixed assets tracking software is essential in all major companies, schools, offices, hospitals and other big places where one person keeping track of all the assets is an impossibility. Bar code tracking software can be of immense help in such areas, and would ease problems related to records.

Bar Code Software provides detailed information on Bar Code Software, Bar Code Scanner Software, Bar Code Printing Software, Free Bar Code Software and more. Bar Code Software is affiliated with Retail POS Software.

Labels: , , , ,

Monday, September 17, 2007

Barcode Scanner - How Does it Work

Barcodes have become a part of our lives. They are on everything from auto parts to your groceries. A barcode is the way things can be traced by a computer. Barcodes and automatic ID systems are the most effective asset a business could have. A barcode is a message that is coded by the length and width of the bars and spaces that are printed in pattern.

They use the binary code and is essentially just bars and spaces representing ones or zeros. Barcodes are read by sweeping a spot of light over the printed barcode symbol. The light is called a barcode scanner and it will ring the item up or display some information about the product, a barcode with start with a white space and then alternative black and white spaces until needed with a bar. The heights of the bars are simply a technique to try to keep the information within the bar code area. The longer the information that is needed to be coded, the longer the barcode will be.

The decoder is the most important component of the barcode scanner and it accepts about 33-200 scans per scanning rate to be able to read error free. An automatic discrimination feature on the scanner means that it will pick out what kind of code that it is scanning. In grocery stores you will find that almost every thing as a UPC code. It will read the UPC code or the universal price code and then ring it into your total. There are other parts of the scanner that is as equally important, but what is the purpose of the Barcode Scanner?

The purpose of a bar code scanner is the fact that it needs to read a hidden message that is coded with the white spaces and black bars and it is vital information. Practically everything will scan into a computer now since out world has been so technologically advanced. Barcodes have also made our world easier to function within.

Because of barcodes we don’t have to wait in line for everything to be typed up, all you do is scan and go. Everyone who is anyone can use a barcode scanner and it is so easy to learn. It doesn’t take a genius to learn how to work the scanner and you don’t need a degree. In fact, most of the people who are employed at business that use scanners are under the age of 25 or with the extent of a high school education. Bar code scanners are very easily to operate and they are very helpful when it comes to large orders or such because they save so much time. Barcode scanners are just an easy way to find out information.

Read more about Barcode Scanners on http://www.barcode-scanner.info

Labels: , , ,

Tuesday, September 11, 2007

Barcode Software Companies

The term barcode software company can be applied to a firm that develops barcode software, distributes software from a third party, or provides services such as custom software development. Barcode software programs are used to create professional barcode labels, including those on photo IDs, warehouse goods, departmental store products, and driving licenses.

Many software companies deal in developing barcode software and selling them to other establishments. They also customize barcode software according to specific requirements. While several companies offer free trials for their products before charging a fee, some companies offer their products for free. Among a few famous companies that develop barcode software are Azalea Software Inc., MEC Software, Seagull Scientific Inc., Teklynx, and Worth Data.

Azalea Software provides barcode fonts and barcode printing software independent of operating systems. Their barcode fonts create Data Matrix, PDF 417, and many other barcode symbols using Crystal Reports, Excel, Access, Visual Basic, C/C++, and other applications. These programs can be uploaded on a computer like any other software program.

MEC Software develops software barcode fonts, data collection software, and inventory software. MEC barcode programs provide barcode printing capability for any laser printer, regardless of make, model, or operating system. Data collection software features simple, effective, and flexible tools for capturing barcode data.

Seagull Scientific is noted around the world for barcode label design software. Their products have powerful features for compliance labels and integration with enterprise software. Seagull allows you to download its free demo software from the website.

Teklynx is one of the world's leading developers of AIDC software. Each software package provides a complete set of solutions designed to meet the product identification and labeling needs of customers. The programs are grouped into three major categories: label design, data collection, and ERP/host connectivity.

Worth Data is the developer of barcode label printing software and the publisher of barcode fonts. Its products are reliable, easy to use, competitively priced, immediately available, and come with a money-back guarantee.

Bar Code Software provides detailed information on Bar Code Software, Bar Code Scanner Software, Bar Code Printing Software, Free Bar Code Software and more. Bar Code Software is affiliated with Retail POS Software.

Labels: , , , , , , , , , ,