Document processing system

Abstract: A document processing system for processing documents having data printed thereon including pre-­ printed markings visible to the eye and machine-readable characters includes a scanner for capturing the color image of the document being processed. Circuitry is provided for reducing the contrast between the pre-­ printed markings and the background surrounding a machine-readable character based upon the hue of the pre-printed markings, such that the pre-printed markings and the background surrounding a character are not distinguishable with respect to light reflected from the document thereby generating a filtered image of the document. An optical character recognition device receives the filtered image of the document representing character information only for identifying the characters appearing on the document.

Description: Technical Field This invention relates to document processing systems and more particularly, to an image capture and optical character recognition system in which pre-printed character location markings do not interfere with the reading of the characters. Background of the Invention Many documents carry informational markings and pre-printed character location markings visible to the eye which assist the document preparer in completing required information on the document. Many pre-printed forms utilize these pre-printed character location markings for confining characters to specific locations and sizes in order to assist a character reader in identifying the characters added to the document. Various commercially available optical character recognition devices function well in identifying characters which are clearly separated from extraneous lines, dots, printed material, and other visible matter which may be pre-printed on the document and which is not intended to be read by the optical character recognition device. Such OCR devices do not experience great difficulty in identifying a single character or line of characters on an otherwise clear surface. Similarly, optical character recognition devices experience little difficulty in identifying all of the characters on an entire page, provided that there are no extraneous markings on the page and that the characters are properly registered. On some documents; however, it is essential that characters be printed on forms which are pre-printed in a manner such that writing areas are separated by visible lines or other marks. Such lines are necessary for separating the data in an orderly fashion. Many government forms such as income tax forms, census forms, social security forms, and others, have boxes within which to print information. It has been found that machine identification of hand-printed characters is assisted if visible constraint marks on the document are pre-printed to assist the preparer of the document. The desirability of the pre-printed character location markings can be balanced against the problems of optical character recognition devices in recognizing characters on documents containing such markings. The OCR devices must rely on light reflectance from the character-background and absorption from the characters themselves to distinguish between true characters which are to be identified by the OCR device, and other visible markings adjacent to the character, touching or passing through the characters or surrounding the characters. Document processing systems have been proposed in order to allow the OCR device to distinguish between the pre-printed character location markings and the actual characters to be read. One such system is described in U.S. Patent No. 3,444,517, issued to J. Rabinow on May 13, 1969 and entitled "Optical Reading Machine and Specially Prepared Documents Therefor". This optical reading machine utilizes pre-printed documents in which the character location markings are printed in fluorescent material. The document is subjected to exciting radiation during the reading cycle such that the true characters will reflect very little of the radiations, but the marks will be energized in a manner to emit energy to which a scanner photocell is sensitive. Although these marks under ordinary light appear to be visible, when energized, in cooperation with their radiation source, these marks emit energy in such a way that the scanner photocell provides output signals as though the marks did not exist or that the marks are brighter than the background or the characters to be read. Therefore the entire black-to-white range for the device examining the characters is uneffected. Many documents are pre-printed in a variety of colors in which the background as well as the character location markings may be printed with different colored inks. In order to eliminate the pre-printed color location markings which are printed with colored inks, various optical filters and lenses have been utilized in order to prevent this information captured from the document being presented to the optical character recognition device such that the optical character recognition device is "blind" to these colored inks. Color-sensitive photocells are utilized in the character recognition device in order to filter out the pre-printed character location pixel information and only present the true character pixel information to the optical character recognition device. Such systems require multiple optical filters which must be interchanged depending upon the colors of the ink utilized on the pre-printed form. Another system proposed in order to prevent interference of pre-printed character location markings from the actual characters to be read on a document is described in U.S. Patent No. RE.29,104, issued to David H. Shepard on January 4, 1977 and entitled "Method of Scanning Documents to Read Characters Thereon Without Interference From Visible Marks on the Document Which Are Not To Be Read By the Scanner". This system utilizes a laser scanner unit adapted to scan a document. The color of the markings on the documents which are not to be read is related to the laser wavelength so that the light reflected from the markings has the same intensity as the light reflected from the document background and the presence of these pre-printed character location markings does not interfere with the reading of the characters. The laser wavelength is therefore keyed to the color of the pre-printed character location markings, and such a system would not have the ability to easily adapt to different colored pre-printed markings on numerous documents as well as to different colored pre-printed character location markings on the same document to be processed and read by an optical character recognition device. For many applications, document processing systems also have the requirement of displaying an image of the document being processed by the system. The image may be used by an operator for verifying or correcting data read by the optical character recognition portion of the document processing system. It is desirable for the displayed image to accurately reflect the actual image of the document for use by the operator of the document processing system. The image displayed should therefore include the pre-printed character location markings which, as previously stated, interfere with the recognition process of optical character recognition devices within the document processing system. If the data presented to the optical character recognition unit is also displayed to the operator, much of the actual informational content of the document is missing, and the user of the system does not have the ability to view a true image of the document being processed. Systems have been proposed for independently capturing the image of a document and for capturing data for input to an optical character recognition device. Such a dual capture system is described in U.S. Patent No. 4,205,780, issued to Emmett Burns et al. on June 3, 1980, and which is entitled "Document Processing System and Method". This system, like other systems utilizing optical character recognition devices require separate data catpure devices which are separately optimized for image and data capture functions. A need has thus arisen for a document processing system for processing documents having pre-printed character location markings which are visible to the eye, but which are "blind" to an optical character recognition device and which further displays an accurate image of the document. Such a document processing system must be capable of processing documents having numerous colors without mechanically changing optical filters as well as eliminating different colored "blind" inks on the same document. Such a document processing system further requires the ability to operate with specially prepared forms, documents, or other surfaces on which characters to be read by a character recognition device are formed in a manner such that the marks other than the true characters are rendered indistinguishable by the optical character recognition device from the background reflectance of the surface. A need has further arisen for a document processing system having a single data lift for capturing both an image of a document and characters to be presented to an optical character recognition device. Such a system must also be programmable for recognizing different types of optical characters, be electronically changeable for the display of different types of document images as well as having a fast response time as colors change. JP-A-55 146 571 discloses a document processing system as defined in the preamble of the claim of this application. Summary of the Invention The invention relates to a document processing system for processing documents having data printed thereon including markings visible to the eye but which are not to be recognized by the system and machine-readable characters which are to be recognized by the system, said system comprising: means for scanning a document for capturing a color image of the document being processed; means connected to said scanning means for reducing the contrast between the markings and the background surrounding a machine-readable character based upon the color of the marking, and for generating a filtered image of the document and for inputting the color of the markings to the means for reducing the contrast; characterized by: optical character recognition means for receiving information only for identifying the characters appearing on the document; and means for subtracting from the hue of the background surrounding a machine-readable character the complementary hue of the markings, such that the contrast between the background surrounding a machine-readable character and the markings is reduced so that the intensity of the markings is the same as the intensity of the background surrounding a machine-readable character. Brief Description of the Drawings For a better understanding of the invention reference is now made to the following description of preferred embodiments taken in conjunction with the accompanying drawings in which: Figure 1 is a block diagram of the present document processing system; Figure 2 is an illustration of a document processed by the present document processing system; and Figure 3 is an illustration of the data from the document shown in Figure 2 that is presented to the optical character recognition unit of the present document processing system. Description of the Preferred Embodiments Referring to Figure 1, the present document processing system is generally identified by the numeral 10. Document processing system 10 is utilized for processing documents of a variety of types in which pre-printed information and character location markings visible to the eye appear. These markings assist the preparer of a document in identifying information and location of data and in placing and forming characters to be added to the document. The pre-printed markings may include lines, boxes, dots, and other guides which are not intended to be read by the optical character recognition device processing the document. These markings are typically printed in "blind" ink, reflective inks or drop-out colors and although they are visible to the eye, they need to be invisible to the character recognition device. These pre-printed markings may be printed in any color ink and the present system 10 can be utilized with documents having different colored inks appearing on the same document. Most optical character recognition devices are required to identify characters printed upon an optically contrasting surface. The usual requirement is that the characters be dark and the background be light so that the black-to-white ratio is as large as possible. Under ordinary illumination, the characters are as lightabsorbent as possible, while the background area is as light-reflective as possible. Poor or degraded OCR print may have print contrast ratios as low as the blind ink or reflectances as high as the blind ink, and therefore, the OCR print cannot be thresholded without intereference if the blind ink is not removed. Difficulty is also experienced in these optical character recognition devices as previously stated because of the requirement that there be extraneous printed material on the same surface as the characters which are to be identified. As used herein, these pre-printed markings, hereinafter referred to as markings, are visible to the eye and may be in the form of lines, boxes surrounding a character, written instructions on the document, and other markings which adversely affect the operation of the optical character recognition device. These markings will be discussed in connection with Figure 2. The present invention reduces the contrast between the markings and the background surrounding a character to be read by subtracting a percentage of the complimentary color of the markings from the color channel that best matches the hue of the markings. The resulting output has the same intensity level for the markings as the character background intensity. Therefore, the background intensity is "seen" as the same intensity as the markings, such that the marking becomes blind to the optical character recognition device. The present document processing system 10 utilizes a color scanner/camera 12 for capturing, in color, the image of the document to be processed. Color scanner/ camera 12 utilizes a three-color image sensor which scans the document on a point-by-point basis and produces video signals which are applied to a signal conditioner 14. Color scanner/camera 12 may include, for example, a model TCD 116 color array, manufactured and sold by Toshiba Corporation of America, which produces 400 color points per inch with red, green, blue (RGB) output channels. The output of color scanner/camera 12 is amplified, DC restored and the multiple outputs of color scanner 12 are balanced to prevent seams between segments utilizing a signal conditioner 14. A gain correction is applied to each pixel by signal conditioner 14 in order to normalize each cell to the same sensitivity such that the R, G, B color channels are all normalized to "1" when viewing a calibrated white surface, thereby maintaining the effect of an "equal energy" white illuminator. The R,G,B, output of signal conditioner 14 is simultaneously applied to three processing channels of document processing system 10. The three channels include a color image channel 16; monochrome image channel 18 and optical character recognition (OCR) channel 20. Each channel, 16, 18 and 20 functions independently of the other and either or both of channels 16 and 18 may be utilized with document processing system 10. The output of signal conditioner 14 is applied to a color storage unit 30 within channel 16 of document processing system 10. The output of color storage unit 30 is applied to a color image display 32 which may, for example, provide a 1024 by 1024 pixel image at 24 bits per pixel. The image displayed on color image display 32 represents the color image of the document captured by color scanner/camera 12, and may be used to assist an operator of document processing system 10 to identify characters which could not be recognized by the optical character recognition unit of the present invention. The output of signal conditioner 14 is also applied to a color processor image unit 36 within channel 18 of document processing system 10. Color processor image unit 36 functions to convert the R,G,B channels of color scanner/camera 12 into a monochrome signal which represents the image of the document captured by color scanner/camera 12 according to its brightness. The proportions of each of the color signals from color scanner/camera 12 that are used to form the luminance signal are in the following proportions: 59% of the green signal, 30% of the red signal, and 11% of the blue signal. A system for forming the luminance signal is described in a publication entitled "Color TV Training Manual", published by Howard W. Sams and Co., Inc., the Bobbs-Merrill Co., Inc., Indianapolis, Indiana, 4th Printing, 1973, Pages 34-37, which description is incorporated herein by reference. The output of color processor image unit 36 is applied to monochrome image storage unit 38 which output is applied to a monochrome image display 40. Display 40 displays to the operator of document processing system 10 the image of the document captured by color scanner/camera 12 in a black/white or monochrome image. The monochrome image of the document displayed by monochrome image display 40 may be utilized in a manner similar to the display provided by color image display 32 by the operator of the present document processing system 10. The output of signal conditioner 14 is also applied to channel 20 of the present document processing system 10, and more specifically to a color processor unit 44. Color processor unit 44 also receives an input provided by the system software or by an operator indicating the blind ink characteristics, and more specifically, the hue of the blind ink. Color processor unit 44 functions to electronically filter the pre-printed markings from the data captured by color scanner/ camera 12 for presentation to OCR unit 48 for character recognition. The output of color processor unit 44 may be applied directly to OCR unit 48 or stored in a storage unit 46 for subsequent application to OCR unit 48. In an embodiment of the present document processing system 10, color processor unit 44 functions as an electronic filter to subtract a percentage of the complimentary color of the pre-printed markings from the color channel (RGB) that best matches the hue of the pre-printed markings. The result is that the background intensity is "seen" as the same intensity as the pre-printed markings, such that the markings become blind to the optical character recognition unit 48. In this embodiment, color process unit 44 may include, for example, a look-up table for generating the complimentary hue based upon an input of the blind ink characteristics. The hue of the blind ink may be preset by operation of the system software depending upon the particular form or document being processed, an operator input switch or operator menu selection. Color processor unit 44 functions to subtract a percentage of the complimentary color from the blind ink channel or plane. The amount to be subtracted is the difference between: 1) the blind ink value in the blind ink channel comprising the image of the pre-printed markings, and: 2) the white cr background color in the blind ink channel representing the area surrounding a character to be recognized. Since there is no blind ink energy in the complement color, nothing is subtracted from the blind ink channel while processing blind ink pixels. When reflectance is from the background around a character however, a complement output is maximum and the subtraction reduces the value of the white background pixels down to the value of the blind ink reflectance or energy thereby making white and the blind ink equal, resulting in zero contrast. When a pixel is black or non-blind ink color representing a character to be recognized, the contrast is enhanced slightly depending upon the intensity and hue of the color. The complement of the blind ink colors for green is magenta, which is red plus blue divided by 2; for red is cyan, which is blue plus green divided by 2; and for blue is yellow, which is red plus green divided by 2. The pre-printed markings could be magenta, cyan, and yellow in which case the complements are red, blue, and green, respectively. In general, the best complementary color to use is the channel or combination of channels that has the least amount of blind ink energy. The output of color processor unit 44 is applied to an optical character recognition unit 48. This output represents only pixels representing the data content of characters to be recognized and the background surrounding such characters with the pre-printed markings having been eliminated by operation of color processor unit 44. OCR unit 48 may comprise, for example, a system described in U.S. Patent No. 3,761,876, which issued to L. Flaherty, et al. on September 25, 1973 which is entitled "Recognition Unit for Optical Character Reading System". Referring now simultaneously to Figures 1 and 2, a document 52 (Figure 2) is illustrated which is representative of documents processed by the present document processing system 10. Document 52 includes pre-printed character location markings as well as written instructions which interfere with the operation of OCR unit 48 during character recognition. Document 52 includes pre-printed character location markings in the form of boxes 54 which are used by the individual completing document 52 to locate and form the characters comprising the name "SMITH MARY". Also indicated on document 52 is a designated area for the address of the individual completing document 52, including a field 56 for the street, field 58 for the city and field 60 for the state. The pre-printed markings include the words "Street", "City", and "State" in addition to the dotted lines separating fields 56, 58 and 60. Further included on document 52 is an area for completing the date which includes fields 62, 64 and 66 representing the day, month and year. Instructional information is printed within each field representing "DAY"; "MO."; "YR.". Finally, a portion of document 52 requests completion of the individual's zip code and includes boxes 68 for locating the numerals of the zip code. Figure 3 illustrates the data of document 52 after document 52 has been processed by color processor unit 44. The pre-printed markings have been "eliminated" and are not presented to OCR unit 48. All lines, boxes surrounding characters, and written instructions on document 52 which adversely affect the operation of OCR unit 48 have been electronically filtered and are not presented to OCR unit 48. Displays 32 and 40 of document processing system 10 will display to the operator of system 10 the image of document 52 in color or in monochrome, respectively, as represented in Figure 2. The present document processing system 10 therefore operates on all colors of inks utilized for pre-printing on the document. Color scanner/camera 12 functions to capture the content of the user supplied character information as well as the pre-printed markings in a single data lift. This captured data is supplied to image displays 32 and/or 40 for displaying to the user of document processing system 10 an image of the document as well as the portion of the captured data representing the character information to OCR unit 48 for character recognition purposes. The pre-printed markings are "blinded" from OCR unit 48 by automatically reducing the contrast of the blind ink without utilizing mechanical filters, fluorescent inks or wavelength dependent laser scanners. Whereas the present invention has been described with respect to specific embodiments thereof, it will be understood that various changes and modifications will be suggested to one skilled in the art and it is intended to encompass such changes and modifications as fall within the scope of the appended claims.

Claims: A document processing system (10) for processing documents (52) having data printed thereon including markings (54) visible to the eye but which are not to be recognized by the system and machine-readable characters (56, 58, 60) which are to be recognized by the system, said system comprising: means (12) for scanning a document for capturing a color image of the document being processed; means (44) connected to said scanning means for reducing the contrast between the markings and the background surrounding a machine-readable character based upon the color of the marking, and for generating a filtered image of the document and for inputting the color of the markings to the means (44) for reducing the contrast; characterized by: optical character recognition means (48) for receiving information only for identifying the characters appearing on the document; and means (44) for subtracting from the hue of the background surrounding a machine-readable character the complementary hue of the markings, such that the contrast between the background surrounding a machine-readable character and the markings is reduced so that the intensity of the markings is the same as the intensity of the background surrounding a machine-readable character.

Inventors: LOVELADY KENNETH T, SANNER MEDFORD D, LOVELADY, KENNETH T., SANNER, MEDFORD D.
Applicants: RECOGNITION INT INC, RECOGNITION INTERNATIONAL INC.
Application year: 1989
Main classification: G06K9
IPC codes: H04N1, G06K9