CN107977155A - Handwriting recognition method, device, equipment and storage medium - Google Patents

Handwriting recognition method, device, equipment and storage medium Download PDF

Info

Publication number
CN107977155A
CN107977155A CN201711182238.0A CN201711182238A CN107977155A CN 107977155 A CN107977155 A CN 107977155A CN 201711182238 A CN201711182238 A CN 201711182238A CN 107977155 A CN107977155 A CN 107977155A
Authority
CN
China
Prior art keywords
word
handwriting
person
writing area
touch
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.)
Granted
Application number
CN201711182238.0A
Other languages
Chinese (zh)
Other versions
CN107977155B (en
Inventor
付金祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201711182238.0A priority Critical patent/CN107977155B/en
Publication of CN107977155A publication Critical patent/CN107977155A/en
Application granted granted Critical
Publication of CN107977155B publication Critical patent/CN107977155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Character Discrimination (AREA)

Abstract

The embodiment of the invention discloses a handwriting recognition method, a handwriting recognition device, handwriting recognition equipment and a storage medium, wherein the method comprises the following steps: when touch operation acting on a touch screen is detected, determining first handwriting according to the touch operation in first preset time in the touch operation, wherein the first preset time is the time from first touch pressing operation to first touch lifting operation; creating and displaying a writing area corresponding to the position of the first handwriting; and identifying the display handwriting determined according to the touch operation as characters, and displaying the selected characters in the writing area according to the obtained selection operation. The handwriting operation is carried out at any position of the current page, and the handwriting is recognized as characters and displayed in the writing area.

Description

A kind of hand-written recognition method, device, equipment and storage medium
Technical field
The present invention relates to writing technology, more particularly to a kind of hand-written recognition method, device, equipment and storage medium.
Background technology
On large-scale touch apparatus, the mode of generally use touch input interacts, and spelling is used for uncomfortable For the user of sound, the handwriting recognition in touch input seems particularly significant, for example, the scene that teacher is attended class with touch-screen.
Scheme of the prior art typically provides a fixed input area on the screen, or one position of pop-up is consolidated The dummy keyboard of fixed support handwriting recognition, both modes cause the position of the handwriting input of user to be restricted.
The content of the invention
The embodiment of the present invention provides a kind of hand-written recognition method, device, equipment and storage medium, realizes in current page Optional position carry out hand-written operation, and handwriting is identified as word and is illustrated in writing area.
In a first aspect, an embodiment of the present invention provides a kind of hand-written recognition method, this method includes:
When detecting the touch operation of effect on the touchscreen, according to touching in the first preset time in the touch operation Touch operation and determine the first person's handwriting, wherein, first preset time lifts operation to touch push first to touch first Duration;
Create and show the writing area with the position correspondence of first person's handwriting;
The displaying person's handwriting determined according to the touch operation is identified as word, chooses operation to choose according to what is got Word it is described writing area displaying.
Second aspect, the embodiment of the present invention additionally provide a kind of device of handwriting recognition, which includes:
First person's handwriting determining module, when touch operation on the touchscreen is acted on for detecting, is grasped according to described touch Touch operation in work in the first preset time determines the first person's handwriting, wherein, first preset time is pressed to touch first Operate to touch first and lift operation duration;
Area's creation module is write, for creating and showing the writing area with the position correspondence of first person's handwriting;
Word add module, for the displaying determined according to the touch operation person's handwriting to be identified as word, according to acquisition To choose operation will the word that choose in writing area displaying.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in On memory and the computer program that can run on a processor, the processor are realized when performing described program as the present invention is real Apply any hand-written recognition method in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, realizes the hand-written recognition method as described in any in the embodiment of the present invention when which is executed by processor.
In the embodiment of the present invention, when detecting the touch operation of effect on the touchscreen, according in the touch operation Touch operation in first preset time determines the first person's handwriting, creates and shows the writing with the position correspondence of first person's handwriting Area;The displaying person's handwriting determined according to the touch operation is identified as word, according to the text for choosing operation to choose got Word is in the displaying of writing area.Realize and carry out hand-written operation in the optional position of current page, and handwriting is identified as word It is illustrated in writing area.
Brief description of the drawings
Fig. 1 a are a kind of flow charts of hand-written recognition method in the embodiment of the present invention one;
Fig. 1 b are a kind of written handwriting being applicable in the embodiment of the present invention one and the schematic diagram for writing area;
Fig. 1 c are a kind of schematic diagrames of the bandwagon effect for the written handwriting being applicable in the embodiment of the present invention one;
Fig. 1 d are that the schematic diagram of word has been added in a kind of deletion being applicable in the embodiment of the present invention one;
Fig. 2 a are a kind of flow charts of hand-written recognition method in the embodiment of the present invention two;
Fig. 2 b are a kind of schematic diagrames by word after the displaying of writing area being applicable in the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of handwriting recognition apparatus in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 a are a kind of flow chart for hand-written recognition method that the embodiment of the present invention one provides, and the present embodiment is applicable to The optional position of touch-screen carries out hand-written situation, and this method can be held by handwriting recognition apparatus provided in an embodiment of the present invention OK, which can be realized by the way of software and/or hardware.With reference to figure 1a, this method specifically may include steps of:
S110, when detecting effect touch operation on the touchscreen, according to the first preset time in the touch operation Interior touch operation determines the first person's handwriting, wherein, first preset time is lifted to touch push first to touch first Play operation duration.
When user carries out touch operation on the touchscreen, the touch operation acted on the touchscreen can produce touch number According to optionally, touch-screen can be display screen in touch Intelligent flat etc..During the touch operation of user, every time Complete touch operation can produce corresponding written handwriting, and a complete touch operation is pressed (down) including touch, touched Mobile (move) and touch are lifted (up).In a writing process behaviour will be lifted from touch push first to touch first Make duration as the first preset time, the first person's handwriting is determined according to the touch data in the first preset time.
Optionally, touch data generally includes some point sets, such as coordinate of the pixel of touch point on the touchscreen etc. The set that data are formed.In a specific example, Fig. 1 b show a kind of written handwriting and writing area, and 150 be lettering pen Mark, optionally, the first person's handwriting are the first stroke of written contents, such as the first stroke of " Chinese " of " Chinese character " in Fig. 1 b.
S120, establishment simultaneously show the writing area with the position correspondence of first person's handwriting.
Specifically, the first person's handwriting of automatic decision in the position of touch-screen, creates and shows the writing area with the position correspondence. During writing, the width in writing region can be increased automatically according to the written contents of user.For example, when user writes five Needed after word after continuing, then writing the position in area can broaden automatically.
It is true according to the position of the first person's handwriting for user for identification frame, 152 referring to Fig. 1 b, 151 in a specific example Fixed writing area, wherein, identification frame is shown in the edge in writing area in the form of lines.
S130, by the displaying person's handwriting determined according to the touch operation be identified as word, and operation is chosen according to what is got By the word chosen in writing area displaying.
Specifically, determining each displaying person's handwriting according to touch operation, in a specific example, the side of displaying person's handwriting is determined Method can also be realized in the following way:Operation duration is lifted as a time to touch to touch push every time Cycle, wherein, the data in each time cycle can determine a written handwriting, and the written handwriting of multiple time cycles determines One Chinese character.In a specific example, " Chinese " of " Chinese character " has 5 altogether, can be touching in five cycles continuous time The combination for touching each written handwriting that data determine is to show person's handwriting.It should be noted that total stroke number of Chinese character and continuous The number of time cycle is not directly dependent upon, and the writing style of user is different, may always stroke be the Chinese character of five at one Between complete in the cycle.
Specifically, each displaying person's handwriting of identification is word, and operation is chosen to add the word chosen according to what is got To writing area.In a specific example, each word for showing that person's handwriting identifies is at least one, such as user writing Be " first ", then recognition result may be " Shen ", " by " or " field " etc..User chooses oneself needs according to the word identified Word be illustrated in writing area, specific exhibition method can word is added to writing area by way of realize, optionally, It can be that user double-clicks the word and it is jumped to writing area that word is added to writing area, or choose will after the word by user It is dragged to writing area.
Optionally, it is described to create and show the writing area with the position correspondence of first person's handwriting, including:According to identification institute The height for stating the first word that the first person's handwriting is got determines the font size of the word added in the writing area.
During creating and showing with the writing area of the position correspondence of first person's handwriting, according to identifying the first person's handwriting The height of the first word got determines the font size of the word added in area is write.For example, identification knot is selected in first time During fruit, the height of first handwriting can be obtained, wherein, the first word can be obtained by the first person's handwriting, the first stroke Mark can be the first stroke of the first word, and highly initial font size is set according to this, be added using the font size as writing in area Word font size.So so that text importing size and handwriting after identification are close, user experience is improved.
In the embodiment of the present invention, when detecting the touch operation of effect on the touchscreen, according in the touch operation Touch operation in first preset time determines the first person's handwriting, creates and shows the writing with the position correspondence of first person's handwriting Area;The displaying person's handwriting determined according to the touch operation is identified as word, according to the text for choosing operation to choose got Word is in the displaying of writing area.Realize and carry out hand-written operation in the optional position of current page, and handwriting is identified as word It is illustrated in writing area.
Based on the above technical solutions, choose operation by the word chosen in the book what the basis was got Before writing area's displaying, method provided in an embodiment of the present invention further includes:, will be with by inquiring about default common phrase data list The phrase that the word recognized is associated is illustrated in candidate regions, wherein, the candidate regions are separated with the writing area.
Specifically, choosing operation by the word chosen before the displaying of writing area according to what is got, it is pre- by inquiring about If common phrase data list, which can be stored in advance in local data base or cloud database, will be pre- If common phrase data list in inquire about the word associated with the word recognized, and be illustrated in candidate regions.Wherein, Candidate regions are separated with writing area, optionally, candidate regions can be arranged on to the upper area in writing area, user is according in candidate regions The phrase associated with the word recognized provided selects the individual character or phrase of needs.
In a specific example, Fig. 1 c show a kind of bandwagon effect of written handwriting, wherein, 160 represent writing Area;161 regions can be used for showing the font and font size of writing area's word, such as refined black No. 56 words of Microsoft;162 represent movement Symbol, the movement in writing area can be realized by clicking on 162;163 be candidate region, associated for the word that shows with inquire Word etc.;164 represent close symbol, and the display page can be closed by clicking on 164;165 represent the symbol of increase row, click on 165 New a line can be increased to be write.It should be noted that " click " mentioned in this paragraph is an exemplary behaviour Make, which could alternatively be the operation such as touch;In addition, candidate regions are separated with writing area, candidate regions are used only to show.
Matched individual character is shown in recognition result at the same time, and to match the word of individual character beginning, realizes association input. The data and frequency of use of common phrase are stored with local data base or cloud database, it is default common by inquiring about this Phrase data list, can acquire the most common phrase of individual character of identification.
On the basis of above-mentioned technical method, choose operation by the word chosen in the book what the basis was got After writing area's displaying, further include:When detecting the operation of default gesture, by the corresponding current writing area of the default gesture operation The word in domain is deleted.
Specifically, after recognition result is selected, after word adds and is illustrated in writing area, the added and text that showed The writing area of word is changed into viewing area, that is, the viewing area covering writing area of word was added on touch-screen, the book below viewing area Writing that area becomes can not editing mode.
In specific application scenarios, Fig. 1 d show a kind of schematic diagram deleted and added word, when user has added Into after one or more words, if desired carry out delete operation to it, a kind of gesture of predefined deletes word, by the gesture As default gesture.Inferior horn slides to the left in a specific example, such as from the upper right corner, deleted after deleting word Word disappears in corresponding viewing area, and the position of former viewing area is in editable state, can also respond touch operation and life Into written handwriting.It should be noted that the implication of other symbols in Fig. 1 d is identical with Fig. 1 b, details are not described herein.It is being not required to To have added word when, deleted, improve more selections for user, enhance user experience.
Embodiment two
Fig. 2 a are a kind of flow chart of hand-written recognition method provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation On the basis of example, " choosing operation that the word chosen is added to the writing area according to what is got " is optimized.Ginseng Fig. 2 a are examined, this method specifically may include steps of:
S210, when detecting effect touch operation on the touchscreen, according to the first preset time in the touch operation Interior touch operation determines the first person's handwriting, wherein, first preset time is lifted to touch push first to touch first Play operation duration.
S220, establishment simultaneously show the writing area with the position correspondence of first person's handwriting.
S230, by the displaying person's handwriting determined according to the touch operation be identified as word.
S240, judge be identified as in the second preset time of word whether examining in the candidate regions by each displaying person's handwriting Measure and choose operation, if so, then performing S250, otherwise, perform S260.
Specifically, after each displaying person's handwriting is identified as word, judge each displaying person's handwriting being identified as the second of word In preset time, whether detected in the candidate regions and choose operation, wherein, the second preset time can take 10 seconds, choosing Middle operation is that the word of candidate regions displaying is made choice.In a specific application scenarios, when user writing person's handwriting is During " first " word, the identification word of displaying is " first ", " by " or " Shen " etc., if being detected at 10 seconds, user's chooses operation, example Such as single-click operation, then perform S250.
S250, choose operation by the word chosen in the displaying of writing area according to.
When detecting when choosing operation of user in the candidate regions in the second preset time, then choosing according to user Operation is by the word chosen in the displaying of writing area.Illustrated with the example in S250, if user chose " by " within 10 seconds, The word that showing user needs is " by ", then is added to writing area and is shown.
Fig. 2 b are a kind of schematic diagram by word after the displaying of writing area, and 280 is have shown that word, wherein, " Chinese " word bit The region at the place of putting is changed into viewing area, wherein, viewing area is used for showing added word, and writing area is used for responding writing behaviour Make.
S260, by the word of the acquiescence sequence number in the word recognized writing area displaying.
When can't detect when choosing operation of user in candidate regions in the second preset time, will write from memory in the word recognized The word for recognizing sequence number shows and adds in writing area.Illustrated with the example in S250, if user can't detect within 10 seconds User's chooses operation, and the serial number candidate regions of acquiescence show first of word, then " first " is shown and added in writing area.
In the embodiment of the present invention, after the displaying determined according to the touch operation person's handwriting is identified as word, judge Each displaying person's handwriting is identified as in the second preset time of word choosing operation whether candidate regions detect, by each displaying pen Mark, which is identified as detecting in the candidate regions in the second preset time of word, chooses operation, then chooses operation will according to The word chosen is in the displaying of writing area, if each displaying person's handwriting is identified as in the second preset time of word examining in the candidate regions Do not detect and choose operation, by the word of the acquiescence sequence number in the word recognized in the displaying of writing area.Realize to final Show and be added to determining for the word in writing area.
Optionally, it is described to create and show the writing area with the position correspondence of first person's handwriting, it can specifically include:Obtain Take the coordinate of the writing position of first person's handwriting;The book at least accommodating first person's handwriting is created and shown according to the coordinate Write area.
Specifically, the establishment in writing area and displaying process can specifically include:Obtain the writing position of the first person's handwriting Coordinate, by taking the user writing " Chinese " as an example, then under the coordinate representation of the writing position of the first person's handwriting user is in writing process Position, wherein, position of starting writing is used only to the description position of the first stroke on the touchscreen in writing process first, and the person's handwriting is not Necessarily produced, can also be produced on the touchscreen by user's finger by lettering pen.Created and shown according to the coordinate and at least accommodated The writing area of first person's handwriting.
In a specific example, after a line is write, user may want to create newline, optionally, each Row has independent hand-written area, viewing area and candidate regions.Touch operation can only be identified in hand-written area and respond generation it is hand-written Person's handwriting, if being write elsewhere, system can automatically create a new identification frame, that is, a new writing area is produced, Original writing area loses focus, and new writing area becomes editable state after obtaining focus.Lose in the writing area of focus, except Beyond the viewing area that with the addition of word, other regions will all hide, and when the region obtains focus again, then recover identification Hand-written or editor is continued in each region of frame, and optionally, obtaining focus can be produced by touching corresponding region.
The embodiment of the present invention can be supported to start to identify after carrying out handwriting in the optional position of touch-screen, raw after identification Into identification frame, identification frame provide hand-written area, candidate regions, viewing area, editing area, support it is mobile, close and add line, then knowing Continue hand-written operation in the writing area that other frame determines.When being lifted after writing the first stroke, the number of system recorded the first stroke mark A According to these data generally comprise some point sets, are known as point set a.According to the position of person's handwriting A, an identification frame is created, is identified in frame Include the writing area of an acceptable person's handwriting.Point set a is converted into person's handwriting B, then person's handwriting B is added in writing area.Writing Area triggers update event, and word is identified according to person's handwriting.If continuing to write, recognition result updates immediately, and recognition result is shown Wait and selecting in candidate regions.
Based on the above technical solutions, technical solution provided in an embodiment of the present invention can implement function such as: Optional position starts hand-written;The first stroke lifts, and a handwriting recognition frame is generated in person's handwriting position;Next the hand in identification frame Write, identify width of frame automatic increase, simplify user's operation, the width that writing frame is manually changed without user comes;If identifying Outer frame is hand-written, then generates new identification frame, avoids interference caused by different operations is carried out same writing frame at the same time;Do not wrap Removed automatically containing the identification frame for having identified Chinese character, improve the effect of visualization of current page;The font size of recognition result with it is hand-written Size associates, and is shown on identification frame, more meets demand of the user in handwriting recognition;Matching individual character is included in recognition result Prompted with related word, provided more selections to the user;After selection identification item, do not start before writing again, according to individual character Show related word;Identify that individual character shows countdown, automatic application;Identification frame can be closed, can moved;Identify that frame can be with hand Dynamic addition a line;Chinese character after identification can be deleted with gesture, simple and fast.
In addition, technical solution provided in an embodiment of the present invention can also implement function such as:After identifying that frame is out of focus, only keep Chinese character is identified as it can be seen that other parts are transparent, specifically, when losing focus, identification frame is in non-editing mode, for showing Identified Chinese character, other parts transparent processing so that current display page is succinct so that the word picture after addition is shown in screen On curtain, interference is not produced to the identification frame being currently editing;Identification frame can again tap on acquisition focus, continue to edit, pass through The identification frame for losing focus is clicked on, editable state can be made it into, is realized in the identification frame to having completed addition Chinese character Chinese character is modified, and is avoided and has been added to the defects of word can not be changed;The font of word, font size in identification frame can be adjusted And color, attribute is consistent in frame;Chinese character after identification is inserted into the page as simple text object, can be utilized and be known Chinese character after not carries out other processing, such as is added in text and is explained as text object, improves to Multi-angle application identify and the Chinese character of display.
Embodiment three
Fig. 3 is the structure diagram that the present invention is a kind of handwriting recognition apparatus that embodiment three provides, which is suitable for Perform a kind of hand-written recognition method that the embodiment of the present invention is supplied to.As shown in figure 3, the device can specifically include:
First person's handwriting determining module 310, when touch operation on the touchscreen is acted on for detecting, according to the touch Touch operation in operation in the first preset time determines the first person's handwriting, wherein, first preset time is pressed to touch first Lower operation lifts operation duration to touch first;
Area's creation module 320 is write, for creating and showing the writing area with the position correspondence of first person's handwriting;
Word add module 330, for the displaying determined according to the touch operation person's handwriting to be identified as word, according to obtaining That gets chooses operation by the word chosen in writing area displaying.
Further, writing area's creation module 320 is specifically used for:
The height of the first word got according to identification first person's handwriting determines the word added in the writing area Font size.
Further, further include:
Display module, chooses operation by the word chosen before the displaying of writing area for what is got in the basis, By inquiring about default common phrase data list, the phrase associated with the word recognized is illustrated in candidate regions, Wherein, the candidate regions are separated with the writing area.
Further, word add module 330 includes:
Judging submodule, for judging to be identified as in the second preset time of word in the candidate by each displaying person's handwriting Whether area, which detects, is chosen operation;
First word adds submodule, for being identified as by each displaying person's handwriting in the second preset time of word described Candidate regions detect when choosing operation, and the word that operation will be chosen is chosen in writing area's displaying according to described;
Second word adds submodule, for being identified as by each displaying person's handwriting in the second preset time of word described Candidate regions can't detect when choosing operation, by the word of the acquiescence sequence number in the word recognized in the displaying of writing area.
Further, writing area's creation module 320 is specifically used for:
Obtain the coordinate of the writing position of first person's handwriting;
The writing area at least accommodating first person's handwriting is created and shown according to the coordinate.
Further, further include:
Word removing module, chooses operation that the word chosen is shown it in writing area for what is got in the basis Afterwards, when detecting the operation of default gesture, the word in the corresponding current writing region of the default gesture operation is deleted.
Handwriting recognition apparatus provided in an embodiment of the present invention can perform the handwriting recognition side that any embodiment of the present invention provides Method, possesses the corresponding function module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structure diagram for computer equipment that the embodiment of the present invention four provides.Fig. 4 is shown suitable for being used for Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one Example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28, connects different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with The disc driver being used for moving non-volatile magnetic disk (such as " floppy disk ") read-write is provided, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, may include the realization of network environment in each or certain combination in these examples.Program mould Block 42 usually performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment that the computer equipment 12 can communicate with one or more of the other computing device (such as network interface card, modulatedemodulate Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As shown in the figure, network adapter 20 is led to by bus 18 and other modules of computer equipment 12 Letter.It should be understood that although not shown in Fig. 4, computer equipment 12 can be combined and use other hardware and/or software module, bag Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various functions application and Data processing, such as realize the hand-written recognition method that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:When detecting the touch operation of effect on the touchscreen, First person's handwriting is determined according to the touch operation in the touch operation in the first preset time, wherein, first preset time To touch push first operation duration is lifted to touch first;Create and show the position with first person's handwriting Corresponding writing area;The displaying person's handwriting determined according to the touch operation is identified as word, operation is chosen according to what is got By the word chosen in writing area displaying.
Embodiment five
The embodiment of the present invention five provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey The hand-written recognition method provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:When detecting the touch operation of effect on the touchscreen, according to institute State the touch operation in touch operation in the first preset time and determine the first person's handwriting, wherein, first preset time is first Touch push and lift operation duration to touch first;Create and show and the position correspondence of first person's handwriting Write area;The displaying person's handwriting determined according to the touch operation is identified as word, chooses operation to choose according to what is got Word it is described writing area displaying
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more conducting wires, just Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, which can send, propagate or Transmission be used for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. hand-written recognition method, it is characterised in that including:
    When detecting the touch operation of effect on the touchscreen, grasped according to the touch in the touch operation in the first preset time Make to determine the first person's handwriting, wherein, first preset time is lifted operation to touch first for touch push first and is continued Time;
    Create and show the writing area with the position correspondence of first person's handwriting;
    The displaying person's handwriting determined according to the touch operation is identified as word, according to the text for choosing operation to choose got Word is in writing area displaying.
  2. 2. according to the method described in claim 1, it is characterized in that, described create and show the position pair with first person's handwriting The writing area answered, including:
    The height of the first word got according to identification first person's handwriting determines the word of the word added in the writing area Number.
  3. 3. the according to the method described in claim 1, it is characterized in that, text for choosing operation to choose got in the basis Word further includes before writing area displaying:
    By inquiring about default common phrase data list, the phrase associated with the word recognized is illustrated in candidate Area, wherein, the candidate regions are separated with the writing area.
  4. 4. the according to the method described in claim 3, it is characterized in that, word for choosing operation to choose that the basis is got In writing area displaying, including:
    Judge to be identified as whether detecting in the candidate regions in the second preset time of word and choose by each displaying person's handwriting Operation, if so, then choosing operation by the word chosen in writing area displaying according to;
    If it is not, then by the word of the acquiescence sequence number in the word recognized in writing area displaying.
  5. 5. according to the method described in claim 1, it is characterized in that, described create and show the position pair with first person's handwriting The writing area answered, including:
    Obtain the coordinate of the writing position of first person's handwriting;
    The writing area at least accommodating first person's handwriting is created and shown according to the coordinate.
  6. 6. the according to the method described in claim 1, it is characterized in that, text for choosing operation to choose got in the basis Word further includes after writing area displaying:
    When detecting the operation of default gesture, the word in the corresponding current writing region of the default gesture operation is deleted.
  7. A kind of 7. device of handwriting recognition, it is characterised in that including:
    First person's handwriting determining module, when touch operation on the touchscreen is acted on for detecting, according in the touch operation Touch operation in first preset time determines the first person's handwriting, wherein, first preset time is to touch push first Operation duration is lifted to touching first;
    Area's creation module is write, for creating and showing the writing area with the position correspondence of first person's handwriting;
    Word add module, for the displaying determined according to the touch operation person's handwriting to be identified as word, according to what is got Choose operation by the word chosen in writing area displaying.
  8. 8. device according to claim 7, it is characterised in that writing area's creation module is specifically used for:
    The height of the first word got according to identification first person's handwriting determines the word of the word added in the writing area Number.
  9. 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes the side as described in any in claim 1-6 when performing described program Method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-6 is realized during execution.
CN201711182238.0A 2017-11-23 2017-11-23 Handwriting recognition method, device, equipment and storage medium Active CN107977155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711182238.0A CN107977155B (en) 2017-11-23 2017-11-23 Handwriting recognition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711182238.0A CN107977155B (en) 2017-11-23 2017-11-23 Handwriting recognition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107977155A true CN107977155A (en) 2018-05-01
CN107977155B CN107977155B (en) 2020-12-29

Family

ID=62011075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711182238.0A Active CN107977155B (en) 2017-11-23 2017-11-23 Handwriting recognition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107977155B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845757A (en) * 2018-07-17 2018-11-20 广州视源电子科技股份有限公司 Touch input method and device for intelligent interaction panel, computer readable storage medium and intelligent interaction panel
CN109858323A (en) * 2018-12-07 2019-06-07 广州光大教育软件科技股份有限公司 A kind of character hand-written recognition method and system
CN110490153A (en) * 2019-08-22 2019-11-22 司法鉴定科学研究院 A kind of offline person's handwriting Individual Identification System and method based on Three-Dimensional Dynamic feature
CN110968246A (en) * 2018-09-28 2020-04-07 北京搜狗科技发展有限公司 Intelligent Chinese handwriting input recognition method and device
CN113970971A (en) * 2021-09-10 2022-01-25 荣耀终端有限公司 Data processing method and device based on touch control pen

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044214A (en) * 2001-07-26 2003-02-14 Fujitsu Ltd Handwritten character input device and program for realizing the same
CN102455869A (en) * 2011-09-29 2012-05-16 北京壹人壹本信息科技有限公司 Method and device for editing characters by using gestures
CN102866856A (en) * 2012-09-05 2013-01-09 鸿富锦精密工业(深圳)有限公司 Method and device for processing hand-writing input handwritings
CN102880412A (en) * 2012-08-23 2013-01-16 东莞宇龙通信科技有限公司 Handwriting input method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044214A (en) * 2001-07-26 2003-02-14 Fujitsu Ltd Handwritten character input device and program for realizing the same
CN102455869A (en) * 2011-09-29 2012-05-16 北京壹人壹本信息科技有限公司 Method and device for editing characters by using gestures
CN102880412A (en) * 2012-08-23 2013-01-16 东莞宇龙通信科技有限公司 Handwriting input method, system and device
CN102866856A (en) * 2012-09-05 2013-01-09 鸿富锦精密工业(深圳)有限公司 Method and device for processing hand-writing input handwritings

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845757A (en) * 2018-07-17 2018-11-20 广州视源电子科技股份有限公司 Touch input method and device for intelligent interaction panel, computer readable storage medium and intelligent interaction panel
CN110968246A (en) * 2018-09-28 2020-04-07 北京搜狗科技发展有限公司 Intelligent Chinese handwriting input recognition method and device
CN109858323A (en) * 2018-12-07 2019-06-07 广州光大教育软件科技股份有限公司 A kind of character hand-written recognition method and system
CN110490153A (en) * 2019-08-22 2019-11-22 司法鉴定科学研究院 A kind of offline person's handwriting Individual Identification System and method based on Three-Dimensional Dynamic feature
CN110490153B (en) * 2019-08-22 2021-10-19 司法鉴定科学研究院 Offline handwriting individual recognition system and method based on three-dimensional dynamic characteristics
CN113970971A (en) * 2021-09-10 2022-01-25 荣耀终端有限公司 Data processing method and device based on touch control pen
CN113970971B (en) * 2021-09-10 2022-10-04 荣耀终端有限公司 Data processing method and device based on touch control pen

Also Published As

Publication number Publication date
CN107977155B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US10698587B2 (en) Display-efficient text entry and editing
CN107977155A (en) Handwriting recognition method, device, equipment and storage medium
RU2702270C2 (en) Detection of handwritten fragment selection
WO2022057535A1 (en) Information display method and apparatus, and storage medium and electronic device
US8656296B1 (en) Selection of characters in a string of characters
CN102968206B (en) Input unit and method for the terminal device with touch modules
CN110300966B (en) Enhanced pivot table creation and interaction
US9436357B2 (en) System and method for creating and viewing comic book electronic publications
JP2015504565A (en) Drawing control method, apparatus, and mobile terminal
KR102594951B1 (en) Electronic apparatus and operating method thereof
KR102075433B1 (en) Handwriting input apparatus and control method thereof
US20130063357A1 (en) Method for presenting different keypad configurations for data input and a portable device utilizing same
CN109918685A (en) Computer-aided translation method, apparatus, computer equipment and storage medium
JP2024064941A (en) Display method, apparatus, pen type electronic dictionary, electronic equipment, and recording medium
US11978252B2 (en) Communication system, display apparatus, and display control method
CN108492349A (en) Processing method, device and equipment for writing strokes and storage medium
CN107391015A (en) Control method, device and equipment of intelligent tablet and storage medium
KR20150090698A (en) Method and apparatus of managing objects on wallpaper
CN114745585B (en) Subtitle display method, device, terminal and storage medium
KR20160136726A (en) Electronic apparatus and the controlling method thereof
JP7148172B2 (en) Caption display processing program, caption display processing device, server.
CN108572776A (en) Rendering processing method, device and equipment based on special characters and storage medium
JP5831312B2 (en) Kanji display device and program
CN110730944B (en) Amplified input panel
WO2024065097A1 (en) Blackboard-writing content display method, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant