# US 12,225,168 B2 · Systems and methods for measuring document legibility

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

- Number: US 12,225,168 B2
- Document ID: US12225168B2
- Status: Granted
- Kind: B2
- Application number: 18/593,608
- Filed: 2024-03-01
- Published: 2024-06-20
- Granted: 2025-02-11
- Earliest claimed: 2022-08-30
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Aaron Attar
- Web page: https://patentgrep.com/patent/US12225168B2

## CPC

- H04N 1/32625: {Fault detection}
- G06V 10/82: using neural networks
- G06V 30/133: {Evaluation of quality of the acquired characters}
- G06V 30/41: Analysis of document content (recognition of printed characters based on code marks G06V30/224)
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06V 2201/10: Recognition assisted with metadata
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed embodiments may include a system for measuring document legibility. The system may automatically receive document image data from a user device. The system may then process the image data using optical character recognition to create language data containing a plurality of words. The system may then obtain an overall number by counting the plurality of words in the language data. The system may then identify and count the common words within the plurality of words by comparing the plurality of words to words in a database. A score may be obtained by dividing the common word number by the overall number. The score may then be compared to a legibility threshold. If the score is below the threshold, the system may determine the document is illegible. If the score is above the threshold, the system may determine the document is legible.

## Claims

### Claim 1

A system comprising:
one or more processors;
memory in communication with the one or more processors and storing instructions that are configured to cause the system to:
receive document image data of a document;
process the document image data to create language data comprising a plurality of words;
count the plurality of words in the language data to obtain an overall number;
identify common words from the plurality of words;
count the common words to obtain a common word number;
divide the common word number by the overall number to obtain a score;
determine whether the score is below a predetermined legibility threshold; and
responsive to determining the score is below the predetermined legibility threshold, indicate that the document is not legible.

### Claim 2 (depends on 1)

The system of claim 1, wherein the memory stores further instructions that are configured to cause the system to:
retrieve a list of common words from a database.

### Claim 3 (depends on 2)

The system of claim 2, wherein identifying the common words from the plurality of words further comprises:
compare each word of the plurality of words in the language data to the list of common words.

### Claim 4 (depends on 2)

The system of claim 2, wherein the memory stores further instructions that are configured to cause the system to:
receive document information regarding the document;
select certain document information; and
add the certain document information to the list of common words to create an augmented list.

### Claim 5 (depends on 4)

The system of claim 4, wherein determining which words in the language data are the common words further comprises:
comparing each word in the language data to the augmented list.

### Claim 6 (depends on 4)

The system of claim 4, wherein the predetermined legibility threshold is based on the certain document information.

### Claim 7 (depends on 4)

The system of claim 4, wherein the certain document information is a first name, a last name, an identification number, an institution name, a merchant name or combinations thereof.

### Claim 8 (depends on 1)

The system of claim 1, wherein counting the words in the language data further comprises counting words than have greater than a predetermined number of characters.

### Claim 9 (depends on 1)

The system of claim 1, wherein the memory stores further instructions that are configured to cause the system to:
generate a first graphical user interface indicating the system is processing;
transmit the first graphical user interface to a user device for display;
responsive to determining the score is below the predetermined legibility threshold:
generate a second graphical user interface to indicate that the document is not legible; and
transmit, to the user device, the second graphical user interface for display;
responsive to determining the score is above the predetermined legibility threshold:
generate a third graphical user interface indicating that the document is legible for display; and
transmit, to the user device, the third graphical user interface.

### Claim 10 (depends on 9)

The system of claim 9, wherein generating the second graphical user interface indicating that the document is not legible includes the document image data.

### Claim 11 (depends on 10)

The system of claim 10, wherein the second graphical user interface that includes the document image data shows a particular part of the document image data that is not legible.

### Claim 12

A system comprising:
one or more processors;
memory in communication with the one or more processors and storing instructions that are configured to cause the system to:
receive first image data of a document;
process the first image data to create first text data comprising a first plurality of words;
count the first plurality of words in the first text data to obtain a first overall number;
identify common words from the first plurality of words;
count the common words to obtain a first common word number;
divide the first common word number by the first overall number to obtain a first score;
determine whether the first score is above a threshold;
responsive to determining the first score is above the threshold, indicate the document is legible; and
responsive to determining the first score is below the threshold, indicate the document is not legible.

### Claim 13 (depends on 12)

The system of claim 12, wherein the memory stores further instructions that are configured to cause the system to:
responsive to determining the first score is above the threshold:
generate a first graphical user interface to indicate that the document is legible;
transmit, to a user device, the first graphical user interface for display;
responsive to determining the first score is below the threshold:
generate a second graphical user interface displaying:
the first image data;
an indication that the document is not legible; and
a prompt asking to rescan the document; and
transmit, to the user device, the second graphical user interface for display.

### Claim 14 (depends on 13)

The system of claim 13, wherein the memory stores further instructions that are configured to cause the system to:
receive, from the user device, second image data of the document;
process the second image data to create second text data comprising a second plurality of words;
count the second plurality of words in the second text data to obtain a second overall number;
identify the common words from the second plurality of words;
count the common words to obtain a second common word number;
divide the second common word number by the second overall number to obtain a second score; and
determine that the second score is above the threshold.

### Claim 15 (depends on 13)

The system of claim 13, wherein the first graphical user interface comprises an option for a user to override the prompt asking the user to rescan the document, and wherein the memory stores further instructions that are configured to cause the system to:
submit the document to a third party.

### Claim 16 (depends on 13)

The system of claim 13, wherein the first graphical user interface further indicates reasons the first score is below the threshold.

### Claim 17 (depends on 13)

The system of claim 13, wherein the second graphical user interface further indicates an alert specifying pages that are missing from the document.

### Claim 18

A method comprising:
receiving, at one or more processors, page data for each page of a plurality of pages of a document;
processing, using the one or more processors, the page data for each page to create text data comprising a plurality of words;
counting the plurality of words in the text data to obtain an overall number;
identifying, using the one or more processors, common words from the plurality of words;
counting the common words to obtain a common word number;
dividing the common word number by the overall number to obtain a score;
determining, using the one or more processors, whether the score is below a predetermined legibility threshold; and
responsive to determining the score is below the predetermined legibility threshold for an individual page of the plurality of pages, indicate that the individual page is not legible.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
determining that the document corresponds to a first document type;
determining, based on the first document type, that one or more pages are missing from the plurality of pages;
generating a first graphical user interface to indicate that the individual page is not legible showing:
the page data of the individual page; and
indicating that one or more pages of the plurality of pages are missing; and
transmitting, to a user device, the first graphical user interface for display.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
generating a second graphical user interface indicating the page is processing; and
transmitting the second graphical user interface to the user device for display.
