SoftwarePractice.org: Home | Courseware | Wiki | Archive

Code 39 Testing

From SoftwarePractice.org

There were several tests which needed to be performed on the inputted barcode to determine if it was a Code 39 barcode. These tests were implemented as separate functions in our Matlab code, and are explained below.

White Space Test

The Code 39 standard specifes that each character in a barcode should be separated by a narrow space


Test 3 of 9

Each Code 39 barcode character is composed of 6 narrow and 3 wide elements, and the first and last elements are always ones


Star test

Every Code 39 barcode starts and ends with a star character


To return to main page of Team B click here Bar code reading from image

Personal tools