Text extraction using optical character recognition
AssigneeCapital One Services, LLC
InventorsChris Demchalk, Ryan M. Parker, Lokesh Vijay Kumar, Brian Fromknecht
Life of this patent
Estimating the term…
Abstract
Provided herein are systems and methods for extracting text from a document. Different optical character recognition (OCR) tools are used to extract different versions of the text in the document. Metrics evaluating the quality of the extracted text are compared to identify and select higher quality extracted text. A selected portion of text is compared to a threshold to ensure minimal quality. The selected portion of text is then saved. Error correction can be applied to the selected portion of text based on errors specific to the OCR tools or the document contents.
Claims20
A method, comprising:
- extracting, by at least one processor, a first set of text from a document using a first optical character recognition (OCR) tool;
- extracting, by the at least one processor, a second set of text from the document using a second OCR tool;
- comparing, by the at least one processor, a first metric of the first set of text to a second metric of the second set of text, the first metric and the second metric measuring a respective document-level OCR quality of the first set of text and the second set of text;
- selecting, by the at least one processor, a portion of text from between the first set of text and the second set of text based on the first metric and the second metric;
- and
- storing, by the at least one processor, the selected portion of text in a searchable format in response to the portion of text having a third metric greater than a threshold, the third metric measuring a page-level OCR quality of the portion of text.
A system, comprising:
- one or more processors;
- memory communicatively coupled to the one or more processors, the memory storing instructions which, when executed by the one or more processors, cause the one or more processors to:
- extracting a first set of text from a document using a first optical character recognition (OCR) tool;
- extracting, by the at least one processor, a second set of text from the document using a second OCR tool;
- comparing a first metric of the first set of text to a second metric of the second set of text, the first metric and the second metric measuring a respective document-level OCR quality of the first set of text and the second set of text;
- selecting a portion of text from between the first set of text and the second set of text based on the first metric and the second metric;
- and
- storing the selected portion of text in a searchable format in response to the selected portion of text having a third metric greater than a threshold, the third metric measuring a page-level OCR quality of the selected portion of text.
A non-transitory computer-readable storage medium having computer-readable code thereon, the non-transitory computer-readable storage medium including instructions configured to cause a computer system to perform operations, comprising:
- extracting a first set of text from a document using a first optical character recognition (OCR) tool;
- extracting, by the at least one processor, a second set of text from the document using a second OCR tool;
- comparing a first metric of the first set of text to a second metric of the second set of text, the first metric and the second metric measuring a respective document-level OCR quality of the first set of text and the second set of text;
- selecting a portion of text from between the first set of text and the second set of text based on the first metric and the second metric;
- and
- storing the selected portion of text in a searchable format in response to the selected portion of text having a third metric greater than a threshold, the third metric measuring a page-level OCR quality of the selected portion of text.
Dependencies are inferred from the claim text.