Patent ID: 8746567
Filing Date: 2014-06-10
Classification: G06K

Abstract:
1. A barcode reader, comprising: a scanner unit which includes a light emitting unit to emit light and a controllable vibration mirror to reflect the light, wherein the scanner unit scans a barcode by irradiating the barcode with the light reflected by the vibration mirror, such that the light swings in a left to right direction, and by receiving reflection light from the barcode to obtain image data; a detection unit which detects a start position of the barcode in the image data by analyzing the image data; a judgment unit which (a) when the detection unit detects the start position of the barcode, judges a portion of the image data obtained by the scanner unit corresponding to each end portion of a swing width of the light in the left to right direction reflected by the vibration mirror as a data unstable range and (b) judges a portion of the image data other than the data unstable range as a data stable range; and a decoding unit which (c) sets a first tolerance of error of the image data against a threshold in the data unstable range judged by the judgment unit, the threshold being used to judge data widths of black bars and white spaces of the barcode, to decode the data unstable range using the threshold and the first tolerance, and (d) sets a second tolerance of error which is higher than the first tolerance of error of the image data against the threshold in the data stable range judged by the judgment unit to decode the data stable range using the threshold and the second tolerance.