Apparatus, method, and computer-readable storage medium for determining a rotation angle of text
First Claim
Patent Images
1. An apparatus for determining a rotation angle of text within an image, the apparatus comprising:
- circuitry configured tocompute, 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, anddetermine the rotation angle of the text by comparing the ratio to a threshold value.
2 Assignments
0 Petitions
Accused Products
Abstract
An apparatus, method, and computer-readable storage medium for determining a rotation angle of text. The method includes computing, for each object of a plurality of objects included in text within an image, a distance to a closest neighboring object, computing an average distance of the distances to the closest neighboring objects, determining 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 determining a rotation angle of the text by comparing the ratio to a threshold value.
19 Citations
17 Claims
-
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. - View Dependent Claims (2, 3, 4, 5)
-
6. A method comprising:
-
computing, for each object of a plurality of objects included in text within an image, a distance to a closest neighboring object; computing an average distance of the distances to the closest neighboring objects; determining 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 determining a rotation angle of the text by comparing the ratio to a threshold value. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. A non-transitory computer-readable storage medium including computer executable instructions, wherein the instructions, when executed by a computer, cause the computer to perform a method, the method comprising:
-
computing, for each object of a plurality of objects included in text within an image, a distance to a closest neighboring object; computing an average distance of the distances to the closest neighboring objects; determining 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 determining a rotation angle of the text by comparing the ratio to a threshold value. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification