US 11,941,349 B1
Handwritten text line wrapping
Tran Minh Khuong Vu, Kanagawa (JP); and Ryohta Nomura, Kanagawa (JP)
Assigned to Lenovo (Singapore) Pte. Ltd., Singapore (SG)
Filed by Lenovo (Singapore) Pte. Ltd., Singapore (SG)
Filed on Sep. 12, 2022, as Appl. No. 17/942,531.
Int. Cl. G06F 17/00 (2019.01); G06F 40/166 (2020.01); G06V 30/244 (2022.01); G06V 30/414 (2022.01)
CPC G06F 40/166 (2020.01) [G06V 30/2455 (2022.01); G06V 30/414 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for handwritten text line wrapping, comprising:
obtaining, from a user, at least two words of handwritten text on a screen;
creating a bounding box around each of the at least two words of handwritten text;
creating at least one line-break character for the at least two words of handwritten text;
determining highest and lowest points in each line of the at least two words of handwritten text, wherein a lower limit of each line is at least one baseline for the at least two words of handwritten text;
adjusting the bounding box around each of the at least two words of handwritten text based on the at least one baseline to obtain a plurality of adjusted bounding boxes, wherein all the adjusted bounding boxes have a same height so that all the at least two words of handwritten text in a same line also have a same height;
generating, on the screen, a text box;
moving, on the screen, at least one of the at least two words of handwritten text from a first line of at least one line of handwritten text to a second line of the at least one line of handwritten text, wherein the second line of handwritten text fits within the text box; and
adjusting at least one gap between the at least one line of handwritten text.