摘要 |
PROBLEM TO BE SOLVED: To prevent an image scanner from reading double bar-codes of a plurality of commodities as a double bar-code of one commodity.SOLUTION: A bar-code detection unit 3 detects a bar-code from image data obtained by an image scanner 1. A bar-code validity determination unit 4 determines whether the bar-code is a double bar-code defined in advance. When the bar-code is a double bar-code for books, a coordinate acquisition unit 5 acquires coordinates of a bar-code start point/end point. A vector calculation unit 6 calculates a vector of the double bar-code. A vector coincidence determination unit 7 determines coincidence of a length and an inclination angle of the vector. A vector start-point distance determination unit 8 determines whether the start point of the vector is significantly separate in a vector direction or a direction orthogonal to the vector direction, and prohibits reading the double bar-code when there is a difference in length and angle of the vector, and separation in the vector direction or a direction orthogonal to the vector direction. |