摘要 |
PROBLEM TO BE SOLVED: To minimize the setting frequency of parameter by recognizing automatically the direction and position of every bar at the side of a medium processor and then analyzing the number of pages. SOLUTION: A black/white decision part 21 performs the black/white decision of every pixel against the digital value data. A storage part 35 stores the position of every bar of a horizontal bar code, a storage part 36 stores the black/ white decision results, and a storage part 37 stores the digital value data equivalent to a prescribed number of lines based on the lines that are decided black by the part 21. Then a control part 16 stores the position of every bar of the horizontal bar code in the part 35 and also decides the direction of the bar based on the data stored in the part 37. When the vertical direction of the bar is decided, the number of pages is analyzed based on the data of the part 37. When the horizontal direction of the bar is decided, the data stored in the part 36 are compared with the data stored in the part 35 up to the final line where a bar should exist. Then the number of pages is analyzed. |