A barcode is a set of lines or patterns with different sizes and widths that determine the identity of a particular object when scanned by a barcode reader, states ComputerHope.com. Barcodes Inc. defines a barcode as coded information represented in form of bars that only machines can read and interpret.
There are two main types of barcodes namely: the 1-Dimensional and 2-Dimensional versions. Most 1-Dimensional barcodes can record only numbers and keyboard characters. However, 2-Dimensional bar codes arrange information vertically and horizontally to maximize storage space. A 1-Dimensional scanner requires a typical barcode reader to read and interpret the codes, while the 2-Dimensional version requires an image scanner.