摘要 |
A method, apparatus, and system for decoding and recognizing barcode information by using a general camera such as one in a mobile device is disclosed. The invention uses a set of compact point spread functions (PSF) with a squared-shape distribution to restore blurred barcode image for quick and efficient decoding and recognition. Image pre-processing methods are applied to reduce noise and normalize pixel grayscale. On each normalized image, the invention checks if the image contains barcode lines. If there is a barcode, the invention tries to identify the beginning and ending positions of the barcode. The invention selectively decodes multiple scan lines across the barcode and match against predefined barcode models. The best matched barcodes are saved in the history buffer.
|