Method of image pre-analyzing of a machine-readable form of non-fixed layout

Information

  • Patent Grant
  • 8170371
  • Patent Number
    8,170,371
  • Date Filed
    Thursday, June 26, 2003
    21 years ago
  • Date Issued
    Tuesday, May 1, 2012
    12 years ago
Abstract
A method for pre-recognition processing of forms with non-fixed fields. One or more objects that are present on a form can be reliably identified after conversion of the form into an electronic state. Objects are preliminarily assigned to act as reference points for spatial binding of data input fields or groups thereof. In the case of a text object as a reference point, text recognition is additionally performed. The spatial location of a reference point may be not fixed. A reference point may be described as alternative. Field identification may be performed either automatically or manually.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates generally to an optical character recognition of machine-readable forms, and in particular methods of pre-recognition analysis, especially when fields' and other elements' location is not strongly fixed.


2. Prior Art


A widespread method of document pre-recognition processing comprises parsing the image into regions, containing text, and regions containing non-text objects.


Developers of the known systems follow the path of restriction and simplification of document structure, in order to apply existing image structural identification methods.


A U.S. Pat. No. 5,864,629 (Jan. 26, 1999, Wustmann) discloses a method of marking out a particular part of document logical structure for the case, when special characters are present in some document regions and are not present in others. The method is illustrated by the example of regions containing character “$”.


The method is not enough universal and can be narrowly applied only for special cases.


A U.S. Pat. No. 6,507,671 (Jan. 14, 2003, Kagan, et al.) discloses a method of marking out filled in data input fields of the document. The method is illustrated by the example of standard machine-readable form, of fixed layout.


The method can be applied only for machine-readable forms of fixed layout. It is rather complicated since the step of logical structure mark out is combined with the step of intelligent text recognition in data input fields.


Methods using fields fixed layout property of a form are often used in form identification, but have important drawback consisting in fitness thereof for the only specially designed machine-readable form.


For example, the method of U.S. Pat. No. 5,822,454 (Oct. 13, 1998, Rangarajan) discloses the way of pre-processing a document of the only fixed form—“INVOICE”. The document has the strongly fixed form either by the fields list, or by their properties and layout.


The shortcomings of the method lay in unfitness for processing any other form of document except the invoice form and also inability to change the fields list or overcome spatial deflection of fields.


SUMMARY OF THE INVENTION

One or more graphic and/or text elements in the image of machine-readable form are preliminarily assigned to be used further as reference points for searching data input fields. Information about reference points spatial characteristics and data input fields relative location is placed in special storage means.


A machine-readable form image of a filled paper form is parsed into regions containing data input fields, connected regions, lines and other kinds of objects. Then the reference points' location is defined on the form image. In a case of multiple fields identification result the most closely matching field is selected. The fitness is measured in relation with spatial characteristics mainly.





BRIEF DESCRIPTION OF THE DRAWING


FIG. 1 shows a document with three assigned reference points.



FIG. 2 shows a spatial binding of a data input field with one of the reference points.





DETAILED DESCRIPTION OF THE INVENTION

A data conversion from paper media into electronic form is processed now by optical character recognition (OCR) systems. Nowadays OCR systems can reliably enough recognize documents of high and middle quality level, typed by any of the standardized font. This provides to convert a large amount of text data, with sometimes no manual control. But a character-by-character conversion is deficient for data transformation into electronic form. That's why the main common target of the prior systems is the document logical structure identification, i.e. evident identification of document's elements properties—title, data input fields, etc.


The main difficulty herein is due to deficient of the existing paper documents regulation. Even if the list of document fields if strongly prescribed (defined, fixed), as, for example, in money order, invoice, tax return or other account document form, the fields location areas are specified only approximately with some tolerance.


Additionally the exact fields location can be hardly assured in a mass typing. Thus, the problem of printed documents logical structure identification comes to the document pre-recognition process.


Spatially the document is formed of structural elements as text regions, various graphic objects and separating lines. Some text regions relate to document fields. Other text regions, graphical objects and separating lines relate to form.


The spatial structure properties can be described by means of spatial and parametric characteristics of structural elements:

    • structural element absolute layout restrictions,
    • structural element relative layout restrictions,
    • structural element dimensions variety restrictions,
    • structural element is optional.


An absolute structural element location is typical for questionnaires and other standard forms. At the same time the relative location thereof is fixed as well. But the problem of accurate whole-page location as distortion, shift and turn caused by scanning remains unsolved. In other cases restrictions of absolute location can be used for elimination fully incorrect versions of structural elements identification.


The relative limitations may be divided into two groups:

    • qualitative restrictions,
    • quantitative restrictions.


The qualitative restrictions show the general type of relationship, for example, that one element is located upper or lower then the other one. The qualitative restrictions specify coordinates of the region, where an element is located relatively to another element. Usually, the qualitative restrictions indicate small mutual location deflections as well. In other cases the qualitative relationship is used.


Sometimes a form structural requirements are not strong enough and do not fix the mutual location of elements, thus permitting the structural variations.


A most widespread type of structural variations is an absence of one or more structural element in the image. Usually this happened due to the optional nature of its presence.


Besides this some elements may also degrade at scanning, that makes their identification impossible. The examples of elements of this kind are separating lines or text elements of the form, typed in small font. Nevertheless the use of such elements is important since they can additionally specify the other elements' location.


The technical result of the present invention consists in improving an ability to process pre-recognition of machine-readable forms of non-fixed layout.


The mentioned shortcomings greatly reduce the use of known methods to find and mark out data input fields in the image of the form of non-fixed layout.


All known methods are unfit to achieve the declared technical result.


The declared technical result is achieved as follows.


One or more graphic and/or text elements (1) are preliminarily assigned on a form to be used further as reference points for searching data input fields (2).


The assigned elements (1) should be reliably identified on the scanned image.


Information about reference points spatial characteristics and data input fields (2) relative location is placed in a storage means, one of the possible embodiments of which is the form model description.


Additionally, the form model description contains parametrical data about data input fields, for example, the length of the field, the range of permissible values etc.


The graphic image of the machine readable form, after possible skew, distortion and noise elimination, is parsed into regions containing data input fields, connected regions, lines, other objects.


Then the location of objects previously assigned as reference points is determined. In the case the reference point is a text object its contents is additionally recognized.


The data input fields location is determined relatively to one or more reference point. If a full or a part covering thereof happens to similar fields and/or fields of the same type, the most suitable one of them should be chosen. The suitability is measured by the closeness of spatial characteristics thereof to the model. The additional parametrical information about data input fields may also be added if necessary.


The identification is processed by means of setting up and accepting hypothesis about the field.


A reliability estimation of the identification versions, i.e. hypotheses, is processed as follows.


To compare and combine estimations of various structural elements, it is necessary to reduce them to a common scale. The reliability estimation is usually interpret as conditional probability likelihood estimation:

Qt˜p(t|I),

where t—is a structural element, I—is an image.


On the basis of probabilistic interpretation of reliability estimation the following can be accepted:

p(N|I)=p(N|t1, . . . , tn)p(t1|I) . . . p(tn|I),


where p(ti|I)—is a probability of I-th element that is a component of composite element N,


p(N|t1, . . . , tn)—conditional probability likelihood estimation that the list of sub-elements comprises composite element N.


The identification reliability estimation of composite element is calculated according to the following rule:

Q=QRQ1 . . . Qn,


Where Qi˜p(ti|I)—is reliability estimation of i-th element or the composite element N.


QR˜p(N|t1, . . . , tn)—a relations estimation.


The value of p(N|t1, . . . , tn) corresponds with relations QR, which restrict sub-elements in the composite element. The relations should model a conditional reliability density function p(N|t1, . . . , tn). The said problem is solved using non-clear logic toolkit in the probabilistic interpretation. Logic operations are performed according to the following rules:

  • operation ‘custom character’ is performed as: Acustom characterB→a*b;
  • operation ‘custom character’ is performed as: Acustom characterB→a+b−a*b;
  • operation ‘custom character’ is performed as: custom characterA→1−a.


The conditional reliability density function is formed via partly linear approximation.

Claims
  • 1. A method of pre-processing of a machine-readable form with non-fixed fields layout, the method comprising: acquiring a bit-mapped image of the machine-readable form filled in with print in one or more non-fixed data input fields;identifying at least one form model, the at least one form model containing spatial and parametric properties of objects thereof;preliminarily assigning at least one object of the form as a reference point for spatial binding of at least one non-fixed data input field thereof;eliminating any skew, distortion and noise in the bit-mapped image;parsing the bit-mapped image into regions; anddefining a spatial location of at least one non-fixed data input field relative to at least one reference point, wherein said defining the location of the at least one non-fixed data input field comprises: selecting a non-fixed data input field to search in the at least one form model;accepting from the at least one form model at least one reference point property for a spatial relative reference of the said data input field;searching and locating said at least one reference point on the form bit-mapped image;searching and locating the said data input field on the form bit-mapped image relative to at least one reference point taking into account all spatial and parametrical properties described in the form model; andidentifying each data input field position in the case of multiple data input fields.
  • 2. The method as recited in claim 1, wherein the said reference point is represented by a text region.
  • 3. The method as recited in claim 2, wherein the said text region is additionally subjected to a text recognition.
  • 4. The method as recited in claim 1, wherein in the case of multiple data input fields the said identification of each data input field is performed via setting up and accepting of hypotheses and compliance estimation of the form model.
  • 5. The method as recited in claim 4, wherein an additional information about each of said non-fixed data input field is used.
  • 6. The method as recited in claim 1, wherein a non-fixed data input field may be used as a reference point.
  • 7. The method as recited in claim 1, wherein identifying each data input field in the case of multiple data input fields is performed at least partly manually.
  • 8. The method as recited in claim 1, wherein the spatial location of a reference point is not fixed from a first scan of the machine-readable form to a second scan of the machine-readable form.
  • 9. The method as recited in claim 1, wherein one reference point is used for spatial binding of more than one data input field.
  • 10. The method as recited in claim 1, wherein the spatial binding of one data input field is performed relative to more than one reference point.
  • 11. The method as recited in claim 1, wherein a reference point comprises more than one form object.
  • 12. The method as recited in claim 1, wherein the identifying each data input field position in the case of multiple data input fields is a profound identification.
Priority Claims (1)
Number Date Country Kind
2003108434 Mar 2003 RU national
US Referenced Citations (19)
Number Name Date Kind
5025484 Yamanari et al. Jun 1991 A
5182656 Chevion et al. Jan 1993 A
5191525 LeBrun et al. Mar 1993 A
5235654 Anderson et al. Aug 1993 A
5257328 Shimizu Oct 1993 A
5416849 Huang May 1995 A
5748809 Hirsch May 1998 A
5793887 Zlotnick Aug 1998 A
6640009 Zlotnick Oct 2003 B2
6760490 Zlotnick Jul 2004 B1
6778703 Zlotnick Aug 2004 B1
7046848 Olcott May 2006 B1
7149347 Wnek Dec 2006 B1
7561734 Wnek Jul 2009 B1
7764830 Wnek Jul 2010 B1
20020106128 Zlotnick Aug 2002 A1
20070076984 Takahashi et al. Apr 2007 A1
20080025618 Minagawa et al. Jan 2008 A1
20080205742 Lund Aug 2008 A1
Related Publications (1)
Number Date Country
20040190790 A1 Sep 2004 US