CN102799379A - Character input method and character input device - Google Patents
Character input method and character input device Download PDFInfo
- Publication number
- CN102799379A CN102799379A CN2012102443522A CN201210244352A CN102799379A CN 102799379 A CN102799379 A CN 102799379A CN 2012102443522 A CN2012102443522 A CN 2012102443522A CN 201210244352 A CN201210244352 A CN 201210244352A CN 102799379 A CN102799379 A CN 102799379A
- Authority
- CN
- China
- Prior art keywords
- character
- input
- candidate characters
- association
- characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Character Input (AREA)
Abstract
The invention discloses a character input method and a character input device, The character input method comprises the following steps of: obtaining an image file containing at least one character; determining an identification region containing some or all the characters from the image file; identifying the characters in the determined identification region to obtain the candidate characters; and selecting at least one character from the identified candidate characters as the input character. In the scheme of the embodiment provided by the invention, since the candidate character identified from the characters in the image is used as the input character, and test input by a keyboard or network connection for data reading is not needed, the character input efficiency is improved, the work amount of manual typewriting is reduced, and the user experience is promoted.
Description
Technical field
The present invention relates to input method technique field, relate in particular to a kind of characters input method and character input device to character input device.
Background technology
Along with the continuous development of the communication technology, handheld mobile device is massesization more and more, variation, and for the handheld mobile device with human-computer interaction interface, its availability and friendly more and more receive users' concern.
The user is carrying out when mutual with the handheld mobile device with human-computer interaction interface; Need interactive information (like literal information) be inputed to handheld mobile device by means of input method; General, can according to whether needs use keyboard that input method is divided into inputting method and non-keyboard input method when the input characters.
Existing inputting method mainly is to be that main, traditional keyboard has two kinds with the simulation conventional keyboard: a kind of is the general standard of personal computer 104 keyboards, and another kind is a mobile phone T9 keyboard commonly used.The key number of standard 104 keyboards is more, and it is lower to use this 104 keyboard to carry out the repetition rate of coding of literal input, but because its size is tens times of mobile phone, can not well on mobile phone, use; The T9 keyboard has only 9 buttons to represent letter, and the repetition rate of coding of carrying out the literal input owing to this T9 keyboard of use is higher, therefore, will cause input efficiency not high, and user experience is relatively poor.
The non-keyboard input method comprises hand-writing input method, phonitic entry method etc., but handwriting input is slower, and input efficiency is not high; Although phonitic entry method can improve input efficiency theoretically,, in practical application, on the one hand, mobile phone need connect the identification that the read data are carried out voice, and the networking reading of data need take certain duration; On the other hand, the phonetic recognization rate of prior art is lower, and therefore, existing non-keyboard input method also exists input efficiency not high, the problem that user experience is relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of characters input method and character input device, and is low to solve the existing input method input efficiency, the problem that user experience is relatively poor.
A kind of characters input method, said method comprises:
Obtain the image file that comprises at least one character;
From said image file, confirm to comprise the identified region of part or all of said character;
Character in the said identified region of confirming is discerned, and obtains candidate characters;
From the candidate characters that identification obtains, select the character of at least one character as input.
A kind of character input device, said character input device comprises:
Acquisition module is used to obtain the image file that comprises at least one character;
Determination module is used for confirming to comprise from said image file the identified region of part or all of said character;
Identification module is used for the character of definite said identified region is discerned, and obtains candidate characters;
Select module, be used for selecting the character of at least one character as input from the candidate characters that identification obtains.
In the scheme of the embodiment of the invention; Owing to will discern the candidate characters that obtains character to being included in character in the picture as input; Need not utilize keyboard to carry out the literal input or connect network carrying out reading of data, therefore, improve the input efficiency of character; Reduce manual typewriting task amount, and then promoted user experience.
Description of drawings
Fig. 1 is the characters input method schematic flow sheet in the embodiment of the invention one;
Fig. 2 is the synoptic diagram of the image file that obtains in the embodiment of the invention two;
Fig. 3 is the synoptic diagram of the identified region confirmed in the embodiment of the invention two;
Fig. 4 is the synoptic diagram of the identified region confirmed in the embodiment of the invention two;
Fig. 5 is the structural representation of the character input device in the embodiment of the invention three;
Fig. 6 is the structural representation of the character input device in the embodiment of the invention three;
Fig. 7 is the structural representation of the character input device in the embodiment of the invention three;
Fig. 8 is the structural representation of the character input device in the embodiment of the invention three.
Embodiment
The embodiment of the invention is through discerning the character in the identified region in the image file that obtains; Obtain candidate characters, and from said candidate characters, select at least one character, because scheme of the present invention is discerned the character of the identified region in the picture file that comprises character as input character; The candidate characters that obtains after the identification promptly can be used as input character; Therefore, reduce manual typewriting task amount, improved the input efficiency of character.
Following mask body combines Figure of description that the embodiment of the invention is described in detail.
Embodiment one
As shown in Figure 1, the characters input method schematic flow sheet for the embodiment of the invention one provides may further comprise the steps:
Step 101: obtain the image file that comprises at least one character.
The file layout of said image file can be jpg, bmp, png, tiff, gif etc.
Step 102: the identified region of from said image file, confirming to comprise part or all of said character.
Said identified region can be rectangle, ellipse or circular.Said identified region can be that the user confirms according to the actual requirements.
Step 103: the character in the said identified region of confirming is discerned, and obtains candidate characters.
In this step 103; Can utilize OCR (Optical Character Recognition; OCR) discern; The OCR technology can be carried out analyzing and processing to picture file, is computer character with the character translation in the picture file, and computing machine can be deleted computer character, duplicates, paste operation.
Because the accuracy rate of OCR technology identification character from picture can not reach 100%, to some character that is difficult for identification, recognition result is not unique; That is to say multiple recognition result, so, more excellent; Character in the said identified region of confirming is discerned, and is specially:
Whether the arbitrary character in the said identified region is discerned, and judge to the recognition result of this character unique;
If then this unique recognition result is a candidate characters;
If not, then all recognition results all are candidate characters.
Step 104: from the candidate characters that identification obtains, select the character of at least one character as input.
Because in the candidate characters that identification obtains, possibly have only the part character is the character that meets the current demand of user, in this step 104, can from the candidate characters that identification obtains, share the character of the character of family demand by selector as input.
Association's character of considering candidate characters possibly be the character that the user needs, for the further input efficiency that improves character, so; More excellent; After obtaining candidate characters, and from candidate characters, select before the character of at least one character as input, said method also comprises:
For each candidate characters provides optional association's character;
From the candidate characters that identification obtains, select the character of at least one character, specifically comprise as input:
From the candidate characters that identification obtains, select the character of association's character of at least one character and this character as input.
Association's character of considering at least one character of selection possibly be the character that the user needs; In order further to improve the input efficiency of character; So, more excellent, after from candidate characters, selecting at least one character; And at least one character that will select carries out before the input operation as input character, and said method also comprises:
For the character of selecting provides optional association's character;
From the character that identification obtains, select after the character of at least one character as input, said method also comprises:
With association's character of the character of selecting character as input.
Need to prove that for the character of a candidate characters or selection, its association's character is the character of being everlasting and using with this candidate characters, for example: can be " vigorously ", " good ", " going up the tip of the brow " with association's character of character " happiness ".
Consider the demand that may not satisfy the user in the character of selection area, the user also needs other characters, and is more excellent, the candidate characters that obtains from identification, select the character of at least one character as input after, said method also comprises:
Characters input method is switched to inputting method.
Carry out after the above-mentioned switching, the user can use traditional inputting method input character.
Scheme through the embodiment of the invention one; Can discern the character in the image file that comprises character, and association's character of the candidate characters that obtains of further identification capable of using is as input character, and the association's character that utilizes at least one character of selecting is as input character; Improved the efficient of character input greatly; As long as can obtain to comprise the picture file of the character of needs, use scheme of the present invention, can be faster with the character of said needs as the character of importing; Improve the efficient of character input, promoted user experience.
Embodiment two
The present invention is that embodiment two is an example with note of mobile phone editor, and the characters input method in the embodiment of the invention one is at length explained.
Suppose to have in the user A hand papery menu of a content as shown in Figure 2; And editing such note " makes a reservation: old vinegar peanut egg tomato "; At this moment, user A can use the camera in the mobile phone to take said papery menu, obtains picture file as shown in Figure 2.
After obtaining picture file shown in Figure 2, the user can call in the picture editor in the mobile phone by just said picture file, to confirm its identified region that need discern.The method that two kinds of definite identified regions are arranged at this moment:
First method: the manual identified region of delimiting.For mobile phone with touch screen function; User A can confirm identified region through the coordinate of specifying two coordinate points in the said picture that gets access to; When touch-screen perceives two coordinate points that the user confirms; With the coordinate points be rectangle to angle point (being cornerwise two end points of rectangle); Confirm to comprise the identified region of the required character of user A, can be to the definite identified region of character " always ", " vinegar ", " flower ", " life ", " chicken ", " egg ", " west ", " red ", " persimmon " that above-mentioned user A needs like Fig. 3 and shown in Figure 4.
Second method: mobile phone is confirmed candidate's identified region automatically.Mobile phone is confirmed at least one candidate's identified region automatically to the picture that obtains; User A can obtain the identified region of the character that comprises needs through utilizing mobile phone key (like the operating key up and down of mobile phone) to adjust to the position and the size of definite automatically candidate's identified region.
After confirming identified region like Fig. 3 and/or Fig. 4; Mobile phone utilizes OCR technology to discern to the literal in each identified region of confirming, can obtain after the identification that candidate characters " boils ", " flower ", " life ", " rice ", " always ", " vinegar ", " flower ", " life ", " chicken ", " egg ", " west ", " red ", " persimmon ".
The definite character that needs of user A; Mobile phone receives the character of user A and selects request; From the character that identification obtains with character " always ", " vinegar ", " flower ", " life ", " chicken ", " egg ", " west ", " red ", " persimmon " character as input; And the character of said input called in the SMS editing machine, the user can be on the basis of the character of said input, proceeds that character editing " is ordered ", " meal " ": " character; And editor is empty separated between character " life " and character " chicken ", can note " be made a reservation: old vinegar peanut egg tomato ".
The example that utilizes the mobile phone editing short message by the embodiment of the invention two can be known; Character entry method in the embodiment of the invention can utilize the camera in the mobile phone to obtain the picture file of the character that comprises user's needs; And character simple, fast being input to, the especially user that can the user be needed be not when being familiar with some literal that is of little use, as long as can be with the picture that obtains comprise the said literal that is of little use; Can it be imported; The affection need that meets the user has more improved the character input rate, has promoted user experience.
Embodiment three
As shown in Figure 5, the structural representation of a kind of character input device that provides for the embodiment of the invention three, said character input device comprises: acquisition module 11, determination module 12, identification module 13 and select module 14, wherein:
Said acquisition module 11 is used to obtain the image file that comprises at least one character;
More excellent, whether said identification module 13 specifically is used for discerning to arbitrary character of said identified region, and judges to the recognition result of this character unique; If then this unique recognition result is a candidate characters; If not, then all recognition results all are candidate characters.
In order further to improve the efficient of input character, on the basis of the structure of above-mentioned character input device shown in Figure 5, the embodiment of the invention three provides three kinds of preferred versions, and its structural representation is respectively like Fig. 6, Fig. 7 and shown in Figure 8.
In character input device shown in Figure 6, with respect to the structure of character input device shown in Figure 5, the character input device shown in Fig. 6 also comprises:
Association's character provides module 15, is used to each candidate characters optional association's character is provided;
With respect to the structure of character input device shown in Figure 5, the character input device shown in Fig. 7 also comprises:
Association's character provides module 15, and the character that is used to selection provides optional association's character;
With respect to the structure of character input device shown in Figure 5, the character input device shown in Fig. 8 also comprises:
Association's character provides module 15, is used to each candidate characters optional association's character is provided, and be that the character of selecting provides optional association's character.
Need to prove that the character input device in the present embodiment three can be a terminal device.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.
Claims (8)
1. a characters input method is characterized in that, said method comprises:
Obtain the image file that comprises at least one character;
From said image file, confirm to comprise the identified region of part or all of said character;
Character in the said identified region of confirming is discerned, and obtains candidate characters;
From the candidate characters that identification obtains, select the character of at least one character as input.
2. the method for claim 1 is characterized in that, the character in the said identified region of confirming is discerned, and is specially:
Whether the arbitrary character in the said identified region is discerned, and judge to the recognition result of this character unique;
If then this unique recognition result is a candidate characters;
If not, then all recognition results all are candidate characters.
3. method as claimed in claim 2 is characterized in that, after obtaining candidate characters, and from candidate characters, selects before the character of at least one character as input, and said method also comprises:
For each candidate characters provides optional association's character;
From the candidate characters that identification obtains, select the character of at least one character, specifically comprise as input:
From the candidate characters that identification obtains, select the character of association's character of at least one character and this character as input.
4. method as claimed in claim 2 is characterized in that, after from candidate characters, selecting at least one character, and at least one character that will select carries out before the input operation as input character, and said method also comprises:
For the character of selecting provides optional association's character;
From the character that identification obtains, select after the character of at least one character as input, said method also comprises:
With association's character of the character of selecting character as input.
5. a character input device is characterized in that, said character input device comprises:
Acquisition module is used to obtain the image file that comprises at least one character;
Determination module is used for confirming to comprise from said image file the identified region of part or all of said character;
Identification module is used for the character of definite said identified region is discerned, and obtains candidate characters;
Select module, be used for selecting the character of at least one character as input from the candidate characters that identification obtains.
6. character input device as claimed in claim 5 is characterized in that,
Whether said identification module specifically is used for discerning to arbitrary character of said identified region, and judges to the recognition result of this character unique; If then this unique recognition result is a candidate characters; If not, then all recognition results all are candidate characters.
7. character input device as claimed in claim 6 is characterized in that, said character input device also comprises:
Association's character provides module, is used to each candidate characters optional association's character is provided;
Said selection module specifically is used for selecting the character of association's character of at least one character and this character as input from the candidate characters that identification obtains.
8. character input device as claimed in claim 6 is characterized in that, said character input device also comprises: association's character provides module;
Said association character provides module, and the character that is used to selection provides optional association's character;
Said selection module also is used for association's character of the character of selecting character as input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102443522A CN102799379A (en) | 2012-07-13 | 2012-07-13 | Character input method and character input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102443522A CN102799379A (en) | 2012-07-13 | 2012-07-13 | Character input method and character input device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102799379A true CN102799379A (en) | 2012-11-28 |
Family
ID=47198496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102443522A Pending CN102799379A (en) | 2012-07-13 | 2012-07-13 | Character input method and character input device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102799379A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104766077A (en) * | 2015-04-03 | 2015-07-08 | 北京奇虎科技有限公司 | Method and device for recognizing characters in picture |
CN110309517A (en) * | 2019-07-02 | 2019-10-08 | 北京百度网讯科技有限公司 | Expression official documents and correspondence processing method, device, system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001043347A (en) * | 1999-07-30 | 2001-02-16 | Sharp Corp | Image recorder, image reproducing device and image recording medium |
CN1878182A (en) * | 2005-06-07 | 2006-12-13 | 上海联能科技有限公司 | Name card input recognition mobile phone and its recognizing method |
CN101059840A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | Words input method using mobile phone shooting style |
CN101951493A (en) * | 2010-09-25 | 2011-01-19 | 中兴通讯股份有限公司 | Mobile terminal and method for partially amplifying far-end images in video call thereof |
-
2012
- 2012-07-13 CN CN2012102443522A patent/CN102799379A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001043347A (en) * | 1999-07-30 | 2001-02-16 | Sharp Corp | Image recorder, image reproducing device and image recording medium |
CN1878182A (en) * | 2005-06-07 | 2006-12-13 | 上海联能科技有限公司 | Name card input recognition mobile phone and its recognizing method |
CN101059840A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | Words input method using mobile phone shooting style |
CN101951493A (en) * | 2010-09-25 | 2011-01-19 | 中兴通讯股份有限公司 | Mobile terminal and method for partially amplifying far-end images in video call thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104766077A (en) * | 2015-04-03 | 2015-07-08 | 北京奇虎科技有限公司 | Method and device for recognizing characters in picture |
CN110309517A (en) * | 2019-07-02 | 2019-10-08 | 北京百度网讯科技有限公司 | Expression official documents and correspondence processing method, device, system and storage medium |
CN110309517B (en) * | 2019-07-02 | 2023-10-17 | 北京百度网讯科技有限公司 | Expression document processing method, device, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102331907B (en) | Character deleting method, device and terminal for the terminal with touch-screen | |
US8928610B2 (en) | Information display device and document data editing method | |
US8605039B2 (en) | Text input | |
EP3002664B1 (en) | Text processing method and touchscreen device | |
US10248635B2 (en) | Method for inserting characters in a character string and the corresponding digital service | |
CN101657788B (en) | Electronic device having vibration input recognition and method | |
US20130120271A1 (en) | Data input method and apparatus for mobile terminal having touchscreen | |
US20140160032A1 (en) | Swipe Stroke Input and Continuous Handwriting | |
KR20100013539A (en) | User interface apparatus and method for using pattern recognition in handy terminal | |
CN102937864B (en) | A kind of method and apparatus for determining selected text on touch terminal | |
US20120086663A1 (en) | Mobile terminal, language setting program and language setting method | |
KR20130024220A (en) | Input device and method on terminal equipment having a touch module | |
CN105144037A (en) | Device, method, and graphical user interface for entering characters | |
KR20140030361A (en) | Apparatus and method for recognizing a character in terminal equipment | |
JP2012522284A (en) | System and method for touch-based text input | |
CN104541239A (en) | Text select and enter | |
CN111476209B (en) | Handwriting input recognition method, handwriting input recognition equipment and computer storage medium | |
CN103116461B (en) | A kind of character processing method based on touch-screen and terminal | |
KR20150023151A (en) | Electronic device and method for executing application thereof | |
CN104424168A (en) | Text editing method, text editing device and server | |
KR101099654B1 (en) | Chinese input system and method | |
CN101196791A (en) | Digital document choosing method and device | |
CN103268198A (en) | Gesture input method and device | |
CN104363349A (en) | Short message processing method and portable terminal using same | |
CN102141886A (en) | Method and equipment for text edition and computer program product and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121128 |