摘要 |
<P>PROBLEM TO BE SOLVED: To accurately decode information codes by detecting an error in which a region to be recognized as a margin is falsely recognized as a black pattern, and restoring the error. <P>SOLUTION: A bar-code reader comprises a light receiving sensor for receiving reflected light from a bar-code and outputting a light receiving signal corresponding to the intensity of reflected light for every pattern of the bar-code, and is configured to compare the signal waveform of the light receiving signal output from the light receiving sensor, with a threshold and to perform binarization of dividing the signal waveform into white regions and black regions based on the comparison. When an error of including the black region in a region to be recognized as a margin (a margin region) is detected in data (array data) in which the white regions and black regions divided by binarization processing are arrayed, the array data is regenerated to restore the margin region, and the regenerated array data is decoded. <P>COPYRIGHT: (C)2009,JPO&INPIT |