hottub.patents
US 12,288,406 B2#3558727 Most CitedActiveUnited States (USPTO)Utility

Utilizing machine-learning based object detection to improve optical character recognition

0Forward Citations (#3558727 Global)
0.0/yrCitation Velocity (#3558727 Global)
0.00Citation PageRank (#3558727 Global)
66Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
19Drawings / Sheets

Abstract

The present disclosure relates to systems, methods, and non-transitory computer readable media for accurately enhancing optical character recognition with a machine learning approach for determining words from reverse text, vertical text, and atypically-sized text. For example, the disclosed systems segment a digital image into text regions and non-text regions utilizing an object detection machine learning model. Within the text regions, the disclosed systems can determine reverse text glyphs, vertical text glyphs, and/or atypically-sized text glyphs utilizing an edge based adaptive binarization model. Additionally, the disclosed systems can utilize respective modification techniques to manipulate reverse text glyphs, vertical text glyphs, and/or atypically-sized glyphs for analysis by an optical character recognition model. The disclosed systems can further utilize an optical character recognition model to determine words from the modified versions of the reverse text glyphs, the vertical text glyphs, and/or the atypically-sized text glyphs.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 66 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A non-transitory computer readable medium comprising instructions that, when executed by at least one processor, cause a computing device to: segment a digital image into a plurality of text regions and one or more non-text regions utilizing an object detection machine learning model; generate a plurality of inverted text glyphs from a reverse text region of the plurality of text regions utilizing an edge based adaptive binarization model, wherein the reverse text region depicts text characters in a text color lighter than a lightness threshold overlaid on background pixels in a background color darker than a darkness threshold; merge inverted text glyphs from the plurality of inverted text glyphs into an inverted text glyph group associated with the reverse text region; determine, utilizing the edge based adaptive binarization model, a vertical text region within the digital image by dilating the digital image in a horizontal direction and comparing dimensions of dilated bounding boxes of the plurality of text regions based on dilating the digital image, wherein the vertical text region comprises a bounding box of text characters oriented vertically with respect to the digital image; generate, from the vertical text region, a rotated text digital image comprising multiple rotated versions of the vertical text region; determine one or more words from the rotated text digital image and the inverted text glyph group utilizing an optical character recognition model; and generate, for display on a client device, a searchable digital image from the one or more words.

  2. Claim 2Depends on #1

    The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to generate the plurality of inverted text glyphs by utilizing the edge based adaptive binarization model to: invert a color scheme associated with the reverse text region by swapping a background color and a glyph color within the reverse text region; convert, from the inverted color scheme, the glyph color to black and the background color to white for the reverse text region; and generate, from the converted glyph color and the converted background color, bounding boxes for individual glyphs to indicate the plurality of inverted text glyphs.

  3. Claim 3Depends on #1

    The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to merge the inverted text glyphs into the inverted text glyph group by: determining bounding boxes for individual inverted text glyphs within the reverse text region; determining that two or more of the bounding boxes for the individual inverted text glyphs correspond to reverse text glyphs along a common line within the reverse text region; combining the two or more of the bounding boxes that are along the common line into a combined bounding box; and merging, into the inverted text glyph group, the combined bounding box with one or more additional combined bounding boxes corresponding to different lines within the reverse text region.

  4. Claim 4Depends on #3

    The non-transitory computer readable medium of claim 3, further comprising instructions that, when executed by the at least one processor, cause the computing device to: combine the two or more the bounding boxes in response to determining that the two or more of the bounding boxes are within the common line within the reverse text region and within a threshold horizontal distance of each other; and merge the combined bounding box with the one or more additional combined bounding boxes in response to determining that the combined bounding box and the one or more additional combined bounding boxes are on different lines within the reverse text region and within a threshold vertical distance of each other.

  5. Claim 5Depends on #1

    The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to determine the vertical text region by determining one or more of: a first vertically orientated bounding box including vertically arranged glyphs; ora second vertically orientated bounding box including horizontally arranged glyphs.

  6. Claim 6Depends on #1

    The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to: identify the reverse text region within the digital image from among the plurality of text regions; and determine that the digital image belongs to a reverse text category of digital images in response to identifying the reverse text region.

  7. Claim 7Depends on #1

    The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to generate the rotated text digital image by: generating a first rotated version of the vertical text region by rotating the vertical text region by a first magnitude; generating a second rotated version of the vertical text region by rotating the vertical text region by a second magnitude; and including the first rotated version and the second rotated version in the rotated text digital image.

  8. Claim 8Independent Claim

    A system comprising: one or more memory devices; and one or more processors configured to cause the system to: segment a digital image into a plurality of text regions and one or more non-text regions utilizing an object detection machine learning model; generate a plurality of inverted text glyphs from a reverse text region of the plurality of text regions utilizing an edge based adaptive binarization model, wherein the reverse text region depicts text characters in a text color lighter than a lightness threshold overlaid on background pixels in a background color darker than a darkness threshold; merge inverted text glyphs from the plurality of inverted text glyphs into an inverted text glyph group associated with the reverse text region; determine, utilizing the edge based adaptive binarization model, a vertical text region within the digital image by dilating the digital image in a horizontal direction and comparing dimensions of dilated bounding boxes of the plurality of text regions based on dilating the digital image, wherein the vertical text region comprises a bounding box of text characters oriented vertically with respect to the digital image; generate, from the vertical text region, a rotated text digital image comprising multiple rotated versions of the vertical text region; determine one or more words from the rotated text digital image and the inverted text glyph group utilizing an optical character recognition model; and generate, for display on a client device, a searchable digital image from the one or more words.

  9. Claim 9Depends on #8

    The system of claim 8, wherein the one or more processors are further configured to cause the system to generate the plurality of inverted text glyphs by utilizing the edge based adaptive binarization model to: invert a color scheme associated with the reverse text region by swapping a background color and a glyph color within the reverse text region; convert, from the inverted color scheme, the glyph color to black and the background color to white for the reverse text region; and generate, from the converted glyph color and the converted background color, bounding boxes for individual glyphs to indicate the plurality of inverted text glyphs.

  10. Claim 10Depends on #8

    The system of claim 8, wherein the one or more processors are further configured to cause the system to merge the inverted text glyphs into the inverted text glyph group by: determining bounding boxes for individual inverted text glyphs within the reverse text region; determining that two or more of the bounding boxes for the individual inverted text glyphs correspond to reverse text glyphs along a common line within the reverse text region; combining the two or more of the bounding boxes that are along the common line into a combined bounding box; and merging, into the inverted text glyph group, the combined bounding box with one or more additional combined bounding boxes corresponding to different lines within the reverse text region.

  11. Claim 11Depends on #10

    The system of claim 10, wherein the one or more processors are further configured to cause the system to: combine the two or more the bounding boxes in response to determining that the two or more of the bounding boxes are within the common line within the reverse text region and within a threshold horizontal distance of each other; and merge the combined bounding box with the one or more additional combined bounding boxes in response to determining that the combined bounding box and the one or more additional combined bounding boxes are on different lines within the reverse text region and within a threshold vertical distance of each other.

  12. Claim 12Depends on #8

    The system of claim 8, wherein the one or more processors are further configured to determine the vertical text region by determining one or more of: a first vertically orientated bounding box including vertically arranged glyphs; or a second vertically orientated bounding box including horizontally arranged glyphs.

  13. Claim 13Depends on #8

    The system of claim 8, wherein the one or more processors are further configured to cause the system to: identify the reverse text region within the digital image from among the plurality of text regions; and determine that the digital image belongs to a reverse text category of digital images in response to identifying the reverse text region.

  14. Claim 14Depends on #8

    The system of claim 8, wherein the one or more processors are further configured to cause the system to generate the rotated text digital image by: generating a first rotated version of the vertical text region by rotating the vertical text region by a first magnitude; generating a second rotated version of the vertical text region by rotating the vertical text region by a second magnitude; and including the first rotated version and the second rotated version in the rotated text digital image.

  15. Claim 15Independent Claim

    A computer-implemented method comprising: segmenting a digital image into a plurality of text regions and one or more non-text regions utilizing an object detection machine learning model; generating a plurality of inverted text glyphs from a reverse text region of the plurality of text regions utilizing an edge based adaptive binarization model, wherein the reverse text region depicts text characters in a text color lighter than a lightness threshold overlaid on background pixels in a background color darker than a darkness threshold; merging inverted text glyphs from the plurality of inverted text glyphs into an inverted text glyph group associated with the reverse text region; determining, utilizing the edge based adaptive binarization model, a vertical text region within the digital image by dilating the digital image in a horizontal direction and comparing dimensions of dilated bounding boxes of the plurality of text regions based on dilating the digital image, wherein the vertical text region comprises a bounding box of text characters oriented vertically with respect to the digital image; generating, from the vertical text region, a rotated text digital image comprising multiple rotated versions of the vertical text region; determining one or more words from the rotated text digital image and the inverted text glyph group utilizing an optical character recognition model; and generating, for display on a client device, a searchable digital image from the one or more words.

  16. Claim 16Depends on #15

    The computer-implemented method of claim 15, wherein generating the plurality of inverted text glyphs comprises utilizing the edge based adaptive binarization model to: invert a color scheme associated with the reverse text region by swapping a background color and a glyph color within the reverse text region; convert, from the inverted color scheme, the glyph color to black and the background color to white for the reverse text region; and generate, from the converted glyph color and the converted background color, bounding boxes for individual glyphs to indicate the plurality of inverted text glyphs.

  17. Claim 17Depends on #15

    The computer-implemented method of claim 15, wherein merging the inverted text glyphs into the inverted text glyph group comprises: determining bounding boxes for individual inverted text glyphs within the reverse text region; determining that two or more of the bounding boxes for the individual inverted text glyphs correspond to reverse text glyphs along a common line within the reverse text region; combining the two or more of the bounding boxes that are along the common line into a combined bounding box; and merging, into the inverted text glyph group, the combined bounding box with one or more additional combined bounding boxes corresponding to different lines within the reverse text region.

  18. Claim 18Depends on #17

    The computer-implemented method of claim 17, further comprising: combining the two or more the bounding boxes in response to determining that the two or more of the bounding boxes are within the common line within the reverse text region and within a threshold horizontal distance of each other; and merging the combined bounding box with the one or more additional combined bounding boxes in response to determining that the combined bounding box and the one or more additional combined bounding boxes are on different lines within the reverse text region and within a threshold vertical distance of each other.

  19. Claim 19Depends on #15

    The computer-implemented method of claim 15, wherein determining the vertical text region comprises determining one or more of: a first vertically orientated bounding box including vertically arranged glyphs; or a second vertically orientated bounding box including horizontally arranged glyphs.

  20. Claim 20Depends on #15

    The computer-implemented method of claim 15, further comprising: identifying the reverse text region within the digital image from among the plurality of text regions; and determining that the digital image belongs to a reverse text category of digital images in response to identifying the reverse text region.

Technical Overview & Description

BACKGROUND Existing hardware and software platforms provide systems and methods for recognizing characters or glyphs within digital images. For example, some existing character recognition systems utilize various types of optical character recognition models with varying capabilities to determine text glyphs depicted within digital images. Despite these advances, however, many conventional character recognition systems continue to demonstrate a number of deficiencies or drawbacks, particularly in their accuracy of identifying text glyphs in digital images. For example, many conventional character recognition systems inaccurately determine text glyphs in special cases. Indeed, some existing systems inaccurately identify (or are incapable of identifying) text glyphs presented with particular characteristics within a digital image. For instance, due to the limitations of conventional character recognition systems, many existing systems inaccurately determine text glyphs arranged vertically. Indeed, conventional systems frequently extract glyphs in a left-to-right fashion according to an ordinary reading arrangement, and these systems are often not adaptable to identify glyphs that deviate from conventional arrangements. In addition, some existing systems inaccurately identify reverse text glyphs, where the text glyphs are presented in a low contrast color against a high contrast background. Indeed, because many conventional character recognition systems are designed to identify dark text against a light background, these systems often miss text glyphs within reverse text regions of a digital image. In some cases, existing systems treat reverse text regions as graphics (as opposed to text) and ignore text glyphs within these regions entirely. As another example, conventional character recognition systems often inaccurately determine text glyphs that are outside of a particular size range. Specifically, many existing systems either miss or ignore text glyphs that are sma

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (66)

Non-Patent Literature (10)

  • Javed et al.,
  • “
  • Automatic page segmentation without decompressing the run-length compressed text documents.
  • ”
  • arXiv preprint arXiv:2007.01142 (2020). (Year: 2020).
  • Eikvil,
  • “
  • Optical character recognition.
  • ”
  • citeseer. ist. psu. edu/142042. html 26 (1993). (Year: 1993).