Patent Document ID: 10068132
Application ID: 15164594

Base Claim:
1. A system comprising: a memory that stores instructions; and one or more processors configured by the instructions to perform operations comprising: accessing an image comprising a depiction of a page region; determining portions of the image depicting text within the page region; identifying a line segment depicted in the image, the line segment having a first part within one or more of the portions of the image depicting text and a second part outside of the portions of the image depicting text; identifying a color of the line segment, based on the second part of the line segment depicted in the image outside of the portions of the image depicting text; determining a difference value between the color of the line segment and a color of each element of the portions of the image depicting text; and identifying the text by performing optical character recognition on the portions of the image depicting text while ignoring elements within the portions of the image depicting text that have the color of the line segment.

---

Claim 2:
2. The system of claim 1 , wherein the identifying of the color of the line segment comprises determining a plurality of distinct color values for the color, each of the plurality of distinct color values corresponding to a different sub-portion of the portions of the image depicting text.