This example decodes the PostNET Barcode that contains the ZIP Code and other information about the destination address for a letter or package.
The website "The PostNET Bar Decoder" was used as a reference when creating the algorithm used. The code is tested and works with the images provided below (from the site indicated).
As a note this program only reads the first 6 digits of a PostNET Barcode (5 digits of a ZIP Code plus a check digit). Barcodes can come in different lengths to include 4 digit extensions and address information. Changes can be made to this code to accomodate different lengths.
