Barcode scanner is a hand-held or stationary input device used to capture and read information contained in a bar code. A barcode scanner consists of a scanner, a decoder (either built-in or external) and a cable used to connect the reader with a computer.