IP Library Granted Patent US 10,417,516
Granted Patent B2
US 10,417,516 · App. 15/685,503 · Granted Sep 17, 2019

System and method for preprocessing images to improve OCR efficacy

Inventor: Willem H. Reinpoldt, III (Tarpon Springs, FL)
Assignee: VASTEC, INC.
G06K9/344G06K9/3283
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,417,516
App. No.
15/685,503
Granted
Sep 17, 2019
Kind
B2
Abstract

A system to preprocess images to increase accuracy of optical character recognition (OCR) includes a processor, and a memory coupled to the processor. The processor is configured to scan an electronically stored representation of a whole or partial document, identify an image in the electronically stored representation, and recognize row-based text within the electronically stored representation. In addition, the processor is configured to align the row-based text vertically, generate a resultant electronically stored representation of the whole or partial document having the row-based text aligned, and save the resultant electronically stored representation for subsequent OCR processing. The electronically stored representation of the whole or partial document may contain at least one image having a JPG, TIF, GIF, PNG, or BMP, type of format.

Claims (39)

1. A system to preprocess images to increase accuracy of optical character recognition (OCR), the system comprising:

a processor;

a memory coupled to the processor;

the processor configured to

scan an electronically stored representation of a whole or partial document;

identify an image in the electronically stored representation of a whole or partial document;

recognize row-based text within the electronically stored representation of a whole or partial document;

align the row-based text vertically by calculating a first text bounding rectangle for a first portion of the row-based text;

generate a resultant electronically stored representation of a whole or partial document having the row-based text aligned; and

save the resultant electronically stored representation of a whole or partial document electronically for subsequent OCR processing.

2. The system of claim 1 , wherein the electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

3. The system of claim 1 , wherein the resultant electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

4. The system of claim 1 , wherein the system is configured to operate using on-demand, continuous, single, or bulk image conversions, or any combination thereof.

5. The system of claim 1 , wherein the row-based text is vertically aligned using top, center or bottom alignment, or any combination thereof.

6. A non-transitory processor readable medium having processor instructions that are executable to cause a processor coupled to a memory to:

scan an electronically stored representation of a whole or partial document;

identify one or more images in the electronically stored representation of a whole or partial document;

recognize row-based text within the electronically stored representation of a whole or partial document;

align the row-based text vertically by calculating a first text bounding rectangle for a first portion of the row-based text;

generate a resultant electronically stored representation of a whole or partial document having the row-based text aligned; and

save the resultant representation of a whole or partial document electronically for subsequent optical character recognition (OCR) processing.

7. The non-transitory processor readable medium of claim 6 , wherein the electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

8. The non-transitory processor readable medium of claim 6 , wherein the resultant electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

9. The non-transitory processor readable medium of claim 6 , wherein the processor is configured to operate using on-demand, continuous, single, or bulk image conversions, or any combination thereof.

10. The non-transitory processor readable medium of claim 6 , wherein the row-based text is vertically aligned using top, center or bottom alignment, or any combination thereof.

11. A method to preprocess images to increase accuracy of optical recognition (OCR), the method comprising:

scanning a representation of a whole or partial document electronically stored in a memory;

identifying an image in the electronically stored representation of a whole or partial document using a processor coupled to the memory;

recognizing row-based text within the electronically stored representation of a whole or partial document using the processor;

aligning the row-based text vertically by calculating a first text bounding rectangle for a first portion of the row-based text using the processor; and

saving the resultant electronically stored representation of a whole or partial document in the memory for subsequent OCR processing.

12. The method of claim 11 , wherein the electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

13. The method of claim 11 , wherein the resultant electronically stored representation of a whole or partial document contains at least one image of a format type including but not limited to JPG, TIF, GIF, PNG, BMP, or any combination thereof.

14. The method of claim 11 , wherein the processor is configured to operate using on-demand, continuous, single or bulk image conversions, or any combination thereof.

15. The method of claim 11 , wherein the row-based text is vertically aligned using top, center or bottom alignment, or any combination thereof.

16. The method of claim 11 , wherein aligning the row-based text vertically comprises calculating a distance needed to align the first text bounding rectangle to an above adjacent text bounding rectangle.

17. The method of claim 16 , wherein aligning the row-based text vertically comprises determining whether the distance is greater than zero and less than a threshold distance.

18. The method of claim 17 , wherein aligning the row-based text vertically comprises top justifying the first text bounding rectangle to a top of the above adjacent text bounding rectangle by moving the first text bounding rectangle upwards when the distance is greater than zero and less than the threshold distance.

19. The method of claim 18 , wherein aligning the row-based text vertically comprises shifting text pixels encompassed within the first text bounding rectangle.

Assignments (2)
SECURITY INTEREST Recorded Feb 18, 2025
From: VASTEC, INC.
To: PARTNERS FOR GROWTH VII, L.P.
Reel/Frame 070242/0451 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2017
From: REINPOLDT, WILLEM H., III
To: VASTEC, INC.
Reel/Frame 043496/0907 →
Continuity (1)
Related Publication 20190065882A1 · Feb 28, 2019
Cited By (1)
US 12,731,427