# US 2024/0202294 A1 · Systems and methods for validating and extracting data dynamically from images of identification documents

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202294 A1
- Document ID: US20240202294A1
- Status: Published application
- Kind: A1
- Application number: 18/066,514
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Shannon YOGERST; Tania CRUZ MORALES
- Web page: https://patentgrep.com/patent/US20240202294A1

## CPC

- G06F 21/31: User authentication
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/82: using neural networks
- G06V 30/274: {Syntactic or semantic context, e.g. balancing}
- G06V 30/40: Document-oriented image-based pattern recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

System and methods for extracting data from and authenticating digital images of documents. The system may receive first digital image data. The system may determine a first image type of the first digital image data. The system may determine a first version identifier based on the first digital image data. The system may determine a first ruleset. The system may determine a first set of pixel coordinate ranges for authenticating digital images. The system may determine a first authentication status for the first digital image. The system may determine a second portion of the first digital image at a second set of pixel coordinate ranges. The system may compare a first portion to the second portion. The system may determine a second ruleset. The system may update the image ruleset database to include the second ruleset.

## Claims

### Claim 1

A system for dynamic data validation and data extraction from images of identification documents received over computer network communications, the system comprising:
one or more processors; and
a non-transitory, computer-readable medium comprising instructions that, when executed by the one or more processors, cause operations comprising:
receiving first digital image data over a computer network, wherein the first digital image data comprises a first digital image of an identification document;
determining a first image type of the first digital image data, wherein the first image type indicates an issuing authority for the identification document;
determining a first version identifier based on the first digital image data, wherein the first version identifier indicates a design standard for the identification document;
based on the first image type and the first version identifier, determining a first ruleset, from an image ruleset database, for processing the first digital image data, wherein the image ruleset database comprises a plurality of rulesets for dynamically validating and extracting inputted data corresponding to predetermined image types and predetermined version identifiers;
determining, based on the first ruleset, a first set of pixel coordinate ranges for authenticating digital images having the first image type and the first version identifier, wherein the first set of pixel coordinate ranges indicates portions of the first digital image that comprise identification data and security features;
based on determining the first ruleset, determining a first authentication status for the first digital image based on processing a first portion of the first digital image at the first set of pixel coordinate ranges, wherein the first authentication status comprises an indication of document authenticity;
based on the first authentication status, determining a second portion of the first digital image at a second set of pixel coordinate ranges, wherein the second set of pixel coordinate ranges indicates the second portion of the first digital image that includes authentication data;
comparing the first portion to the second portion;
based on comparing the first portion to the second portion, determining a second ruleset for processing the first digital image data, wherein the second ruleset comprises a third set of pixel coordinate ranges corresponding to an addition of the first set of pixel coordinate ranges and the second set of pixel coordinate ranges;
updating the image ruleset database to include the second ruleset;
based on determining a third portion of the first digital image at the third set of pixel coordinate ranges, determining a second authentication status based on the second ruleset; and
generating, for display on a user interface, an indication of the second authentication status.

### Claim 2

A method for dynamic data validation and data extraction from images received over computer network communications, the method comprising:
receiving first digital image data over a computer network, wherein the first digital image data comprises a first digital image;
determining a first image type of the first digital image data;
determining a first version identifier based on the first digital image data;
based on the first image type and the first version identifier, determining a first ruleset, from an image ruleset database, for processing the first digital image data, wherein the image ruleset database comprises a plurality of rulesets for dynamically validating and extracting inputted data corresponding to predetermined image types and predetermined version identifiers;
determining, based on the first ruleset, a first set of pixel coordinate ranges for authenticating digital images having the first image type and the first version identifier;
based on determining the first ruleset, determining a first authentication status for the first digital image based on processing a first portion of the first digital image at the first set of pixel coordinate ranges;
based on the first authentication status, determining a second portion of the first digital image at a second set of pixel coordinate ranges, wherein the second set of pixel coordinate ranges indicates the second portion of the first digital image that includes authentication data;
comparing the first portion to the second portion;
based on comparing the first portion to the second portion, determining a second ruleset for processing the first digital image data; and
updating the image ruleset database to include the second ruleset.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining a second authentication status based on the second ruleset; and
generating, for display on a user interface, a confirmation of the second authentication status.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the second authentication status based on the second ruleset comprises:
retrieving, from the second ruleset, authentication status identifiers corresponding to the first image type;
processing a plurality of portions of the first digital image for inclusion of one or more of the authentication status identifiers; and
detecting one or more of the authentication status identifiers in the second portion.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining the second authentication status based on the second ruleset comprises:
generating a validation request to validate the second ruleset, wherein the validation request comprises the second ruleset;
transmitting, to a user device on the computer network, the validation request; and
receiving, from the user device, a validation message, wherein the validation message comprises an indication of a validity of the second ruleset.

### Claim 6 (depends on 2)

The method of claim 2, wherein determining the first image type of the first digital image data comprises:
generating, using an optical character recognition model, a plurality of alphanumeric strings from the first digital image;
determining a title text string from the plurality of alphanumeric strings; and
based on the title text string, determining the first image type.

### Claim 7 (depends on 2)

The method of claim 2, wherein determining the first image type of the first digital image data comprises:
inputting, into an image recognition convolutional neural network model, the first digital image, wherein the image recognition convolutional neural network model was trained with images of identification documents and labels indicating document types; and
generating, from the image recognition convolutional neural network model, the first image type.

### Claim 8 (depends on 2)

The method of claim 2, wherein determining the first version identifier of the first digital image data comprises:
generating, using an optical character recognition model, a plurality of alphanumeric strings from the first digital image;
determining an issue year from the plurality of alphanumeric strings; and
based on the issue year, determining the first version identifier.

### Claim 9 (depends on 2)

The method of claim 2, further comprising:
receiving second digital image data, wherein the second digital image data comprises a second digital image;
based on receiving the second digital image data, generating a second image type and a second version identifier;
determining that the second image type matches the first image type and that the second version identifier matches the first version identifier; and
based on determining that the second image type matches the first image type and that the second version identifier matches the first version identifier, generating, for the second digital image data, a second authentication status based on the second ruleset.

### Claim 10 (depends on 2)

The method of claim 2, wherein determining the first authentication status comprises:
extracting security data from the first portion of the first digital image;
retrieving a plurality of authentication conditions from the first ruleset;
comparing the security data with each authentication condition from the plurality of authentication conditions; and
based on comparing the security data with each authentication condition from the plurality of authentication conditions, determining the first authentication status.

### Claim 11 (depends on 2)

The method of claim 2, wherein determining the first authentication status comprises:
retrieving, from the first ruleset, a first authentication element, wherein the first authentication element is associated with the first set of pixel coordinate ranges;
determining that the first portion of the first digital image includes the first authentication element at the first set of pixel coordinate ranges; and
based on determining that the first portion of the first digital image includes the first authentication element, generating a confirmation that the first digital image is authentic.

### Claim 12 (depends on 2)

The method of claim 2, wherein determining the first authentication status comprises:
generating a vector representation of the first digital image;
inputting the vector representation into a convolutional neural network for determining a probability of authenticity;
based on inputting the vector representation into the convolutional neural network, generating the probability of authenticity for the first digital image; and
based on the probability of authenticity, determining the first authentication status.

### Claim 13 (depends on 2)

The method of claim 2, wherein determining the second portion of the first digital image comprises:
determining, using optical character recognition, a text field on the first digital image;
determining that the text field comprises the authentication data; and
based on determining that the text field comprises the authentication data, determining the second set of pixel coordinate ranges based on a location of the text field on the first digital image.

### Claim 14 (depends on 2)

The method of claim 2, wherein comparing the first portion to the second portion comprises:
determining a common set of pixel coordinate ranges, wherein the first set of pixel coordinate ranges and the second set of pixel coordinate ranges both encapsulate the common set of pixel coordinate ranges;
determining a first area associated with the first set of pixel coordinate ranges, a second area associated with the second set of pixel coordinate ranges, and a third area associated with the common set of pixel coordinate ranges;
calculating an overlap metric between the first set of pixel coordinate ranges and the second set of pixel coordinate ranges based on the first area, the second area, and the third area; and
comparing the overlap metric with a threshold overlap metric.

### Claim 15 (depends on 2)

The method of claim 2, wherein, based on comparing the first portion to the second portion, determining the second ruleset comprises:
determining a third set of pixel coordinate ranges that includes the first set of pixel coordinate ranges and the second set of pixel coordinate ranges;
determining a plurality of authentication elements included in the first portion of the first digital image and the second portion of the first digital image; and
generating the second ruleset to include the third set of pixel coordinate ranges and the plurality of authentication elements.

### Claim 16 (depends on 2)

The method of claim 2, wherein, based on comparing the first portion to the second portion, determining the second ruleset comprises:
determining a plurality of authentication elements included in the second portion of the first digital image; and
generating the second ruleset to include the second set of pixel coordinate ranges and the plurality of authentication elements.

### Claim 17

A non-transitory, computer-readable medium comprising instructions that, when executed by one or more processors, causes the one or more processors to perform operations comprising:
receiving first digital image data over a computer network, wherein the first digital image data comprises a first digital image;
determining a first image type of the first digital image data;
determining a first version identifier based on the first digital image data;
based on the first image type and the first version identifier, determining a first ruleset, from an image ruleset database, for processing the first digital image data, wherein the image ruleset database comprises a plurality of rulesets for dynamically validating and extracting inputted data corresponding to predetermined image types and predetermined version identifiers;
determining, based on the first ruleset, a first set of pixel coordinate ranges for authenticating digital images having the first image type and the first version identifier;
based on determining the first ruleset, determining a first authentication status for the first digital image based on processing a first portion of the first digital image at the first set of pixel coordinate ranges;
based on the first authentication status, determining a second portion of the first digital image at a second set of pixel coordinate ranges, wherein the second set of pixel coordinate ranges indicates the second portion of the first digital image that includes authentication data;
comparing the first portion to the second portion;
based on comparing the first portion to the second portion, determining a second ruleset for processing the first digital image data; and
updating the image ruleset database to include the second ruleset.

### Claim 18 (depends on 17)

The non-transitory, computer-readable medium of claim 17, wherein the instructions further cause the one or more processors to perform operations comprising:
determining a second authentication status based on the second ruleset; and
generating, for display on a user interface, a confirmation of the second authentication status.

### Claim 19 (depends on 17)

The non-transitory, computer-readable medium of claim 17, wherein the instructions for determining the first image type of the first digital image data cause the one or more processors to perform operations comprising:
generating, using an optical character recognition model, a plurality of alphanumeric strings from the first digital image;
determining a title text string from the plurality of alphanumeric strings; and
based on the title text string, determining the first image type.

### Claim 20 (depends on 17)

The non-transitory, computer-readable medium of claim 17, wherein the instructions for determining the first image type of the first digital image data cause the one or more processors to perform operations comprising:
inputting, into an image recognition convolutional neural network model, the first digital image, wherein the image recognition convolutional neural network model was trained with images of identification documents and labels indicating document types; and
generating, from the image recognition convolutional neural network model, the first image type.
