摘要 |
PROBLEM TO BE SOLVED: To provide a two-dimensional code reading device which rarely fails in reading.SOLUTION: In order to execute disappearance correction with higher correction capability than that of detection correction when the detection correction fails, a gray flag is set to a cell with lower reliability of a binarization result (S12). For example, the gray flag is set to a cell whose luminance is ±α to a threshold th. Then, when detection correction processing (S14) fails (NO in S15), a code word including the gray flag is set to an error position (S16), and the disappearance correction is performed (S17). The disappearance correction has double correction capability than that of the detection correction. Thus, there is a possibility that correction can be performed even when the detection correction fails, the case that reading fails is reduced. |