Apparatus for recognizing machine generated or handprinted text
Abstract
A computer system with an image reader and nerual network is provided for determining whether an image of text has been generated by a machine or by hand. This serves the useful purpose of allowing one to use speciallized recognition techiques that are more suited to one form of printing, thus achieving a higher recognition accuracy than by using a single recognition technique for both types of printing. The method is based on the premise that the spatial spectra for an image of machine text will have more higher frequency components than one generated by hand, because of the nonregular, nonuniform slant of the handprint. The method proposed generates this spectra by convolving spatial templates with vertical histograms from each line of text, and uses a neural network to classify the resulting spectra.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. An apparatus for recognizing whether text in an image is machine print or hand print, the apparatus comprising: a feed forward neural network processor for processing digital information; a memory for storing digital information processed by said feed forward neural network processor, an image reader for reading an image containing text into the memory in pixel format; a means for separating the image into horizontal lines of text, using a horizontal histogram of pixel counts; a means for processing each said horizontal line of text into a vertical histogram; a convolving means for convolving across the vertical histograms with each of a plurality of templates, each template representing a spatial filter, accumulating the responses for each template from each horizontal position of the vertical histograms as each template is convolved across the vertical histograms, the accumulated responses from each of the templates collectively forming a spectra having high frequency components and low frequency components and whose characteristic is dependent on whether it is machine printed or hand printed; and the feed forward neural network processor looking for the relative relationship of high frequency to low frequency components for classifying the spectra as machine print or hand print, said neural network having the spectra as input and weight means for multiplying the spectra input at nodes and accumulating a final output thereof at final output nodes, with a first output providing an indication that the text contained in the image is machine print, with high frequencies having high relative amplitude, and a second output providing an indication that the text contained in the image is hand print with low frequencies having high relative amplitudes.
2. An apparatus according to claim 1 wherein the spectra formed has high frequency components and low frequency components wherein for machine print the high frequency components have a higher relative amplitude than the low frequency components and for hand print the low frequency components have a higher relative amplitude than the high frequency components.
3. An apparatus according to claim 2 wherein the neural network process uses the relative amplitudes of the high frequency components and the low frequency components to classify the spectra.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.