This application claims priority to Chinese Patent Application No. 201510273330.2 filed on May 26, 2015, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to handwriting recognition technologies.
Handwriting, as a convenient text input method, has been widely used on portable electronic devices with touch screens for example, on mobile phones. All characters to make a word need to be handwritten one by one.
Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts can be exaggerated to better illustrate details and features of the present disclosure.
Several definitions that apply throughout this disclosure will now be presented.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. Several definitions that apply throughout this disclosure will now be presented. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
Furthermore, the word “module,” as used hereinafter, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable storage medium or other computer storage device. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series and the like.
The handwriting recognition system 10 can determine whether a preset slide operation is applied to a handwriting input area. When the preset slide operation is applied to the handwriting input area, the handwriting recognition system 10 adds a new handwriting input area on the touch screen, and then recognizes handwriting in the new handwriting input area. When a handwriting input is finished, the handwriting recognition system 10 combines the handwriting in the handwriting input area and in the new handwriting input area to form a whole word, and the word is displayed.
In at least one embodiment, the storage device 22 can include various types of non-transitory computer-readable storage mediums. For example, the storage device 22 can be an internal storage system, such as a flash memory, a random access memory (RAM) for temporary storage of information, and/or a read-only memory (ROM) for permanent storage of information. The storage device 22 can also be an external storage system, such as a hard disk, a storage card, or a data storage medium. The at least one processor 23 can be a central processing unit (CPU), a microprocessor, or other data processor chip that performs functions of the handwriting recognition system 10 in the electronic device 20. The touch screen 21 can generate signals in response to touch operations of a user. The touch screen 21 can further be used for displaying information, such as words which have been handwritten.
It is to be understood, in the embodiment, the word includes one or more than one character. The word can be, but is not limited to being, an English word only.
At block 301, the request recognition module recognizes a request being made to handwrite a word. If yes (that is, a request being made), the process goes to block 302; if no, the process goes back to block 301.
In the embodiment, a user can operate a particular touch button, icon, or menu which is displayed on the touch screen 21, to input a request to handwrite a word. In other embodiments, a user can operate a particular press key (not shown in FIGS) of the electronic device 20 to input the request. When the user operates a particular touch button, icon, or menu displayed on the touch screen 21, or a particular press key of the electronic device 20, the request recognition module 11 recognizes that a request is being made.
At block 302, the determination module determines a handwriting input area within a display area on the touch screen. Upon characters being traced by hand in the handwriting input area, the handwriting recognition module recognizes the handwriting and displays the recognized handwriting in the handwriting input area.
In the embodiment, area of the display area 212 is smaller than area of a display provided by the touch screen 21. The handwriting input area 211 and the display area 212 are separately displayed on the touch screen 21. In an alternative embodiment, the handwriting input area 212 is located over the display area 212. The area of the display area 212 can equal the area of the display provided by the touch screen 21.
In the embodiment, the determination module 12 displays borders of the handwriting input area 211 on the touch screen 21, for example, as the broken lines shown in
In the embodiment, the handwriting recognition module 13 recognizes a handwriting in the handwriting input area 211 in response to signals generated by the touch screen 21 when a handwriting input is applied on the handwriting input area 211.
At block 303, the determination module determines whether any part of the handwriting in the handwriting input area is in contact with one of borders of the handwriting input area. If yes, the process goes to block 304; if no, the process goes to block 306.
When coordinates of any handwriting are same as coordinates of one border of the handwriting input area 211, the determination module 12 determines that the handwriting in the handwriting input area is in contact with one border of the handwriting input area 211.
When the handwriting input on the handwriting input area 211 is finished and the handwriting associated with the handwriting input does not contact one of borders of the handwriting input area 211, the handwriting lying in the handwriting input area 211 is deemed to form a whole word. When the handwriting input on the handwriting input area 211 is finished and the handwriting associated with the handwriting input contacts one of borders of the handwriting input area 211, the handwriting in the handwriting input area 211 is deemed to form an incomplete word.
At block 304, the determination module determines whether a preset slide operation is applied to the handwriting input area. If yes, the process goes to block 305; if no, the process goes to block 306.
In an alternative embodiment, the block 303 can be omitted.
When a preset slide operation is not applied to the handwriting input area 211, the handwriting in the handwriting input area 211 is deemed to form a complete word. When a preset slide operation is applied to the handwriting input area 211, the handwriting in the handwriting input area 211 is deemed to form an incomplete word.
At block 305, the determination module adds a new handwriting input area on the touch screen. The handwriting recognition module recognizes handwriting in the new handwriting input area and displays the recognized handwriting on the new handwriting input area.
In the embodiment, a starting point of the preset slide operation lies in one of borders or vertexes of the handwriting input area 211, and the sliding direction is towards the direction of the handwriting. In another embodiment, the sliding direction is toward the opposite direction of the handwriting. The determination module 12 adds and displays the new handwriting input area 213 adjacent to/in place of the handwriting input 211. Moreover, area of the new handwriting input area 213 is positively correlated with a slide distance of the slide operation. That is, the slide distance is longer, the area of the new handwriting input area 213 is larger.
At block 306, the determination module determines whether a handwriting input is finished. If yes, the process goes to block 307; if no, the process goes back to block 306.
In the embodiment, the determination module 12 determines that a handwriting input is finished when there is no input in the handwriting input area 211 or in the new handwriting input area 213 for a predefined time interval such as 5 seconds.
At block 307, the determination module determines whether the handwriting is within the new handwriting input area. If yes, the process goes to block 308; if no, the process goes to block 309.
At block 308, the combination module combines the handwritings in the handwriting input area and in the new handwriting input area to form a complete word.
At block 309, the adjustment module adjusts size of each of characters of the complete word, according to a preset ratio, and displays the adjusted word on the display area.
In the embodiment, the adjustment module can minimize each of characters of the word according to a preset minimization ratio to ensure a consistent size of each character of the word.
The embodiments shown and described above are only examples. Many details are often found in the art and many such details are therefore neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, especially in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
2015 1 0273330 | May 2015 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5020117 | Ooi | May 1991 | A |
5442715 | Gaborski | Aug 1995 | A |
5509092 | Hirayama | Apr 1996 | A |
5717794 | Koga | Feb 1998 | A |
5933525 | Makhoul | Aug 1999 | A |
6018736 | Gilai | Jan 2000 | A |
6038337 | Lawrence | Mar 2000 | A |
6400845 | Volino | Jun 2002 | B1 |
7072514 | Thouin | Jul 2006 | B1 |
9256592 | Shanmugasundaram | Feb 2016 | B1 |
20040168131 | Blumberg | Aug 2004 | A1 |
20040208376 | Shi | Oct 2004 | A1 |
20060284851 | Pittman | Dec 2006 | A1 |
20100033772 | Borison | Feb 2010 | A1 |
20100054605 | Molnar | Mar 2010 | A1 |
20110280481 | Radakovic | Nov 2011 | A1 |
20130106693 | Okuyama | May 2013 | A1 |
20140002383 | Hsieh | Jan 2014 | A1 |
20140068495 | He | Mar 2014 | A1 |
20140105503 | Motoi | Apr 2014 | A1 |
20150193141 | Goldsmith | Jul 2015 | A1 |
20150302084 | Stewart | Oct 2015 | A1 |
Number | Date | Country |
---|---|---|
201426513 | Jul 2014 | TW |
Number | Date | Country | |
---|---|---|---|
20160349980 A1 | Dec 2016 | US |