IP Library Granted Patent US 11,941,349
Granted Patent B1
US 11,941,349 · App. 17/942,531 · Granted Mar 26, 2024

Handwritten text line wrapping

Inventors: Tran Minh Khuong Vu (Kanagawa, JP); Ryohta Nomura (Kanagawa, JP)
Assignee: Lenovo (Singapore) Pte. Ltd.
G06F40/166G06V30/2455G06V30/414
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,941,349
App. No.
17/942,531
Granted
Mar 26, 2024
Kind
B1
Abstract

A computer-implemented method for handwritten text line wrapping includes: obtaining, from a user, at least two words of handwritten text on a screen; determining an original bounding box for the at least two words; creating at least one line-break character for the at least two words; determining at least one baseline for the at least two words; determining a new bounding box for the at least two words based on the at least one baseline; generating, on the screen, a text box; moving, on the screen, at least one of the at least two words 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.

Claims (60)

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.

2. The method of claim 1 , further comprising:

detecting, on the screen from the user, a gesture to adjust at least one dimension of the text box;

adjusting the at least one dimension of the text box to obtain an adjusted textbox; and

readjusting the at least one gap between the two lines of handwritten text such that the two lines of handwritten text fit within the adjusted textbox.

3. The method of claim 1 , wherein:

a first boundary of each of the adjusted bounding boxes is determined by a minimum vertical coordinate of the bounding box around each of the at least two words of handwritten text, and

a second boundary of each of the adjusted bounding boxes is determined by a maximum vertical coordinate of the bounding box around each of the at least two words of handwritten text.

4. The method of claim 2 , wherein the at least two words of handwritten text and the gesture are entered by the user with a stylus or a finger on a touch screen.

5. The method of claim 1 , wherein the at least one gap between the at least one line of handwritten text has a common gap length.

6. The method of claim 1 , wherein the at least one baseline of the at least one line of handwritten text has a vertical coordinate determined by the at least two words of handwritten text.

7. The method of claim 1 , wherein at least one explicit line break is preserved upon moving the at least one of the at least two words of handwritten text.

8. A non-transitory computer readable medium storing instructions executable by a computer processor, the instructions comprising functionality for:

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; and

adjusting at least one gap between the at least one line of handwritten text.

9. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 8 , the instructions further comprising functionality for:

detecting, on the screen from the user, a gesture to adjust at least one dimension of the text box;

adjusting the at least one dimension of the text box to obtain an adjusted textbox; and

readjusting the at least one gap between the two lines of handwritten text such that the two lines of handwritten text fit within the adjusted textbox.

10. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 8 , wherein:

a first boundary of each of the adjusted bounding box is determined by a minimum vertical coordinate of the bounding box around each of the at least two words of handwritten text, and

a second boundary of each of the adjusted bounding box is determined by a maximum vertical coordinate of the bounding box around each of the at least two words of handwritten text.

11. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 9 , wherein the at least two words of handwritten text and the gesture are entered by the user with a stylus or a finger on a touch screen.

12. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 8 , wherein the at least one gap between the at least one line of handwritten text has a common length.

13. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 8 , wherein the at least one baseline of the at least one line of handwritten text has a vertical coordinate determined by the at least two words of handwritten text.

14. The non-transitory computer readable medium storing instructions executable by a computer processor of claim 8 , wherein at least one line break is preserved upon moving the at least one of the at least two words of handwritten text.

15. A system comprising functionality for handwritten text line wrapping, comprising:

a screen configured to receive input from a user and display the input to the user; and

a computer processor, configured to:

obtain, from the user, at least two words of handwritten text on the screen,

create a bounding box around each of the at least two words of handwritten text,

create at least one line-break character for the at least two words of handwritten text,

determine 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,

move, 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, and

adjust at least one gap between the at least one line of handwritten text.

16. The system of claim 15 , wherein the computer processor is further configured to:

detect, on the screen from the user, a gesture to adjust at least one dimension of the text box;

adjust the at least one dimension of the text box to obtain an adjusted textbox; and

readjust the at least one gap between the two lines of handwritten text such that the two lines of handwritten text fit within the adjusted textbox.

17. The system of claim 15 , wherein:

a first boundary of each of the adjusted bounding boxes is determined by a minimum vertical coordinate of the bounding box around each of the at least two words of handwritten text, and

a second boundary of each of the adjusted bounding boxes is determined by a maximum vertical coordinate of the bounding box around each of the at least two words of handwritten text.

18. The system of claim 16 , wherein the at least two words of handwritten text and the gesture are entered by the user with a stylus or a finger on a touch screen.

19. The system of claim 15 , wherein the at least one gap between the at least one line of handwritten text has a common length.

20. The system of claim 15 , wherein the at least one baseline of the at least one line of handwritten text has a vertical coordinate determined by the at least two words of handwritten text.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 20, 2025
From: LENOVO (SINGAPORE) PTE LTD.
To: LENOVO PC INTERNATIONAL LIMITED
Reel/Frame 070266/0946 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 20, 2025
From: LENOVO PC INTERNATIONAL LIMITED
To: LENOVO SWITZERLAND INTERNATIONAL GMBH
Reel/Frame 070269/0092 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 7, 2022
From: LENOVO (UNITED STATES) INC.
To: LENOVO (SINGAPORE) PTE. LTD
Reel/Frame 062078/0718 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 6, 2022
From: VU, TRAN MINH KHUONG; NOMURA, RYOHTA
To: LENOVO (UNITED STATES) INC.
Reel/Frame 061668/0292 →