CN111898588A - Method and device for standardizing writing strokes - Google Patents
Method and device for standardizing writing strokes Download PDFInfo
- Publication number
- CN111898588A CN111898588A CN202010855685.3A CN202010855685A CN111898588A CN 111898588 A CN111898588 A CN 111898588A CN 202010855685 A CN202010855685 A CN 202010855685A CN 111898588 A CN111898588 A CN 111898588A
- Authority
- CN
- China
- Prior art keywords
- stroke
- area
- writing
- frame
- strokes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000000926 separation method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010422 painting Methods 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
Images
Classifications
-
- 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
- G06V30/333—Preprocessing; Feature extraction
- G06V30/347—Sampling; Contour coding; Stroke extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/04162—Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a method for standardizing writing strokes, which is characterized in that stroke areas forming a font body are arranged; dividing a stroke area into a plurality of trigger areas; and setting a triggering sequence of the plurality of triggering areas according to the stroke order. The method for standardizing the writing strokes has the advantages of accurate recognition and wide applicable font.
Description
Technical Field
The invention relates to a method and a device for standardizing writing strokes.
Background
With the advancement of science and technology and the emphasis on student learning, more and more electronic learning devices are on the market. The electronic equipment for children to learn and write also has more products, and the written strokes are identified and displayed by a certain stroke identification method. However, the existing stroke recognition method for the product has some problems, for example, the existing stroke recognition method firstly establishes a stroke library, extracts the characteristics of the strokes in the stroke library, and then judges whether the writing is correct or not by comparing the characteristics of the written strokes with the characteristics of the strokes in the stroke library, for example, the stroke recognition method is used for recognizing through calculating the stroke angles. The method is suitable for Chinese characters with less total strokes and horizontal and vertical strokes, but has lower recognition rate for pinyin letters and foreign alphabetic characters, and even can not be suitable for the Chinese characters.
Disclosure of Invention
To solve the problems of the background art, the present invention provides a method for normalizing strokes in writing.
A method for standardizing writing strokes is provided, which is provided with stroke areas forming a font body; dividing a stroke area into a plurality of trigger areas; and setting a triggering sequence of the plurality of triggering areas according to the stroke order.
Based on the above, a stroke frame is arranged in the stroke area of each stroke forming the font body, a plurality of separation lines are arranged in the stroke frame, and the stroke area in each stroke frame is separated into a continuous trigger area by the separation lines.
Based on the above, each of the separation lines is perpendicular to the instantaneous tangential direction of the writing direction when the stroke is written.
Based on the above, the relative size of the trigger area in the painting frame is set by the separating circle, or the relative position between two adjacent separating lines is set.
Based on the above, a separation circle is arranged in each trigger area, and the separation line of each trigger area is a tangent line of the separation circle; the center of the separating circle is positioned on the central line of each penholder frame along the direction of the order of the penholder; the diameter of the separating circle is not more than the width of the penholder frame and not less than half of the width of the penholder frame.
Based on the above, the area in each stroke frame, which is larger than the diameter of one separating circle and smaller than the diameters of two separating circles, is divided into one triggering area.
Based on the above, each trigger area extends outward from the frame of the penholder frame and is provided with a fault-tolerant area, and the width of the fault-tolerant area is at most one third of the width of the penholder frame.
Based on the above, if the number of skipped trigger regions is greater than the preset value during writing, it is determined that writing is not completed.
An apparatus for canonicalizing writing strokes, comprising a processor, a storage device, and a computer program stored on the storage device and executable on the processor, the processor implementing the method for canonicalizing writing strokes of any of claims 1-8 when executing the computer program.
Compared with the prior art, the method for standardizing the writing strokes has the advantages of accurate recognition and wide applicable font.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of the font body of the present invention.
FIG. 2 is a block diagram illustrating a structure of a fault tolerant area of a penholder frame according to the present invention.
In the figure: 1. a painting frame; 2. separating circles; 3. the center line of the painting frame; 4. a separation line; 5. a touch area; 6. and (4) fault tolerant zone.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
As shown in fig. 1 and 2, a method for standardizing writing strokes sets a stroke area constituting a font body; dividing a stroke area into a plurality of trigger areas; and setting a triggering sequence of the plurality of triggering areas according to the stroke order.
The font comprises a plurality of strokes, each stroke is provided with a stroke area, each stroke area is divided into trigger areas, and the trigger areas in the stroke areas of the single strokes are continuous trigger areas. And setting the trigger sequence of the trigger regions of all strokes of the font body according to the stroke order, namely the writing sequence, namely numbering all the trigger regions of the single font body according to the writing sequence. And judging, identifying and displaying the writing process and characters according to the sequence and the number of the triggering areas triggered by writing during writing. In this embodiment, after a certain trigger area is triggered in the writing process, the trigger area is filled with a color or a pattern, and if the certain trigger area is not triggered or the trigger sequence is incorrect, the trigger area is not filled or is filled with a different color/pattern. If a trigger area is not triggered or not sequentially triggered and the writing is considered to be irregular, the trigger area which is not triggered or not sequentially triggered is distinguished and displayed, and then the writing needs to be performed again, that is, all the filled trigger areas of the font body are reset and then are rewritten.
In practice, due to the fast writing speed or the influence of the device identification frequency during writing, the case that a part of the trigger area is skipped by a writing stroke or the case that the device cannot identify the whole trigger area may be caused. In this embodiment, the maximum number of skipped trigger regions is preset according to the identification frequency of the device, and if the preset value is three, it is determined that writing is not completed if the number of skipped trigger regions is greater than the preset value during writing. If the normal trigger region trigger sequence is to be sequentially triggered by a first trigger region, a second trigger region, a third trigger region, a fourth trigger region, a fifth trigger region and the like, if the device detects that the first trigger region is triggered, only the fifth trigger region and the trigger regions behind the fifth trigger region are detected, the writing is considered to be normal, and if only the sixth trigger region and the trigger regions behind the sixth trigger region are detected to be triggered, the writing is considered to be not finished, and the writing needs to be rewritten.
Specifically, a stroke frame is arranged in a stroke area of each stroke forming the font body, a plurality of separation lines are arranged in the stroke frame, and the stroke area in each stroke frame is separated into continuous trigger areas by the separation lines. Each separation line is perpendicular to the instantaneous tangent direction of the writing direction when the strokes are written, if the writing strokes are a line in the painting frame and the line is a central line in the painting frame along the stroke direction, the instantaneous tangent direction refers to the tangent direction of the intersection point of the separation line and the central line on the central line.
Preferably, the relative size of the trigger region in the penholder frame is set by the separating circle, that is, the relative position of two separating lines of the trigger region in the penholder frame (there is only one separating line in the first and last trigger regions of each penholder frame), or the relative position between two adjacent separating lines is set. In this embodiment, a separation circle is provided in each trigger area, and the separation line of each trigger area is a tangent line of the separation circle; the center of the separating circle is positioned on the central line of each penholder frame along the direction of the order of the penholder; the diameter of the separating circle is not more than the width of the penholder frame and not less than half of the width of the penholder frame. The relative size of the trigger zones is set by the separating circles, so that the relative size difference of the trigger zones is reduced as much as possible.
In practice, due to the arrangement of some strokes according to the font or font, the stroke frame ending region of some strokes is narrow, and if the stroke frame ending region is a pointed region or the separating circle cannot be completely equally divided into the stroke frame regions, the region which is larger than the diameter of the separating circle and smaller than the diameters of the two separating circles at last in each stroke frame is divided into a triggering region. In reality, different strokes of a single font body are crossed or overlapped, that is, trigger regions of different strokes are also overlapped, and in practice, the trigger regions can be prevented from being triggered by mistake by setting the relevance of the trigger regions, for example, when a previous trigger region of a certain trigger region is not triggered, the trigger region cannot be triggered, when the triggered region is triggered again, the trigger region cannot be triggered, and the like.
Preferably, each trigger area extends out of the frame of the penholder frame and is provided with a fault-tolerant area, and the width of the fault-tolerant area is at most one third of the width of the penholder frame. The fault tolerant area is not actually displayed on the device, only the area of the frame is displayed. Through the setting of the fault-tolerant area, the width of the trigger area is enlarged, and the fault-tolerant rate and the customer experience effect during stroke recognition are improved. In reality, along with the improvement of the proficiency of writing and learning, the fault-tolerant region can be cancelled through the equipment, so that the standard constraint degree of writing is further improved, and the writing standard degree of the font body is improved.
The embodiment also provides an apparatus for normalizing writing strokes, which comprises a processor, a storage device and a computer program stored on the storage device and capable of running on the processor, wherein the processor implements any one of the above methods for normalizing writing strokes when executing the computer program.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (9)
1. A method for normalizing strokes for writing, comprising:
setting a stroke area forming a font body;
dividing a stroke area into a plurality of trigger areas;
and setting a triggering sequence of the plurality of triggering areas according to the stroke order.
2. A method for specifying writing strokes as recited in claim 1, wherein: the method comprises the steps that a stroke frame is arranged in a stroke area of each stroke forming the font body, a plurality of separation lines are arranged in the stroke frame, and the stroke area in each stroke frame is separated into continuous trigger areas by the separation lines.
3. A method for specifying writing strokes as recited in claim 2, wherein: each of said separation lines is perpendicular to the instantaneous tangential direction of the writing direction when writing a stroke.
4. A method for specifying writing strokes as recited in claim 2, wherein: the relative size of the trigger area in the painting frame is set through the separating circle, or the relative position between two adjacent separating lines is set.
5. A method for specifying writing strokes as recited in claim 4, wherein: setting a separating circle in each triggering area, wherein the separating line of each triggering area is a tangent line of the separating circle; the center of the separating circle is positioned on the central line of each penholder frame along the direction of the order of the penholder; the diameter of the separating circle is not more than the width of the penholder frame and not less than half of the width of the penholder frame.
6. A method for specifying writing strokes as recited in claim 4, wherein: the area which is larger than the diameter of one separating circle and smaller than the diameters of two separating circles is finally divided into a triggering area in each penholder frame.
7. A method for specifying writing strokes as recited in claim 2, wherein: each triggering area extends out of the frame of the penholder frame and is provided with a fault-tolerant area, and the width of each fault-tolerant area is at most one third of the width of the penholder frame.
8. A method for specifying writing strokes as recited in claim 1, wherein: and if the number of the skipped trigger areas is larger than the preset value during writing, the writing is considered to be incomplete.
9. An apparatus for normalizing strokes for writing, comprising a processor, a storage device, and a computer program stored on the storage device and executable on the processor, wherein: the processor, when executing the computer program, implements the method of any of claims 1 to 8 for specifying writing strokes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010855685.3A CN111898588A (en) | 2020-08-24 | 2020-08-24 | Method and device for standardizing writing strokes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010855685.3A CN111898588A (en) | 2020-08-24 | 2020-08-24 | Method and device for standardizing writing strokes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111898588A true CN111898588A (en) | 2020-11-06 |
Family
ID=73224168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010855685.3A Pending CN111898588A (en) | 2020-08-24 | 2020-08-24 | Method and device for standardizing writing strokes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111898588A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103390358A (en) * | 2013-07-03 | 2013-11-13 | 广东小天才科技有限公司 | Method and device for judging normativity of character writing operation of electronic equipment |
CN104464393A (en) * | 2014-12-06 | 2015-03-25 | 中山市读书郎电子有限公司 | Chinese character copying and writing method for student tablet computer |
CN105551341A (en) * | 2016-02-26 | 2016-05-04 | 广东小天才科技有限公司 | Character tracing writing method and device |
CN105679139A (en) * | 2016-03-29 | 2016-06-15 | 马志刚 | Calligraphy writing medium |
CN106855945A (en) * | 2016-12-22 | 2017-06-16 | 上海云丞聚智能科技有限公司 | The write detection method and device of electronic copybook, electronic copybook |
CN107301803A (en) * | 2017-06-29 | 2017-10-27 | 广东小天才科技有限公司 | Pen order correction method, device, terminal equipment and computer storage medium |
CN107479812A (en) * | 2017-01-16 | 2017-12-15 | 福建蓝帽子互动娱乐科技股份有限公司 | A kind of intelligent write points-scoring system and method |
CN110097801A (en) * | 2019-03-29 | 2019-08-06 | 金华市花儿教育咨询有限公司 | A kind of method and system of stroke practice and error correction |
CN110555403A (en) * | 2019-08-29 | 2019-12-10 | 韶关市启之信息技术有限公司 | handwritten character evaluation method and system |
CN110888549A (en) * | 2019-11-08 | 2020-03-17 | 王震华 | Calligraphy practicing method, system and device based on touch device and storage medium |
-
2020
- 2020-08-24 CN CN202010855685.3A patent/CN111898588A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103390358A (en) * | 2013-07-03 | 2013-11-13 | 广东小天才科技有限公司 | Method and device for judging normativity of character writing operation of electronic equipment |
CN104464393A (en) * | 2014-12-06 | 2015-03-25 | 中山市读书郎电子有限公司 | Chinese character copying and writing method for student tablet computer |
CN105551341A (en) * | 2016-02-26 | 2016-05-04 | 广东小天才科技有限公司 | Character tracing writing method and device |
CN105679139A (en) * | 2016-03-29 | 2016-06-15 | 马志刚 | Calligraphy writing medium |
CN106855945A (en) * | 2016-12-22 | 2017-06-16 | 上海云丞聚智能科技有限公司 | The write detection method and device of electronic copybook, electronic copybook |
CN107479812A (en) * | 2017-01-16 | 2017-12-15 | 福建蓝帽子互动娱乐科技股份有限公司 | A kind of intelligent write points-scoring system and method |
CN107301803A (en) * | 2017-06-29 | 2017-10-27 | 广东小天才科技有限公司 | Pen order correction method, device, terminal equipment and computer storage medium |
CN110097801A (en) * | 2019-03-29 | 2019-08-06 | 金华市花儿教育咨询有限公司 | A kind of method and system of stroke practice and error correction |
CN110555403A (en) * | 2019-08-29 | 2019-12-10 | 韶关市启之信息技术有限公司 | handwritten character evaluation method and system |
CN110888549A (en) * | 2019-11-08 | 2020-03-17 | 王震华 | Calligraphy practicing method, system and device based on touch device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101802876B1 (en) | Multi-character continuous handwriting input method | |
US10606474B2 (en) | Touch screen finger tracing device | |
KR101417286B1 (en) | Character recognition for overlapping textual user input | |
US6891971B2 (en) | Recognition process | |
CA2718636C (en) | Method and tool for recognizing a hand-drawn table | |
CN103390358B (en) | Method and device for judging normativity of character writing operation of electronic equipment | |
CN111507330B (en) | Problem recognition method and device, electronic equipment and storage medium | |
US8634645B2 (en) | Method and tool for recognizing a hand-drawn table | |
JP5600696B2 (en) | Written kanji determination system and written kanji determination program | |
CN101369382A (en) | Chinese character writing validation system and method | |
CN101964048A (en) | Character recognition method and system | |
KR20180104678A (en) | System and method for recognizing multiple object structures | |
CN113657330B (en) | Font writing stroke order generation method, system and application method thereof | |
CN113627260A (en) | Method, system and computing device for recognizing stroke order of handwritten Chinese characters | |
CN111898588A (en) | Method and device for standardizing writing strokes | |
CN115984875B (en) | Stroke similarity evaluation method and system for hard-tipped pen regular script copy work | |
CN104978581A (en) | Handwriting trace sampling method and apparatus applied to writing brush | |
WO2015174341A1 (en) | Information processing device, program, and recording medium | |
CN110766997A (en) | Copy display method, device and storage medium | |
JP2017037125A (en) | Automatic scoring system for performing verification and determination by applying conversion to standard pattern and input pattern for handwriting input character with different configuration of stroke | |
CN114281224A (en) | Calibration method and device based on sliding block | |
JPWO2017069001A1 (en) | Program, information storage medium, and information processing apparatus | |
CN106776499B (en) | Method and device for realizing digitalized Chinese spelling | |
CN115311677A (en) | Writing evaluation method and device and electronic equipment | |
CN105488543A (en) | Method and device for obtaining recognition model |
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 |