|
(11) | EP 2 650 766 A1 |
| (12) | EUROPEAN PATENT APPLICATION |
| published in accordance with Art. 153(4) EPC |
|
|
|
|
|||||||||||||||||||
| (54) | MULTI-CHARACTER CONTINUOUS HANDWRITING INPUT METHOD |
| (57) Disclosed is a multi-character continuous handwriting input method. A character is
written on a touch unit; after an ith character is written, an (i+1)th character is written in an overlapping manner on the ith character. When a user is writing, it is determined whether a current stroke written
by the user belongs to the ith character or (i+1)th character; when it is determined that the user starts writing the (i+1)th character in an overlapping manner, the display color of strokes of the ith character is dimmed automatically, so that the user sees a clear track of the newly
written character on a display screen. Multiple characters are written continuously
without pauses according to the above manner; when an (i+2)th character is written, the ith character disappears automatically from the display screen, and the color of the
(i+1)th character is dimmed automatically. The present invention allows a user to write different
characters without pauses, and allows the continuous writing of multiple handwritten
characters on a handwriting screen and for corresponding recognition and display processing,
thereby significantly improving the input efficiency of handwritten text. |
Background of the Present Invention
Field of Invention
Description of Related Arts
Summary of the Present Invention
A multi-character continuous handwriting input method, where the method comprises the following steps:
Step 110: touching a touch screen with a handwriting pen or a finger to start inputting a stroke;
Step 120: moving the handwriting pen or the finger on the touch screen; recording a stroke track and displaying the stroke track on a handwriting area on the touch screen;
Step 130: moving the handwriting pen or the finger away from the touch screen, current stroke input being finished;
Step 140: determining whether the currently written stroke and a previously input stroke belong to the same character; if yes, going to Step 150; otherwise, going to Step 170;
Step 150: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160;
Step 160: submitting a currently written character track to a recognition engine for recognition, and outputting a recognition result; going to Step 220;
Step 170: determining whether some character on the touch screen is dimmed; if yes, going to Step 180; otherwise, going to Step 190, wherein the dimmed character refers to a previous handwritten character that has been written and recognized, and a stroke color thereof has been processed in Step 200;
Step 180: clearing a previous dimmed character;
Step 190: forming all strokes except the current stroke into a handwritten character, submitting the handwritten character to the recognition engine for recognition, and outputting a recognition result;
Step 200: dimming a stroke color of the handwritten character formed of all the strokes except the current stroke, or making colors of an (i+1)th character and an ith character different, where the character is defined as a dimmed character; and
Step 210: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160; and
Step 220: ending.
Step 141: determining whether the current stroke is the first stroke inputted by the user; if yes, going to Step 146; otherwise, going to Step 142;
Step 142: determining whether the current stroke is a new character stroke on the right side of a previous stroke; if yes, going to Step 145; otherwise, going to Step 143;
Step 143: determining whether the current stroke overlaps another previously written stroke; if yes, going to Step 144; otherwise, going to Step 145;
Step 144: determining whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, going to Step 146; otherwise, going to Step 145;
Step 145: returning a determination result that the currently input stroke and the previously input stroke probably belong to the same character; and
Step 146: returning a determination result that the currently input stroke and the previously input stroke do not belong to the same character.
writing a character on a touch unit; after writing an ith character, writing an (i+1)th character on the ith character in an overlapping manner;
when a user is writing, determining whether a current stroke belongs to the ith character or (i+1)th character;
when it is determined that the user starts writing the (i+1)th character in an overlapping manner, dimming a display color of strokes of the ith character automatically, so that the user sees a clear track of a newly written character on a display screen; and
continuously writing multiple characters without pauses according to the above manner, wherein when an (i+2)th character is written, the ith character disappears automatically from the display screen, and the color of the (i+1)th character is dimmed automatically, or colors of the (i+1)th character and the (i+2)th character are made to be different.
Step 141: determining whether the current stroke is the first stroke inputted by the user; if yes, going to Step 146; otherwise, going to Step 142;
Step 142: determining whether the current stroke is a new character stroke on the right side of a previous stroke; if yes, going to Step 145; otherwise, going to Step 143;
Step 143: determining whether the current stroke overlaps another previously written stroke; if yes, going to Step 144; otherwise, going to Step 145;
Step 144: determining whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, going to Step 146; otherwise, going to Step 145;
Step 145: returning a determination result that the currently input stroke and the previously input stroke probably belong to the same character; and
Step 146: returning a determination result that the currently input stroke and the previously input stroke do not belong to the same character.
Brief Description of the Drawings
Fig. 1 shows an example of an overlapping writing manner.
Fig. 2 demonstrates a process of writing six characters of "
" in an overlapping manner and recognizing the handwritten character string by a recognition
engine.
Fig. 3 is a flow chart of the method according to the present invention.
Fig. 4 is a flow chart of determining whether a currently written stroke and a previous stroke belong to a same character.
Detailed Description of the Preferred Embodiments
Embodiment 1
Step 110: A finger touches a touch screen to start inputting a stroke; a program detects an event that the finger touches the touch screen, and starts recording a character stroke track inputted by a user.
Step 120: A handwriting pen or the finger moves on the touch screen; the program records a handwriting stroke track and displays the stroke track on a handwriting area on the touch screen; in this embodiment, a currently written character stroke is displayed in red color (certainly, the currently written stroke may also be displayed in other colors, which does not affect the substantial content of the present invention).
Step 130: The handwriting pen or the finger leaves the touch screen, input of the current stroke being ended.
Step 140: Determine whether the currently written stroke and a previously input stroke belong to the same character; if yes, go to Step 150; otherwise, go to Step 170.
Step 150: Determine whether a new stroke is inputted; if yes, go to Step 120; otherwise, go to Step 160.
Step 160: Submit a currently written character track to a recognition engine for recognition, and output a recognition result; go to Step 220.
Step 170: Determine whether some character on the touch screen is dimmed; if yes, go to Step 180; otherwise, go to Step 190.
Step 180: Clear a previous dimmed character.
Step 190: combine all strokes except the current stroke into a handwritten character, submit the handwritten character to the recognition engine for recognition, and output a recognition result.
Step 200: Dim a stroke color of the handwritten character formed of all the strokes except the current stroke (in this embodiment, a grey color is used as a dimmed color of the stroke), where the character is defined as a dimmed character; or make colors of an (i+1)th character and an ith character different.
Step 210: Determine whether a new stroke is inputted; if yes, go to Step 120; otherwise, go to Step 160.
Step 220: End.
Step 141: Determine whether the current stroke is the first stroke inputted by the user; if yes, go to Step 146; otherwise, go to Step 142.
Step 142: Determine whether the current stroke is a new character stroke at a right side of a previous stroke; if yes, go to Step 145; otherwise, go to Step 143.
Step 143: Determine whether the current stroke overlaps another previously written stroke; if yes, go to Step 144; otherwise, go to Step 145.
Step 144: Determine whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, go to Step 146; otherwise, go to Step 145.
Step 145: Return a determination result that the currently input stroke and the previously input stroke probably belong to the same character.
Step 146: Return a determination result that the currently input stroke and the previously input stroke do not belong to the same character.
Embodiment 2
Step 110: touching a touch screen with a handwriting pen or a finger to start inputting a stroke;
Step 120: moving the handwriting pen or the finger on the touch screen; recording a stroke track and displaying the stroke track on a handwriting area on the touch screen;
Step 130: moving the handwriting pen or the finger away from the touch screen, current stroke input being finished;
Step 140: determining whether the currently written stroke and a previously input stroke belong to the same character; if yes, going to Step 150; otherwise, going to Step 170;
wherein the determining whether the currently written stroke and a previously input stroke belong to the same character is performed according to a relationship between geometric position information of the currently written stroke and geometric position information of a character formed of all the previously input strokes, comprising the following steps:Step 141: determining whether the current stroke is the first stroke inputted by the user; if yes, going to Step 146; otherwise, going to Step 142;
Step 142: determining whether the current stroke is a new character stroke on the right side of a previous stroke; if yes, going to Step 145; otherwise, going to Step 143;
Step 143: determining whether the current stroke overlaps another previously written stroke; if yes, going to Step 144; otherwise, going to Step 145;
Step 144: determining whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, going to Step 146; otherwise, going to Step 145;
Step 145: returning a determination result that the currently input stroke and the previously input stroke probably belong to the same character; and
Step 146: returning a determination result that the currently input stroke and the previously input stroke do not belong to the same character;
Step 150: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160;
Step 160: submitting a currently written character track to a recognition engine for recognition, and outputting a recognition result; going to Step 220;
Step 170: determining whether some character on the touch screen is dimmed; if yes, going to Step 180; otherwise, going to Step 190, wherein the dimmed character refers to a previous handwritten character that has been written and recognized, and a stroke color thereof has been processed in Step 200;
Step 180: clearing a previous dimmed character;
Step 190: combining all strokes except the current stroke into a handwritten character, submitting the handwritten character to the recognition engine for recognition, and outputting a recognition result;
Step 200: dimming the stroke color of the handwritten character formed of all the strokes except the current stroke, or making colors of an (i+1)th character and an ith character different, wherein the character is defined as a dimmed character; and
Step 210: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160; and
Step 220: ending.
Step 110: touching a touch screen with a handwriting pen or a finger to start inputting a stroke;
Step 120: moving the handwriting pen or the finger on the touch screen; recording a stroke track and displaying the stroke track on a handwriting area on the touch screen;
Step 130: moving the handwriting pen or the finger away from the touch screen, current stroke input being finished;
Step 140: determining whether the currently written stroke and a previously input stroke belong to the same character; if yes, going to Step 150; otherwise, going to Step 170;
Step 150: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160;
Step 160: submitting a currently written character track to a recognition engine for recognition, and outputting a recognition result; going to Step 220;
Step 170: determining whether some character on the touch screen is dimmed; if yes, going to Step 180; otherwise, going to Step 190, wherein the dimmed character refers to a previous handwritten character that has been written and recognized, and a stroke color thereof has been processed in Step 200;
Step 180: clearing the previous dimmed character;
Step 190: combining all strokes except the current stroke into a handwritten character, submitting the handwritten character to the recognition engine for recognition, and outputting a recognition result;
Step 200: dimming the stroke color of the handwritten character formed of all the strokes except the current stroke, or making colors of an (i+1)th character and an ith character different, wherein the character is defined as a dimmed character; and
Step 210: determining whether a new stroke is inputted; if yes, going to Step 120; otherwise, going to Step 160; and
Step 220: ending.
Step 141: determining whether the current stroke is the first stroke inputted by the user; if yes, going to Step 146; otherwise, going to Step 142;
Step 142: determining whether the current stroke is a new character stroke on the right side of a previous stroke; if yes, going to Step 145; otherwise, going to Step 143;
Step 143: determining whether the current stroke overlaps another previously written stroke; if yes, going to Step 144; otherwise, going to Step 145;
Step 144: determining whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, going to Step 146; otherwise, going to Step 145;
Step 145: returning a determination result that the currently input stroke and the previously input stroke probably belong to the same character; and
Step 146: returning a determination result that the currently input stroke and the previously input stroke do not belong to the same character.
writing a character on a touch unit; after writing an ith character, writing an (i+1)th character on the ith character in an overlapping manner;
when a user is writing, determining whether the current stroke belongs to the ith character or the (i+1)th character;
when it is determined that the user starts writing the (i+1)th character in an overlapping manner, dimming a display color of strokes of the ith character automatically, so that the user sees a clear track of a newly written character on a display screen; and
continuously writing multiple characters without pauses according to the above manner, wherein when an (i+2)th character is written, the ith character disappears automatically from the display screen, and the color of the (i+1)thcharacter is dimmed automatically, or colors of the (i+1)th character and the (i+2)th character are made to be different.
a method for determining whether the current stroke written by the user belongs to the ith character or (i+1)thcharacter comprises the following steps:
Step 141: determining whether the current stroke is a first stroke inputted by the user; if yes, going to Step 146; otherwise, going to Step 142;
Step 142: determining whether the current stroke is a new character stroke at a right side of a previous stroke; if yes, going to Step 145; otherwise, going to Step 143;
Step 143: determining whether the current stroke overlaps another previously written stroke; if yes, going to Step 144; otherwise, going to Step 145;
Step 144: determining whether an overlapping degree between the current stroke and the previously written stroke is greater than a given threshold; if yes, going to Step 146; otherwise, going to Step 145;
Step 145: returning a determination result that the currently input stroke and the previously input stroke probably belong to a same character; and
Step 146: returning a determination result that the currently input stroke and the previously input stroke do not belong to the same character.