Patent Document ID: 9552527
Application ID: 14837766

Base Claim:
1. An apparatus for determining a rotation angle of text within an image, the apparatus comprising: circuitry configured to compute, for each object of a plurality of objects included in the text, a distance to a closest neighboring object, compute an average distance of the distances to the closest neighboring objects, determine a ratio between the average distance and an average font stroke width, the average font stroke width being an average of a font stroke width of each of the plurality of objects, and determine the rotation angle of the text by comparing the ratio to a threshold value.

---

Claim 5:
5. The apparatus of claim 1 , wherein the circuitry is further configured to, prior to computing the distance to the closest neighboring object for each object, determine one or more text blocks of the text within the image, each text block including a plurality of objects, determine, for each text block, whether the text block has a vertical orientation or a horizontal orientation, and compute the distance to the closest neighboring object for each object in a text block, in response to determining that the text block has a vertical orientation.