US 11,954,770 B2
System and method for recreating graphical image using character recognition to reduce storage space
Jeff M. Henry, Cedar Rapids, IA (US); Reed A. Kovach, Cedar Rapids, IA (US); Todd E. Miller, Marion, IA (US); and Jason L. Wong, Marion, IA (US)
Assigned to Rockwell Collins, Inc., Cedar Rapids, IA (US)
Filed by Rockwell Collins, Inc., Cedar Rapids, IA (US)
Filed on Nov. 12, 2021, as Appl. No. 17/525,534.
Claims priority of provisional application 63/278,576, filed on Nov. 12, 2021.
Prior Publication US 2023/0154072 A1, May 18, 2023
Int. Cl. G06T 11/20 (2006.01)
CPC G06T 11/203 (2013.01) 12 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one computer readable medium; and
at least one processor communicatively coupled to the at least one computer readable medium, the at least one processor configured to:
obtain a graphical image file, the graphical image file including an image, wherein the image includes at least one portion including textual characters, wherein each textual character of the textual characters is formed of line segments; and
convert the graphical image file to at least one file including hardware directives that when executed cause a recreation of the image of the graphical image file to be drawn,
wherein a size of the at least one file is smaller than the graphical image file,
wherein the line segments of each textual character of the graphical image file are connected line segments that define a filled area, wherein at least some of the textual characters of the graphical image file are converted to character hardware directives, wherein execution of each of the character hardware directives causes at least one of a vectorized version of a textual character or a filled-triangles version of the textual character to be drawn in the recreation of the image,
wherein at least one data structure is maintained in the at least one computer readable medium, wherein the at least one data structure contains predetermined font characteristic values for predetermined characters of multiple predetermined fonts,
wherein the at least one processor being configured to convert the graphical image file to the at least one file comprises the at least one processor being configured to:
for a given textual character of the textual characters, inspect the given textual character against the predetermined font characteristic values for at least one of the following: a) a number of sections of the given textual character, b) a number of angles of each shape of the given textual character, wherein each angle of the angles is between two sections of the sections, c) for each angle or curve of the shape of the given textual character, at least one of an angle range, a curve range, or a total angle range for consecutive angles, d) a sequence of the angles of the given textual character, or e) a ratio of width to height of the given textual character;
for the given textual character, determine that the given textual character matches a given character of a given font based at least on the given textual character matching all inspected font characteristic values of the predetermined font characteristic values for the given character of the given font; and
upon determining that the given textual character matches the given character of the given font, store at least one character hardware directive that when executed causes at least one of a vectorized version or a filled-triangles version of the given textual character to be drawn;
wherein the at least one processor is further configured to:
for a second given textual character of the textual characters, inspect the second given textual character against the predetermined font characteristic values for the following: a) the number of sections of the second given textual character, b) the number of the angles of each shape of the second given textual character, c) for each angle or curve of the shape of the second given textual character, the at least one of the angle range, the curve range, or the total angle range for the consecutive angles, d) the sequence of the angles of the second given textual character, and e) the ratio of the width to the height of the second given textual character;
for the second given textual character, determine that the second given textual character fails to match any character of any font based at least on the second given textual character failing to match all inspected font characteristic values of the predetermined font characteristic values for any character of any font; and
upon determining that the second given textual character fails to match any character of any font based at least on the second given textual character failing to match all inspected font characteristic values of the predetermined font characteristic values for any character of any font, store at least one second character hardware directive that when executed causes a copied version of the second given textual character to be drawn, the copied version of the second given textual character being copied from the graphical image file.