1. An apparatus for recognizing a barcode, comprising: an extraction unit for selecting and interpolating X-axis data at an arbitrary Y-axis of the barcode; a restoration unit for detecting peaks of black and white modules of the barcode and restoring the barcode; and a decoding unit for estimating widths of the black and white modules, extracting binary data and decoding the binary data.