Patent attributes
A method of determining the orientation of text is disclosed herein. An embodiment of the method may comprise measuring the contrasts associated with an upper edge of the text relative to a background. A first length of the upper edge of text having contrasts that are at least a first preselected value is measured. In addition to measuring the contrasts associated with the upper edge of the text, contrasts associated with a lower edge of the text are measured relative to the background. A second length of the lower edge of text having contrasts that are at least the first preselected value is then measured. The first length is compared to the second length, wherein the text is improperly oriented if the first length is greater than the second length.