Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IDENTIFYING DOCUMENT FORMS USING DIGITAL FINGERPRINTS
Document Type and Number:
WIPO Patent Application WO/2018/080555
Kind Code:
A1
Abstract:
Techniques are disclosed to identify a form document in an image using a digital fingerprint of the form document. To do so, the image is evaluated to detect features of the image and generate a boundary around each feature. For each boundary, dimensions of the boundary may be stored in a color channel of a pixel in a second image. Thus, the color of the pixel represents the size of the boundary. The second image is the digital fingerprint of the form. To identify the form corresponding to the digital fingerprint, the digital fingerprint may be compared to digital fingerprints of known forms.

Inventors:
BECKER RICHARD J (US)
KNOBLAUCH GREG (CA)
MALYNIN PAVLO (CA)
EAPPEN ANJU (CA)
Application Number:
PCT/US2016/061903
Publication Date:
May 03, 2018
Filing Date:
November 14, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INTUIT INC (US)
International Classes:
G06F17/30; G06K9/20; H04N1/04
Foreign References:
US8838657B12014-09-16
US6952484B12005-10-04
US9153005B22015-10-06
US8774455B22014-07-08
US7961905B22011-06-14
US8086039B22011-12-27
US5048099A1991-09-10
US7650041B22010-01-19
US6741738B22004-05-25
Other References:
WONG ET AL.: "Document Analysis System", IBM JOURNAL OF RESEARCH AND DEVELOPMENT, vol. 26, no. 6, November 1982 (1982-11-01), pages 647 - 656, XP055087140, Retrieved from the Internet [retrieved on 20161221]
Attorney, Agent or Firm:
PATTERSON, B. Todd et al. (US)
Download PDF:
Claims:
What is claimed is:

1 . A computer-implemented method for generating a digital fingerprint corresponding to a form depicted in a digital image, the method comprising:

identifying one or more features of a form depicted in a first digital image; determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image; and

for each polygon:

identifying coordinates of a center of the polygon within the first digital image, and

storing dimensions of the polygon in one or more color channels of a pixel in a second image, wherein a position of the pixel in the second image matches a position of the center of the polygon in the first digital image and wherein the second image comprises a digital fingerprint of the form depicted in the first digital image.

2. The method of claim 1 , further comprising:

comparing the second image to a plurality of images, each image

representing a digital fingerprint of a corresponding form;

determining, based on the comparison, a distance measure between the second image and each of the plurality of images;

identifying a matching image, of the plurality of images, wherein the matching image has a minimum distance measure determined between the second image and each of the plurality of images and wherein the minimum distance measure satisfies a distance measure threshold; and

recognizing the form depicted in the first digital image as an instance of a form corresponding to the matching image.

3. The method of claim 1 , further comprising:

reducing the second image to a predetermined size.

4. The method of claim 1 , further comprising:

prior to identifying the coordinates of the center of at least a first polygon, discarding the first polygon after determining that either (i) the first polygon has a ratio of a height to a width that does not satisfy a minimum threshold or (ii) the first polygon has a dimension that does not meet a minimum size.

5. The method of claim 1 , further comprising:

encoding a value in an alpha channel of one or more pixels in the second image, wherein the value represents a level of importance of a polygon

corresponding to each of the one or more pixels to the digital fingerprint of the form.

6. The method of claim 1 , wherein storing dimensions of the polygon in one or more color channels of a pixel in a second image comprises:

a first color channel which stores a height of a corresponding polygon, a second color channel which stores a width of the corresponding polygon, and

a third color channel which stores a ratio of the height of the corresponding polygon to the width of the corresponding polygon.

7. The method of claim 1 , further comprising:

normalizing image characteristics of the first digital image.

8. A computer-readable storage medium storing instructions, which, when executed on a processor, perform an operation to generate a digital fingerprint corresponding to a form depicted in a digital image, the operation comprising:

identifying one or more features of a form depicted in a first digital image; determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image; and

for each polygon:

identifying coordinates of a center of the polygon within the first digital image, and

storing dimensions of the polygon in one or more color channels of a pixel in a second image, wherein a position of the pixel in the second image matches a position of the center of the polygon in the first digital image and wherein the second image comprises a digital fingerprint of the form depicted in the first digital image.

9. The computer-readable storage medium of claim 8, further comprising:

comparing the second image to a plurality of images, each image

representing a digital fingerprint of a corresponding form;

determining, based on the comparison, a distance measure between the second image and each of the plurality of images;

identifying a matching image, of the plurality of images, wherein the matching image has a minimum distance measure determined between the second image and each of the plurality of images and wherein the minimum distance measure satisfies a distance measure threshold; and

recognizing the form depicted in the first digital image as an instance of a form corresponding to the matching image.

10. The computer-readable storage medium of claim 8, further comprising:

reducing the second image to a predetermined size.

1 1 . The computer-readable storage medium of claim 8, further comprising:

prior to identifying the coordinates of the center of at least a first polygon, discarding the first polygon after determining that either (i) the first polygon has a ratio of a height to a width that does not satisfy a minimum threshold or (ii) the first polygon has a dimension that does not meet a minimum size.

12. The computer-readable storage medium of claim 8, further comprising:

encoding a value in an alpha channel of one or more pixels in the second image, wherein the value represents a level of importance of a polygon

corresponding to each of the one or more pixels to the digital fingerprint of the form.

13. The computer-readable storage medium of claim 8, wherein storing dimensions of the polygon in one or more color channels of a pixel in a second image comprises:

a first color channel which stores a height of a corresponding polygon, a second color channel which stores a width of the corresponding polygon, and a third color channel which stores a ratio of the height of the corresponding polygon to the width of the corresponding polygon.

14. The computer-readable storage medium of claim 8, further comprising:

normalizing image characteristics of the first digital image.

15. A system, comprising:

a processor; and

a memory hosting an application, which, when executed on the processor, performs an operation to generate a digital fingerprint corresponding to a form depicted in a digital image, the operation comprising:

identifying one or more features of a form depicted in a first digital image; determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image; and

for each polygon:

identifying coordinates of a center of the polygon within the first digital image, and

storing dimensions of the polygon in one or more color channels of a pixel in a second image, wherein a position of the pixel in the second image matches a position of the center of the polygon in the first digital image and wherein the second image comprises a digital fingerprint of the form depicted in the first digital image.

16. The system of claim 15, further comprising:

comparing the second image to a plurality of images, each image

representing a digital fingerprint of a corresponding form;

determining, based on the comparison, a distance measure between the second image and each of the plurality of images;

identifying a matching image, of the plurality of images, wherein the matching image has a minimum distance measure determined between the second image and each of the plurality of images and wherein the minimum distance measure satisfies a distance measure threshold; and recognizing the form depicted in the first digital image as an instance of a form corresponding to the matching image.

17. The system of claim 15, further comprising:

prior to identifying the coordinates of the center of at least a first polygon, discarding the first polygon after determining that either (i) the first polygon has a ratio of a height to a width that does not satisfy a minimum threshold or (ii) the first polygon has a dimension that does not meet a minimum size.

18. The system of claim 15, further comprising:

encoding a value in an alpha channel of one or more pixels in the second image, wherein the value represents a level of importance of a polygon

corresponding to each of the one or more pixels to the digital fingerprint of the form.

19. The system of claim 15, wherein storing dimensions of the polygon in one or more color channels of a pixel in a second image comprises:

a first color channel which stores a height of a corresponding polygon, a second color channel which stores a width of the corresponding polygon, and

a third color channel which stores a ratio of the height of the corresponding polygon to the width of the corresponding polygon.

20. The system of claim 15, further comprising:

normalizing image characteristics of the first digital image.

Description:
IDENTIFYING DOCUMENT FORMS USING DIGITAL FINGERPRINTS

BACKGROUND

Field

[0001] Embodiments presented herein generally relate to techniques for identifying a form document. More specifically, embodiments presented herein provide techniques for identifying a form depicted in an image based on a digital fingerprint of the form.

Description of the Related Art

[0002] Data related to financial transactions is essential for a variety of business and personal transactions. For example, a small business owner may use accounting data to generate reports regarding customer invoices or cash flow. The data needed for such reports may be located within a document such as word- processing documents, spreadsheets, or Portable Document Format (PDF) documents and paper documents (e.g., which may be generated electronically). Thus, the data must be extracted for the small business owner to generate a report. Similarly, an individual who uses a commercially available tax preparation software may need to extract data from various tax documents (e.g., W-2, 1099, 1098-T, etc.) needed to file their tax return. The tax documents may be provided to the individual by an employer or bank.

[0003] To extract data from a document, a computing device may perform optical character recognition (OCR) using a digital image of the document to convert text content shown in the image into machine-readable text. However, variations in the layouts of documents may contribute to poor results in reading text from the documents. For example, an individual may receive documents from numerous businesses. The received documents may be instances of the same general form type, such as tax documents. While the documents may include similar data, the location of data may vary between documents from different sources. This variation may make it difficult for an OCR application to extract data used by other applications (e.g., a tax preparation application). In such a case, a user may have to manually enter data into such applications. SUMMARY

[0004] One embodiment presented herein includes a computer-implemented method for generating a digital fingerprint corresponding to a form depicted in a digital image. The method may generally include identifying one or more features of a form depicted in a first digital image. The method may also include determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image. For each polygon, the method may include, identifying coordinates of a center of the polygon within the first digital image, and storing dimensions of the polygon in one or more color channels of a pixel in a second image. A position of each pixel in the second image matches a position of the center of a corresponding polygon in the first digital image. The second image comprises a digital fingerprint of the form depicted in the first digital image.

[0005] Another embodiment presented herein includes a computer-readable storage medium storing instructions, which, when executed on a processor, perform an operation to generate a digital fingerprint corresponding to a form depicted in a digital image. The operation may generally include identifying one or more features of a form depicted in a first digital image. The operation may also include determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image. For each polygon, the operation may include, identifying coordinates of a center of the polygon within the first digital image, and storing dimensions of the polygon in one or more color channels of a pixel in a second image. A location of each pixel in the second image matches a location of the center of a corresponding polygon in the first digital image. The second image comprises a digital fingerprint of the form depicted in the first digital image.

[0006] Still another embodiment presented herein includes a system having a processor and a memory hosting an application, which, when executed on the processor, performs an operation to generate a digital fingerprint corresponding to a form depicted in a digital image. The operation may generally include identifying one or more features of a form depicted in a first digital image. The operation may also include determining, for each of the one or more features, coordinates of a respective polygon bounding the feature within the first digital image. For each polygon, the operation may include, identifying coordinates of a center of the polygon within the first digital image, and storing dimensions of the polygon in one or more color channels of a pixel in a second image. A location of each pixel in the second image matches a location of the center of a corresponding polygon in the first digital image. The second image comprises a digital fingerprint of the form depicted in the first digital image.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] So that the manner in which the above recited features of the present disclosure can be understood in detail, a more particular description of the disclosure, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only exemplary embodiments and are therefore not to be considered limiting of its scope, may admit to other equally effective embodiments.

[0008] Figure 1 illustrates an example computing environment, according to one embodiment.

[0009] Figure 2 illustrates an example server computer configured to identify a tax form using a digital fingerprint, according to one embodiment.

[0010] Figure 3 illustrates a method for generating a digital fingerprint of a form, according to one embodiment.

[0011] Figure 4 illustrates a method for identifying a form using a digital fingerprint, according to one embodiment.

[0012] Figure 5A illustrates an image of example forms, according to one embodiment.

[0013] Figure 5B illustrates an image of corresponding digital fingerprints, according to one embodiment.

[0014] Figure 6 illustrates an example computing system configured to identify a tax form using a digital fingerprint, according to one embodiment. DETAILED DESCRIPTION

[0015] Embodiments presented herein provide techniques for evaluating a document to generate a digital fingerprint of that document. More specifically, techniques presented herein provide techniques to identify a version of a form document using a digital fingerprint of the form that is based on a spatial relationship of features on the form.

[0016] In one embodiment, a digital fingerprint is generated from a digital image of the form. For example, a digital image of a form (such as a tax form) may be processed to generate a boundary around each paragraph or other feature of the form. The image is segmented into regions - referred to as segmentation - to locate paragraphs of text or groupings of pixels on the form. A boundary is formed around each group of pixels (i.e., a feature of the image). A boundary is a polygon, typically a rectangle, that represents the location and size of a feature of the image. Spatial coordinates for two diagonally opposite corners of each rectangle bounding a feature (e.g., an upper left corner and a lower right corner) are used to calculate a centroid of each boundary. A pixel representing the centroid of each boundary is plotted on a blank image.

[0017] In one embodiment, the blank image may be the same size as the original image, and each pixel in the blank image is located at the same coordinates as the centroid in the original image. Further, dimensions of each boundary may be stored in color channels of the corresponding pixel in the blank image. For example, RGB (red, green, blue) channels of each pixel may be encoded to represent a height and a width of the corresponding boundary. The R channel may represent the width of the boundary, the G channel may represent the height of the boundary, and the B channel may represent a ratio of the height to width. The resulting image with the encoded pixels represents the digital fingerprint of the form.

[0018] In one embodiment, a database may be created for a large number of digital fingerprints. Each fingerprint in the database may correspond to a different form. For example, the database may contain fingerprints for tax forms which may vary by agency or State that issued the form, or tax year. A database entry for a given form may contain the digital fingerprint of the form as well as attributes that indicate an agency or State that issued the form and a year the form was issued.

[0019] To identify a given form, a digital fingerprint of that form is generated and compared to a plurality of fingerprints stored in the database. A matching fingerprint is found when a distance measure between the fingerprint being evaluated and a given fingerprint in the database meets a predetermined distance measure threshold. The distance measure, for example, may be a Euclidean distance or Hamming distance between the two compared fingerprints.

[0020] Once a matching fingerprint is found (i.e., a matching image), the form being evaluated may be recognized as an instance of the form corresponding to the matching fingerprint. For example, if the matching fingerprint corresponds to a form that was issued by the Internal Revenue Service (IRS) for 2014, the form being evaluated may be recognized as being issued by the IRS for 2014.

[0021] The purpose of a digital fingerprint of a form is to accurately identify the form by comparing the fingerprint to other digital fingerprints of known forms. Advantageously, a digital fingerprint increases the speed and accuracy of identifying a given form document.

[0022] Figure 1 illustrates an example computing environment 100, according to one embodiment. As shown, the computing environment 100 includes a client device 105, a network 1 10, and a server computer 120.

[0023] As shown, the client device 105 includes a camera 1 12. The camera 1 12 may be used by a client to capture an image of a form. Such an image generally provides a digital representation of the form, such as a JPG image or a PNG image. Alternatively, a document scanner could be used to capture a digital image of a form. Client device 105 communicates with server computer 120 over the network 1 10. For example, once an image of a form is captured, client device 105 may send the image to the server computer 120 over the network 1 10.

[0024] As shown, server computer 120 includes an image processing component

125, a digital fingerprint generator 130, and a form database 140. Prior to generating a digital fingerprint of a form in a received image, the image processing component 125 may normalize image characteristics so that the image is skew invariant, scale invariant, rotation invariant, etc. For example, the image processing component 125 may de-skew the image, remove any keystone effect from the image, normalize the resolution of the image, normalize the size of the image, perform color correction (for white balance and contrast), perform binarization, etc.

[0025] Once the image is processed, image processing component 125 may locate paragraphs of text or groups of pixels (i.e., features), create segments of each feature, and generate a polygon (i.e., a boundary) around each segment. Each boundary may be a rectangle, and digital fingerprint generator 130 may determine a height and a width of each rectangle. The image processing component 125 may also compare the generated fingerprint to fingerprints stored in form database 140.

[0026] The digital fingerprint generator 130 may use dimensions of each rectangle bounding a feature to calculate a centroid. Once a position of each centroid is determined (e.g., X,Y coordinates of a center point), digital fingerprint generator 130 may, for each centroid, change a color of a corresponding pixel in a second, blank image. A position of the corresponding pixel in the second image matches the position of the centroid. To change a color of a corresponding pixel, digital fingerprint generator 130 may encode the dimensions of a corresponding rectangle in color channels of each pixel. For example, a first color channel may store the height of the corresponding rectangle, a second color channel may store the width of the corresponding rectangle, and a third color channel may store a ratio of the height to width or the area of the rectangle.

[0027] The form database 140 may store a digital fingerprint for one or more known forms and may include attributes which characterize a form. For example, an attribute may specify an agency that created the form, a year the form was issued, a revision of the form, etc. Digital fingerprints may be generated for a large number of forms and stored in form database 140. To identify a new form document, a digital fingerprint of that form may be created and compared to the fingerprints stored in form database 140. When a matching fingerprint is found in the database, attributes of that fingerprint can be used to guide an OCR process to extract data from a specific location on the form being evaluated. [0028] Figure 2 illustrates an example server computer 120 configured to identify a form using a digital fingerprint, according to one embodiment. As shown, image processing component 125 includes a segmentation component 202 and a feature analysis component 204.

[0029] As shown, digital fingerprint generator 130 includes an image normalizing component 206, a dimension calculator 208, a centroid calculator 210, a centroid plotting component 212, and an RGB encoder 214. The image normalizing component 206 may reduce the size of an image of a form. For example, an image may be reduced to a predetermined resolution while the aspect ratio is maintained. The resolution is reduced to increase the speed of the segmentation process.

[0030] The segmentation component 202 may locate paragraphs of text or other features in an image of a form document, segment each feature, and generate a rectangle around each feature. For example, a rectangle may be generated around a given feature by applying a Gaussian blur to the feature and then eroding the blurred feature. Each rectangle identifies a unique feature of a layout of a form being evaluated.

[0031] In one embodiment, the image normalizing component 206 may discard a rectangle from the fingerprint generation process. A rectangle may be discarded if the rectangle does not contribute to generating a digital fingerprint that can be used to uniquely identify the form. For example, image normalizing component 206 may calculate a ratio between a height and a width of each rectangle and compare that ratio to a minimum threshold. If the ratio for a given rectangle does not meet the threshold, that rectangle may be discarded from the fingerprint generation process. A rectangle may also be removed if a dimension of the rectangle does not meet a minimum size. For example, a rectangle may be removed if it is less than 6 pixels tall by 6 pixels wide.

[0032] Once the rectangles are generated around each feature, the dimension calculator 208 may determine coordinates of each rectangle. For example, the dimension calculator 208 may determine X,Y coordinates of an upper left corner and a lower right corner of a given rectangle. The coordinates are used to determine a height and a width of each rectangle. Centroid calculator 210 may use the height and width of a given rectangle to determine a centroid of that rectangle. Each rectangle represents a location of a corresponding feature, and each centroid represents a location of a center of a corresponding rectangle.

[0033] To create a digital fingerprint of a form, the centroid plotting component 212 creates a second image that is blank and is the same size as a corresponding image of a form. The centroid plotting component 212 plots a pixel corresponding to each centroid on the second image. A position of each pixel in the second image matches a position of the corresponding centroid in the image of the form. To add to the uniqueness of the fingerprint being created, the color of each pixel may be adjusted to represent the dimensions of a corresponding rectangle. For example, the RGB encoder 214 may adjust the RGB channels of each pixel to represent the dimensions of the corresponding rectangle as described with reference to figure 1 . The image containing the encoded pixels comprises the digital fingerprint of form being evaluated.

[0034] RGB encoder 214 may also encode a value in an alpha channel of one or more pixels in the second image. An alpha channel of an image typically represents a level of transparency by combining a background with an image. In this case, a value may be assigned to the alpha channel of one or more pixels that correspond to a level of importance for features that may not contribute to generating a fingerprint that accurately identifies the form being evaluated. Features that may not contribute to a fingerprint include a dust particle on an image of the form and a border around the form. For example, when an image of the form is segmented, a dust particle may be identified as a single letter or a period. Similarly, a border may be identified as a long blob of text. Such features do not contribute to a digital fingerprint because they may be inconsistent between two images of the same form (e.g., a dust particle) or do not represent data that would be extracted from the form (e.g., an image border). Thus, the alpha channel of a pixel corresponding to these features is encoded with a low value so the pixel is almost transparent and will be ignored when the fingerprint of the form being evaluated is compared to fingerprints in a database as discussed below. [0035] To determine whether a value will be assigned to an alpha channel of a given pixel, a ratio of a height to a width of the corresponding rectangle is compared to a threshold. If the ratio does not satisfy the threshold, the alpha channel of the corresponding pixel may be assigned a low value. The lower the value of the alpha channel, the more transparent the corresponding pixel will be in the second image.

[0036] The feature analysis component 204 may compare a digital fingerprint of a form to be identified to digital fingerprints in form database 140. For example, feature analysis component 204 may use computer-vision feature-detection methods to detect features of a given fingerprint. Some types of features that can be detected include edges, corners, interest points, blobs, regions of interest, and ridges.

[0037] Once a matching fingerprint is found, attributes of the form being evaluated may be modified to equal attributes of a form corresponding to the matching fingerprint. For example, an attribute of the form corresponding to the matching fingerprint may indicate that the State of California issued the form in 2015. Thus, attributes of the form being evaluated may be modified to indicate that the form was issued by the State of California in 2015.

[0038] Based on the modified attributes, segmentation component 202 may extract one or more individual segments (i.e., rectangles) from the original image of the form. Data may be extracted from these segments for use by other applications.

[0039] Prior to comparing a digital fingerprint to other fingerprints in the form database 140, the image normalizing component 206 may reduce the fingerprint (i.e., the second image) to a predetermined size. For example, the image normalizing component 206 may transform the fingerprint to match the size of all fingerprints in the form database 140. As an example, the fingerprint may be reduced to 128 pixels by 128 pixels. Advantageously, reducing the size of a fingerprint decreases the time required for the comparison process and reduces the storage space needed for form database 140.

[0040] Figure 3 illustrates a method 300 for generating a digital fingerprint of a form, according to one embodiment. At step 305, a server computer configured to identify a form using a digital fingerprint receives a digital image of a form. For example, an individual may receive tax documents from their employer or bank. To use commercially available tax preparation software, data may need to be extracted from the documents. The individual may take a digital image of a given tax document and send the image to a digital fingerprint generator used by the tax preparation software.

[0041] At step 310, an image normalizing component reduces the resolution of the digital image, but maintains the aspect ratio. Reducing the resolution increases the speed of the segmentation process of step 315. At step 315, a segmentation component identifies features of the image, segments the image, and generates a boundary around each feature. Boundaries may be formed around each feature by blurring each feature and then eroding the blurred feature.

[0042] At step 320, a dimension calculator determines the coordinates of diagonally opposite corners (e.g., an upper left corner and a lower right corner) of each rectangle. A centroid calculator uses the coordinates to compute a centroid of each rectangle.

[0043] At step 325, a centroid plotting component creates a second image. In one embodiment, the second image is blank and the same size as the received image. At step 330, the centroid plotting component plots a pixel on the second image for each centroid. Each pixel is located at the same coordinates as the corresponding centroid in the received image.

[0044] At step 335, an RGB encoder adjusts the color of each pixel to represent the dimensions of a corresponding rectangle. For example, the RGB channels of each pixel may be modified to indicate a height, a width, and a ratio of the height to width of the corresponding rectangle, respectively. An RGB encoder may also adjust an alpha channel of one or more pixels to make such pixels transparent. For example, a low alpha value may be assigned to a pixel that corresponds to a feature that does not contribute to generating a fingerprint that accurately identifies the form being evaluated. Features that do not contribute to the generated fingerprint include a dust particle on the image of a form or a border around a form. The second image, which contains the encoded pixels, represents a digital fingerprint of the form depicted in the received image.

[0045] At step 340, an image normalizing component reduces the second image (i.e., the fingerprint) to a predetermined size. The digital fingerprint can be stored in a form database or compared to other fingerprints in a form database. Reducing the size of the fingerprint reduces the time needed to compare the fingerprint to other fingerprints in a form database.

[0046] Figure 4 illustrates a method 400 for identifying a form using a digital fingerprint, according to one embodiment. As shown, method 400 begins at step 405 where a digital fingerprint generator receives a digital image of a form. An individual may send or upload the digital image to a server configured to create a digital fingerprint of a form. For example, an individual may take an image of a form using a mobile device and upload the image to a server for commercially available tax preparation software. At step 410, a digital fingerprint is generated as discussed with reference to figure 3.

[0047] At step 415, to identify a version of a form corresponding to the generated fingerprint, a feature analysis component compares the generated fingerprint to other fingerprints stored in a form database. For example, a form database may contain digital fingerprints for various forms, where the layout of and data in each form are different. Each form in the database may also vary by an agency that created the form, a State that issued the form, and/or a year the form was issued.

[0048] The feature analysis component may use computer-vision feature- detection methods to detect features of the generated fingerprint and features of a given fingerprint in the database. The features detected in the two forms are analyzed and a distance between the two fingerprints is determined. The distance between the two forms may be determined using a Hamming distance or a Euclidean distance. To determine whether the fingerprints match, the distance between the fingerprints is compared to a predetermined distance measure threshold. If the distance is the minimum distance measure that satisfies the distance measure threshold, the two fingerprints match and the form corresponding to the generated fingerprint can be recognized as an instance of the form corresponding to the matching fingerprint in the database. For example, if the matching fingerprint in the database corresponds to a W-2 tax form issued by the IRS for 2014, the form in the received image that corresponds to the generated fingerprint is the same W-2 tax form issued by the IRS for 2014. Thus, attributes of the form in the digital image can be modified to indicate that the form was issued by the IRS for the 2014 tax year.

[0049] Figure 5A illustrates an original digital image of example forms, according to one embodiment. Figure 5B illustrates corresponding digital fingerprints, according to one embodiment. Figures 5A and 5B correspond to Figure 5 of the priority application but have been changed to represent the colors of Figure 5 of the priority application.

[0050] As shown, the original digital image of example forms in Figure 5A contains three separate forms. An image processing component may process the image received from a client device. For example, the image processing component may de-skew the image, remove any keystoning, reduce the resolution of the image, perform color correction, perform binarization, etc.

[0051] A segmentation component may locate text and other features (i.e., groups of pixels) in the image using computer-vision feature-detection methods. For example, the image may be segmented into regions where each region corresponds to a feature in the image. A rectangular boundary is generated around each feature by blurring and eroding the feature. Dimensions of each rectangle are determined using diagonally opposite corners of the rectangles and are used to calculate a centroid of each rectangle. A centroid plotting component may create a second image that is blank and plot a pixel for each centroid in the second image. Dimensions of the second image may be the same as the dimensions of the received image after it is processed. An RGB encoder may modify a red, green, and blue channel of each pixel to represent the dimensions of the corresponding rectangle. For example, the red channel may be modified to represent a height of the corresponding rectangle, the green channel may be modified to represent a width of the corresponding rectangle, and the blue channel may be modified to represent a ratio of the height to the width of the corresponding rectangle. The RGB encoder may also assign a value to an alpha channel of one or more pixels. The alpha channel, which represents a level of transparency of a pixel, may be used to identify features of a form that do not contribute to generating a unique digital fingerprint of that form. For example, a dust particle on the image of a form and a border around a form may not contribute to generating a unique form because such features do not represent data that would be extracted from the form.

[0052] Once each pixel is plotted and the RGB channels are encoded, the blank image (with the encoded pixels) is the digital fingerprint of a corresponding form. The digital fingerprint represents the spatial relationship, size and importance of each image feature. As depicted in Figure 5B, each symbol corresponds to a color in Figure 5 (the corresponding fingerprint 510) of the priority application. For example, a center point of each 'X' in Figure 5B represents a red pixel in the corresponding fingerprint 510 of the priority application. Similarly, a center point of each '+' in Figure 5B represents a yellow pixel in the corresponding fingerprint 510 of the priority application and a center point of each Ό' represents an orange pixel in the corresponding fingerprint 510 of the priority application.

[0053] Figure 6 illustrates an example computing system 600 configured to identify a tax form using a digital fingerprint, according to one embodiment. As shown, the computing system 600 includes, without limitation, a central processing unit (CPU) 605, a network interface 615, a memory 620, and storage 645, each connected to a bus 617. The computing system 600 may also include an I/O device interface 610 connecting I/O devices 612 (e.g., keyboard, display, mouse devices, image capture devices, etc.) to the computing system 600. Further, the computing elements shown in computing system 600 may correspond to a physical computing system (e.g., a system in a data center) or may be a virtual computing instance executing within a computing cloud.

[0054] The CPU 605 retrieves and executes programming instructions stored in the memory 620 as well as stored in the storage 645. The bus 617 is used to transmit programming instructions and application data between the CPU 605, I/O device interface 610, storage 645, network interface 615, and memory 620. Note, CPU 605 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like, and the memory 620 is generally included to be representative of a random access memory. The storage 645 may be a disk drive or flash storage device. Although shown as a single unit, the storage 645 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, removable memory cards, optical storage, network attached storage (NAS), or a storage area-network (SAN).

[0055] Illustratively, the memory 620 includes an image processing component 622 including segmentation component 624 and feature analysis component 626, and a digital fingerprint generator 630 including image normalizing component 632, dimension calculator 634, centroid calculator 636, centroid plotting component 638, and RGB encoder 640. In certain aspects, these components may correspond to the components of the server computer 120 described with reference to figure 2.

[0056] For example, image normalizing component 632 may reduce a resolution of a received digital image of a form. Segmentation component 624 locates features in the image and segments the image into regions corresponding to each feature. Segmentation component 624 also generates a rectangular boundary around each feature. Dimension calculator 634 determines a height and a width of each rectangle. Centroid calculator 636 uses the height and width to determine a centroid of each rectangle. Centroid plotting component 638 creates a blank image and plots a pixel for each calculated centroid on the blank image.

[0057] Each pixel may be located on the blank image at the same coordinates as coordinates of a corresponding centroid in the received image. RGB encoder 640 modifies the red, green, and blue color channels of each pixel to represent the height, width, and ratio of the height and width of the corresponding rectangle. The blank image with the encoded pixels is the digital fingerprint of the form in the received image. Feature analysis component 626 compares the digital fingerprint of the form in the received image to fingerprints stored in form database 647.

[0058] It may be noted that, descriptions of embodiments of the present disclosure are presented above for purposes of illustration, but embodiments of the present disclosure are not intended to be limited to any of the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

[0059] In the preceding, reference is made to embodiments presented in this disclosure. However, the scope of the present disclosure is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice contemplated embodiments. Furthermore, although embodiments disclosed herein may achieve advantages over other possible solutions or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the scope of the present disclosure. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to "the invention" shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).

[0060] Aspects of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "component," "circuit," "module" or "system." Furthermore, aspects of the present disclosure may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

[0061] Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples a computer readable storage medium include: an electrical connection having one or more wires, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the current context, a computer readable storage medium may be any tangible medium that can contain, or store a program.

[0062] The flowcharts and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by special- purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

[0063] While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.