CN110633673A - Handwriting track modification method - Google Patents

Handwriting track modification method Download PDF

Info

Publication number
CN110633673A
CN110633673A CN201910875336.5A CN201910875336A CN110633673A CN 110633673 A CN110633673 A CN 110633673A CN 201910875336 A CN201910875336 A CN 201910875336A CN 110633673 A CN110633673 A CN 110633673A
Authority
CN
China
Prior art keywords
track
coordinate
intention
deleted
handwriting
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
CN201910875336.5A
Other languages
Chinese (zh)
Other versions
CN110633673B (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.)
ZHENJIANG JINZHOU SOFTWARE CO Ltd
Jiangsu University of Science and Technology
Marine Equipment and Technology Institute Jiangsu University of Science and Technology
Original Assignee
ZHENJIANG JINZHOU SOFTWARE CO Ltd
Jiangsu University of Science and Technology
Marine Equipment and Technology Institute Jiangsu University of Science and Technology
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 ZHENJIANG JINZHOU SOFTWARE CO Ltd, Jiangsu University of Science and Technology, Marine Equipment and Technology Institute Jiangsu University of Science and Technology filed Critical ZHENJIANG JINZHOU SOFTWARE CO Ltd
Priority to CN201910875336.5A priority Critical patent/CN110633673B/en
Publication of CN110633673A publication Critical patent/CN110633673A/en
Application granted granted Critical
Publication of CN110633673B publication Critical patent/CN110633673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink

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 an identification program in a human body handwriting mode, and matching the intention track with the defined model by the program; (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 tracking, 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

Handwriting track modification method
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 the 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 + T1x and less than or equal to beta + T2x T1x, and the X-axis coordinate is arranged at the back 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 "-" horizontal line, and standard characters within 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 R and an outer circle with a radius R, wherein R is a step length, and R is 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 … 99;
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 in the ring formed by the inner and outer rings through the inner and outer rings which are continuously circulated, and then modifies or deletes the track in the ring formed by the inner and outer rings, thereby greatly improving the accuracy of the handwritten 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 handwritten 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: 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, and the X-axis coordinate is arranged at the back 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 "-" 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 written without performing offline recognition on the entire handwriting trajectory many times, so that the rotation angle can be detected online at low cost, so as to perform more accurate and robust recognition on the handwriting trajectory, thereby improving the accuracy and robustness of the current recognizer, reducing the cost, and improving the efficiency," in "can be" without drawing a horizontal line "-", and the horizontal line "-", which is drawn from the "words" of "aspects" obliquely upward and passes through the "can be" unnecessary ", x-axis coordinates Z = [ x5, x5, … …, xn ], which is the horizontal line" - "-the actual trajectory coordinates Z = [ x1, y1, x2, y2, … …, xn, yn ], and falling the x-axis coordinates Z = [ x5, x5, … …, xn ] on the actual trajectory coordinates Z = [ x1, and deleting characters corresponding to the x axis in y1, x2, y2, … …, xn and yn.
In an embodiment, the "gamma" and ". smallcircle" actions are 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 R and an outer circle with a radius R, wherein R is a step length, and R is 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 … 99;
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, and taking an inner circle with a radius of 2 and an outer circle with a radius of 5 as a circle center, a standard character two-dimensional coordinate set D1= { (X1, Y1), (X2, Y2) … (X12, Y12) } is defined in the circle formed by the inner circle and the outer circle;
2) taking a center 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 the inner circle formed by the inner circle and the outer circle;
4) taking a center 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) } is defined in the inner circle formed by the inner circle and the outer circle;
5) taking a center 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 described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (4)

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: 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.
2. The handwriting trajectory modification method according to claim 1, characterized in that: the "-" and "@" intended trajectories are defined as deletion intents, and the ". smallcircle" intended trajectory is defined as modification intents.
3. The handwriting trajectory modification method according to claim 2, characterized in that: the "-" action intention mathematical model is as follows:
z is more than or equal to alpha + T1x and less than or equal to beta + T2x T1x, and the X-axis coordinate is arranged at the back 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 "-" horizontal line, and standard characters within the coordinate range are determined as characters to be deleted.
4. The handwriting trajectory modification method according to claim 2, characterized in that: 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';
step 2: taking a central coordinate Z = [ X0, Y0] as a circle center, and taking an inner circle with a radius R and an outer circle with a radius R, wherein R is a step length, and R is 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 … 99;
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.
CN201910875336.5A 2019-09-17 2019-09-17 Handwriting track modification method Active CN110633673B (en)

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 true CN110633673A (en) 2019-12-31
CN110633673B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255652A (en) * 2021-07-09 2021-08-13 北京世纪好未来教育科技有限公司 Text correction method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331907A (en) * 2011-09-13 2012-01-25 中兴通讯股份有限公司 Character deleting method and device for terminal having touch screen, and terminal
CN104008405A (en) * 2013-02-26 2014-08-27 佳能株式会社 Handwritten character recognition method and handwritten character recognition device
CN104007914A (en) * 2013-02-26 2014-08-27 北京三星通信技术研究有限公司 Method and device for operating input characters
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331907A (en) * 2011-09-13 2012-01-25 中兴通讯股份有限公司 Character deleting method and device for terminal having touch screen, and terminal
CN104008405A (en) * 2013-02-26 2014-08-27 佳能株式会社 Handwritten character recognition method and handwritten character recognition device
CN104007914A (en) * 2013-02-26 2014-08-27 北京三星通信技术研究有限公司 Method and device for operating input characters
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255652A (en) * 2021-07-09 2021-08-13 北京世纪好未来教育科技有限公司 Text correction method, device, equipment and medium
CN113255652B (en) * 2021-07-09 2021-10-29 北京世纪好未来教育科技有限公司 Text correction method, device, equipment and medium

Also Published As

Publication number Publication date
CN110633673B (en) 2023-04-18

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
JP5349645B1 (en) Electronic device and handwritten document processing method
US11461409B2 (en) Digitization of technical documentation driven by machine learning
CN102693334B (en) Based on the dynamic component recognition methods of CAD electronic drawing
CN104424473A (en) Method and device for identifying and editing freehand sketch
JP2015162088A (en) Electronic device, method, and program
WO2021238446A1 (en) Method and device for text recognition, and storage medium
CN105378753A (en) Permanent synchronisation system for handwriting input
CN108830787A (en) The method, apparatus and electronic equipment of anamorphose
US20160155248A1 (en) System and Method for Interactive Sketch Recognition Based on Geometric Contraints
WO2014147712A1 (en) Information processing device, information processing method and program
CN108073930A (en) A kind of target detection and tracking based on multiple irregular ROI
CN110633673B (en) Handwriting track modification method
JP6055065B1 (en) Character recognition program and character recognition device
EP2767897B1 (en) Method for generating writing data and an electronic device thereof
CN105915224A (en) Parallelization track compression method based on Mapreduce
JP2007272473A (en) Character recognition device, method and program
CN111709428A (en) Method and device for identifying key point positions in image, electronic equipment and medium
CN104978734A (en) Foreground image extraction method and foreground image extraction device
US20230008529A1 (en) Gesture stroke recognition in touch-based user interface input
CN110414402B (en) Gesture data labeling method and device, electronic equipment and storage medium
US9396390B2 (en) Systems and methods for sketch processing

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