The illustrated OCR includes a CPU 1 for controlling all the elements of the OCR, a ROM 2 which stores a set of programs to be executed by the CPU 1, a RAM 3 which stores a set of input data representing characters, patterns or other images and a set of feature data associated therewith, an I/O control section 4 to which is connected an image scanner 5 for use in inputting image information such a