CN110633673B - Handwriting track modification method - Google Patents
Handwriting track modification method Download PDFInfo
- Publication number
- CN110633673B CN110633673B CN201910875336.5A CN201910875336A CN110633673B CN 110633673 B CN110633673 B CN 110633673B CN 201910875336 A CN201910875336 A CN 201910875336A CN 110633673 B CN110633673 B CN 110633673B
- Authority
- CN
- China
- Prior art keywords
- track
- coordinate
- intention
- deleted
- character
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Character Discrimination (AREA)
Abstract
The invention relates to a handwritten track modification method, which comprises the following steps that (1) a two-position coordinate lattice is formed on a screen of an electronic device by a track written on paper through a technical means, and is recorded and stored; (2) Carrying out model definition on the specific intention track of handwriting deletion modification, synchronizing the intention track to a recognition program in a human body handwriting mode, and matching the program with the defined model; (3) The deleted and modified intention track coordinate and the previously normally written coordinate are subjected to intention judgment, and a character track needing to be modified or deleted is judged through an action intention mathematical model, namely the character track is synchronized to a two-dimensional coordinate in a system; (4) Matching the modified or deleted character track, screening the character track needing to be deleted or modified according to the defined modification model and combining with the action intention mathematical model, judging the recognized and translated standard characters, realizing track tracing, and carrying out the next action, deletion or modification by a program. The invention has the advantages that: the invention can reduce deviation and improve accuracy.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a handwriting track modification method.
Background
The handwriting track modification algorithm realizes the character modification of handwriting input to track recognition, namely, the handwriting mode is used for electronically re-editing the written characters through a program algorithm, and the function of deleting or modifying electronic characters in the input process of an operating system (the characters are edited for the second time in a mode of manually operating a system screen or a keyboard) is replaced, so that the character recognition is realized while the recognized characters in the electronic screen can be conveniently modified when the characters are written on paper.
For example, a user writes on paper by using a pen, and simultaneously synchronizes a written track to an electronic screen through technical means, and in the process, the written track is recognized and translated through a character recognition system. However, if the written characters or symbols need to be modified and deleted during or after writing, the characters identified by the character identification system need to be modified and deleted at the same time, the existing trajectory tracking algorithm calculates the coordinates in the intended trajectory, and then selects the closest character to the coordinates to modify or delete, but the character selected by the algorithm to be modified or deleted is not accurate and has a certain deviation.
Therefore, it is very necessary to develop a handwriting trace modification method capable of reducing deviation and improving accuracy.
Disclosure of Invention
The invention aims to provide a handwriting track modification method which can reduce deviation and improve accuracy.
In order to solve the technical problems, the technical scheme of the invention is as follows: a handwriting track modification method has the innovation points that: the handwriting track modification method comprises the following steps:
step 1: forming a two-position coordinate lattice, namely a handwriting track, on the screen of the electronic equipment by all the tracks written on the paper through a technical means, and recording and storing the two-position coordinate lattice;
step 2: carrying out model definition on a specific intention track of handwriting deletion modification, wherein the intention track is synchronously given to a recognition program in a human body handwriting mode, and the program is matched with the defined model;
and step 3: the deleted and modified intention track coordinate and the previously normally written coordinate are subjected to intention judgment, and a character track needing to be modified or deleted is judged through an action intention mathematical model, namely the character track is synchronized to a two-dimensional coordinate in a system;
and 4, step 4: matching the modified or deleted character track, screening the character track needing to be deleted or modified according to the defined modification model and combining with the action intention mathematical model, judging the recognized and translated standard characters, realizing track tracking, and carrying out the next action, deletion or modification by a program.
Further, the "-" and "@" intended trajectories are defined as deletion intents, and the ". Smallcircle" intended trajectory is defined as modification intents.
Further, the "-" action intention mathematical model is:
z is more than or equal to alpha and T1x and less than or equal to beta and T2x T x are respectively arranged on the front axis coordinate and the rear axis coordinate of T2 x;
z = [ x1, x2, … …, xn ] trajectory x-axis coordinate
Z = [ x1, y1, x2, y2, … …, xn, yn ] actual track coordinate
z ∈ Z
Front blank area, gamma parameter factor
Post-white space, gamma parameter factor
All coordinates of coordinate points included in the x axis are determined as coordinates to be deleted within a range of a horizontal line "-" and standard characters in the coordinate range are determined as characters to be deleted.
Further, the "gamma" and "O" actions are intended to be mathematically modeled as:
step 1: identifying the handwriting 'gamma' or 'o' as a standard 'o' by OCR, obtaining specific center coordinates Z = [ X0, Y0] based on the standard 'o';
step 2: taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with a radius of R and an outer circle with a radius of R, wherein R = step length, and R = R +3;
and 3, step 3: the action of the step 2 is circulated, and in the circulation process, a standard character two-dimensional coordinate set Di defined in a circular ring formed by the inner circle and the outer circle is calculated each time, wherein i =1,2,3 …;
and 4, step 4: and selecting a collection set with the least coordinate points in each two-dimensional coordinate collection set Di, and deleting or modifying the character tracks corresponding to all track coordinates in the two-dimensional coordinate collection set Di.
The invention has the advantages that: the handwritten track modification method comprises the steps that a- (minus) -action intention mathematical model performs intention judgment on an intention track coordinate subjected to deletion modification and a coordinate normally written before, and coordinates of coordinate points included in an x axis of an actual track calculated by an algorithm track are judged to be coordinates needing to be deleted; the gamma and O action intention mathematical model finds out the coordinates with the least number falling in the ring formed by the inner ring and the outer ring through the continuously circulating inner ring and outer ring, and then modifies or deletes the track falling in the ring formed by the inner ring and the outer ring, thereby greatly improving the accuracy of the handwriting track modification method and avoiding the occurrence of deviation.
Detailed Description
The following examples are presented to enable one of ordinary skill in the art to more fully understand the present invention and are not intended to limit the scope of the embodiments described herein.
Examples
The handwriting track modification method comprises the following steps:
step 1: forming a two-position coordinate dot matrix, namely a handwriting track on the screen of the electronic equipment by all the tracks written on the paper through a technical means, and recording and storing the two-position coordinate dot matrix;
step 2: the 'gamma' intention track and the 'gamma' intention track are defined as deletion intentions, the 'O' intention track is defined as modification intentions, the intention tracks are synchronized to a recognition program through a human body handwriting mode, and the program is matched with a defined model;
and step 3: the deleted and modified intention track coordinate and the previously normally written coordinate are subjected to intention judgment, and a character track needing to be modified or deleted is judged through an action intention mathematical model, namely the character track is synchronized to a two-dimensional coordinate in a system;
and 4, step 4: matching the modified or deleted character track, screening the character track needing to be deleted or modified according to the defined modification model and combining with the action intention mathematical model, judging the recognized and translated standard characters, realizing track tracking, and carrying out the next action, deletion or modification by a program.
In an embodiment, "-" action intent mathematical model is:
z is more than or equal to alpha + T1x and less than or equal to beta + T2x T1x is provided with an x-axis coordinate in a front mode, and T2x is provided with an x-axis coordinate in a rear mode;
z = [ x1, x2, … …, xn ] trajectory x-axis coordinate
Z = [ x1, y1, x2, y2, … …, xn, yn ] actual track coordinate
z ∈ Z
Pre-white space, gamma parameter factor
Post-white space, gamma parameter factor
All coordinates of coordinate points included in the x axis are determined as coordinates to be deleted within a range of "-" horizontal line, and standard characters within the coordinate range are determined as characters to be deleted.
Specifically, for example, according to aspects of the present application, a segment of text "can be handwritten, without performing offline recognition on the entire handwritten trajectory many times, the rotation angle can be detected online at low cost, so as to perform more accurate and robust recognition on the handwritten trajectory, thereby improving the accuracy and robustness of the current recognizer, reducing the cost, and improving the efficiency," in can "without drawing a horizontal line" - ", and the horizontal line" - ", which is drawn from the" words "of" aspects ", obliquely upward passes through the" can-not-be-required "and" can-not-be-required "x-axis coordinate Z = [ x5, x5, … …, xn ], and the horizontal line" - "" actual trajectory coordinate Z = [ x1, y1, x2, y2, … …, xn, yn ], and the x-axis coordinate Z = [ x5, x5, … …, xn ] falls in the actual trajectory coordinate Z [ x1, y2, 3252 zxft, x 25, yyn ], and the text is deleted.
In an embodiment, the "gamma" and ". Smallcircle" actions are mathematically modeled as:
step 1: identifying handwritten "@" or ". O" as a standard ". O" based on which the specific center coordinates Z = [ X0, Y0] are obtained by OCR;
step 2: taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with a radius of R and an outer circle with a radius of R, wherein R = step length, and R = R +3;
and step 3: the action of the step 2 is circulated, and in the circulation process, a standard character two-dimensional coordinate set Di defined in a circular ring formed by the inner circle and the outer circle is calculated each time, wherein i =1,2,3 …;
and 4, step 4: and selecting a collection set with the least coordinate points in each two-dimensional coordinate collection set Di, and deleting or modifying the character tracks corresponding to all track coordinates in the two-dimensional coordinate collection set Di.
Specifically, 1) taking a center coordinate Z = [ X0, Y0] as a center of a circle, and taking an inner circle with a radius of 2 and an outer circle with a radius of 5 as an inner circle, a standard character two-dimensional coordinate set D1= { (X1, Y1), (X2, Y2) … (X12, Y12) } defined in an inner circle formed by the inner and outer circles;
2) Taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with the radius of 3 and an outer circle with the radius of 6 as a circle center, wherein a standard character two-dimensional coordinate set D2= { (X13, Y13), (X14, Y14) … (X21, Y21) } is defined in the inner circle formed by the inner circle and the outer circle;
3) Taking a center coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with the radius of 4 and an outer circle with the radius of 7 as a circle center, wherein a standard character two-dimensional coordinate set D3= { (X22, Y22), (X23, Y23) … (X29, Y29) } is defined in a circle ring formed by the inner circle and the outer circle;
4) Taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with the radius of 5 and an outer circle with the radius of 8 as a circle center, wherein a standard character two-dimensional coordinate set D4= { (X30, Y30), (X31, Y31) … (X35, Y35) } defined in the inner circle formed by the inner circle and the outer circle;
5) Taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with the radius of 5 and an outer circle with the radius of 8 as a circle center, wherein a standard character two-dimensional coordinate set D5= { (X36, Y36), (X37, Y37) … (X39, Y39) } is defined in the inner circle formed by the inner circle and the outer circle;
6) Selecting a collection D5 with the least coordinate points in each two-dimensional coordinate collection Di, and deleting or modifying character tracks corresponding to all track coordinates in the two-dimensional coordinate collection D5
The foregoing shows and describes the general principles and features of the present invention, together with the advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are given by way of illustration of the principles of the present invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, and such changes and modifications are within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (1)
1. A handwriting track modification method is characterized by comprising the following steps: the handwriting track modification method comprises the following steps:
step 1: forming a two-position coordinate lattice, namely a handwriting track, on the screen of the electronic equipment by all the tracks written on the paper through a technical means, and recording and storing the two-position coordinate lattice;
step 2: model definition is carried out on a specific intention track which is deleted and modified by handwriting, the intention track is synchronously sent to a recognition program in a human body handwriting mode, and the program is matched with the defined model;
and step 3: the deleted and modified intention track coordinate and the previously normally written coordinate are subjected to intention judgment, and a character track needing to be modified or deleted is judged through an action intention mathematical model, namely the character track is synchronized to a two-dimensional coordinate in a system;
and 4, step 4: matching the modified or deleted character track, screening out the character track to be deleted or modified according to a defined modification model and combining with an action intention mathematical model, judging the recognized and translated standard characters, realizing track tracking, and carrying out the next action, deletion or modification by a program;
"-" and "@" intended trajectories are defined as deletion intents, and ". Smallcircle" intended trajectories are defined as modification intents;
the "-" action intention mathematical model is as follows:
z is more than or equal to alpha and T1x and less than or equal to beta and T2x T x are respectively arranged on the front axis coordinate and the rear axis coordinate of T2 x;
z = [ x1, x2, … …, xn ] trajectory x-axis coordinate
Z = [ x1, y1, x2, y2, … …, xn, yn ] actual track coordinate
z ∈ Z
Pre-white space, gamma parameter factor
Post-white space, gamma parameter factor
According to the range of the horizontal line '-', all coordinate point coordinates contained in the x axis are judged as coordinates needing to be deleted, and standard characters in the coordinate range are judged as characters needing to be deleted;
the "gamma" and "O" action intention mathematical model is:
step 1: identifying the handwriting 'gamma' or 'o' as a standard 'o' by OCR, obtaining specific center coordinates Z = [ X0, Y0] based on the standard 'o';
and 2, step: taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with the radius of R and an outer circle with the radius of R, wherein R = step length, and R = R +3;
and step 3: the action of the step 2 is circulated, and in the circulation process, a standard character two-dimensional coordinate set Di defined in a circular ring formed by the inner circle and the outer circle is calculated each time, wherein i =1,2,3 …;
and 4, step 4: and selecting a collection set with the least coordinate points in each two-dimensional coordinate collection set Di, and deleting or modifying the character tracks corresponding to all track coordinates in the two-dimensional coordinate collection set Di.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910875336.5A CN110633673B (en) | 2019-09-17 | 2019-09-17 | Handwriting track modification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910875336.5A CN110633673B (en) | 2019-09-17 | 2019-09-17 | Handwriting track modification method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110633673A CN110633673A (en) | 2019-12-31 |
CN110633673B true CN110633673B (en) | 2023-04-18 |
Family
ID=68970965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910875336.5A Active CN110633673B (en) | 2019-09-17 | 2019-09-17 | Handwriting track modification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110633673B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113255652B (en) * | 2021-07-09 | 2021-10-29 | 北京世纪好未来教育科技有限公司 | Text correction method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008405A (en) * | 2013-02-26 | 2014-08-27 | 佳能株式会社 | Handwritten character recognition method and handwritten character recognition device |
CN106778720A (en) * | 2016-11-23 | 2017-05-31 | 武汉工程大学 | A kind of system and method rebuild to hand-written digitized process record and electronization |
CN107992792A (en) * | 2017-10-16 | 2018-05-04 | 华南理工大学 | A kind of aerial handwritten Chinese character recognition system and method based on acceleration transducer |
CN109445676A (en) * | 2018-09-11 | 2019-03-08 | 宁波思骏科技有限公司 | The method of the handwritten stroke information of user's input is deleted on handwriting equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331907B (en) * | 2011-09-13 | 2017-12-22 | 中兴通讯股份有限公司 | Character deleting method, device and terminal for the terminal with touch-screen |
CN104007914A (en) * | 2013-02-26 | 2014-08-27 | 北京三星通信技术研究有限公司 | Method and device for operating input characters |
-
2019
- 2019-09-17 CN CN201910875336.5A patent/CN110633673B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008405A (en) * | 2013-02-26 | 2014-08-27 | 佳能株式会社 | Handwritten character recognition method and handwritten character recognition device |
CN106778720A (en) * | 2016-11-23 | 2017-05-31 | 武汉工程大学 | A kind of system and method rebuild to hand-written digitized process record and electronization |
CN107992792A (en) * | 2017-10-16 | 2018-05-04 | 华南理工大学 | A kind of aerial handwritten Chinese character recognition system and method based on acceleration transducer |
CN109445676A (en) * | 2018-09-11 | 2019-03-08 | 宁波思骏科技有限公司 | The method of the handwritten stroke information of user's input is deleted on handwriting equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110633673A (en) | 2019-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106384094B (en) | A kind of Chinese word library automatic generation method based on writing style modeling | |
US7974472B2 (en) | Feature design for HMM based Eastern Asian character recognition | |
CN102855082B (en) | Character recognition for overlay text user input | |
US20130136377A1 (en) | Method and apparatus for beautifying handwritten input | |
EP3104305B1 (en) | Apparatus and method of reducing storage of handwritten strokes | |
JP2019101535A (en) | Teacher data preparation device and method thereof and image segmentation device and method thereof | |
JP5349645B1 (en) | Electronic device and handwritten document processing method | |
CN104063723B (en) | The stroke restoring method and device of the Off-line Handwritten Chinese | |
CN104424473A (en) | Method and device for identifying and editing freehand sketch | |
CN102693334B (en) | Based on the dynamic component recognition methods of CAD electronic drawing | |
WO2019000681A1 (en) | Information layout method, device, apparatus and computer storage medium | |
WO2021238446A1 (en) | Method and device for text recognition, and storage medium | |
JP2015162088A (en) | Electronic device, method, and program | |
CN109934227A (en) | System for recognizing characters from image and method | |
WO2014147712A1 (en) | Information processing device, information processing method and program | |
CN111192294B (en) | Target tracking method and system based on target detection | |
CN108830787A (en) | The method, apparatus and electronic equipment of anamorphose | |
CN108073930A (en) | A kind of target detection and tracking based on multiple irregular ROI | |
CN109035370A (en) | A kind of picture mask method and system | |
TW201516969A (en) | Visual object tracking method | |
CN110633673B (en) | Handwriting track modification method | |
CN105915224A (en) | Parallelization track compression method based on Mapreduce | |
CN111709428A (en) | Method and device for identifying key point positions in image, electronic equipment and medium | |
JP2017090998A (en) | Character recognizing program, and character recognizing device | |
CN106802958A (en) | Conversion method and system of the CAD data to GIS data |
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 |