CN109189314B - Writing guide method, device, equipment and medium for handwriting equipment - Google Patents

Writing guide method, device, equipment and medium for handwriting equipment Download PDF

Info

Publication number
CN109189314B
CN109189314B CN201810918598.0A CN201810918598A CN109189314B CN 109189314 B CN109189314 B CN 109189314B CN 201810918598 A CN201810918598 A CN 201810918598A CN 109189314 B CN109189314 B CN 109189314B
Authority
CN
China
Prior art keywords
handwritten
handwriting
stroke
character
coordinates
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
Application number
CN201810918598.0A
Other languages
Chinese (zh)
Other versions
CN109189314A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810918598.0A priority Critical patent/CN109189314B/en
Publication of CN109189314A publication Critical patent/CN109189314A/en
Application granted granted Critical
Publication of CN109189314B publication Critical patent/CN109189314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B11/00Teaching hand-writing, shorthand, drawing, or painting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Abstract

The invention is suitable for the technical field of intelligent terminals, and provides a writing guiding method, a device, equipment and a storage medium of handwriting equipment, wherein the method comprises the following steps: when the received stroke type of the first handwritten stroke input by the user in the grid is consistent with the stroke type of the first sample stroke of the sample word, obtaining the relative position coordinate of the first handwritten stroke in the grid, calculating the central point position coordinate of the handwritten word corresponding to the sample word in the grid according to the relative position coordinate, determining the display position coordinate of the first handwritten stroke on the display terminal according to the central point position coordinate, the relative position coordinate and the zoom ratio, and displaying and outputting the zoomed handwritten word corresponding to the handwritten word which is completed to be written through the display terminal according to the zoom ratio and the display position coordinate, so that the handwritten word is accurately displayed and output at the preset position of the display device based on the handwritten word input by the user on the writing board, and the user is guided to write in the grid of the writing board in a standard manner.

Description

Writing guide method, device, equipment and medium for handwriting equipment
Technical Field
The invention belongs to the technical field of intelligent terminals, and particularly relates to a writing guiding method, a writing guiding device, writing guiding equipment and a storage medium of handwriting equipment.
Background
Chinese characters are the treasure of thousands of years of Chinese culture, are the characters with the largest number of people in the world, and the calligraphy art of Chinese characters is incomparable with any other characters, so that Chinese character writing is also important.
Traditional Chinese character writing practice is that students copy on a practice book with field character grids to practice Chinese character writing, along with rapid development of scientific technology, terminal equipment such as tablet computers and mobile phones are widely applied to work, life and study of people, intelligent handwriting equipment (for example, writing boards) is also increasingly popularized, students can practice writing through the intelligent handwriting equipment, and characters written on the intelligent handwriting equipment can be synchronously displayed on a flat board or other screens connected with the handwriting equipment.
Because the zooming method of a plurality of existing intelligent handwriting equipment only zooms in the central position of the grid according to the size of the whole font, students often encounter the situation that the stroke position (zoomed display in the middle of the grid) displayed on the screen of the terminal equipment is inconsistent with the position input by the students when using the intelligent handwriting equipment to practice the writing of the sample character, for example, the original student wants to write the first stroke of the Chinese character to be practiced on the upper left of the grid, but displays the central position of the grid in the screen of the terminal equipment after the intelligent handwriting equipment zooms, thereby greatly influencing the practice of the standard writing of the students.
Disclosure of Invention
The invention aims to provide a writing guide method, a writing guide device, writing guide equipment and a storage medium of handwriting equipment, and aims to solve the problems that due to the fact that the prior art cannot provide an effective writing guide method of the handwriting equipment, the display effect of handwriting is poor, and handwriting guide cannot be performed on a user.
In one aspect, the present invention provides a writing guidance method for a handwriting apparatus, the method including the steps of:
receiving a first handwritten stroke input by a user in a field character lattice of the handwriting equipment;
when the stroke type of the first handwritten stroke is consistent with that of a first sample stroke of a sample word, acquiring the relative position coordinate of the first handwritten stroke in the field character lattice, and calculating the central point position coordinate of the handwritten word corresponding to the sample word in the field character lattice according to the relative position coordinate;
determining the display position coordinates of the first handwritten strokes on a display terminal connected with the handwriting equipment according to the position coordinates of the central point, the relative position coordinates and a preset scaling;
and when the fact that the user finishes writing the handwritten words is detected, displaying and outputting the zoomed handwritten words corresponding to the handwritten words through the display terminal according to the zooming proportion and the display position coordinates.
In another aspect, the present invention provides a writing guide apparatus of a handwriting device, the apparatus including:
the handwriting stroke receiving unit is used for receiving a first handwriting stroke input by a user in a field character lattice of the handwriting equipment;
the coordinate calculation unit is used for acquiring the relative position coordinates of the first handwritten stroke in the field character lattice when the stroke type of the first handwritten stroke is consistent with the stroke type of the first sample stroke of the sample character, and calculating the position coordinates of the central point of the handwritten character corresponding to the sample character in the field character lattice according to the relative position coordinates;
the display coordinate determination unit is used for determining the display position coordinates of the first handwritten strokes on a display terminal connected with the handwriting equipment according to the central point position coordinates, the relative position coordinates and a preset scaling; and
and the handwritten character output unit is used for displaying and outputting the zoomed handwritten character corresponding to the handwritten character through the display terminal according to the zooming proportion and the display position coordinate when the fact that the user finishes the handwriting is detected.
In another aspect, the present invention further provides a handwriting device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for guiding handwriting of the handwriting device when executing the computer program.
In another aspect, the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the writing guidance method of the handwriting apparatus.
The invention receives a first handwritten stroke input by a user in a field character lattice of a handwriting device, when the stroke type of the first handwritten stroke is consistent with the stroke type of a first sample stroke of a sample character, the relative position coordinate of the first handwritten stroke in the field character lattice is obtained, the central point position coordinate of the handwritten character corresponding to the sample character in the field character lattice is calculated according to the relative position coordinate, the display position coordinate of the first handwritten stroke on a display terminal is determined according to the central point position coordinate, the relative position coordinate and the zoom ratio, when the fact that the user finishes handwriting writing is detected, the zoomed handwriting corresponding to the output handwritten character is displayed through the display terminal according to the zoom ratio and the display position coordinate, thereby accurately displaying and outputting the handwritten character at the preset position of the display device based on the handwritten character input by the user on a writing board, the user is guided to write regularly in the grid of the tablet.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a writing guidance method of a handwriting apparatus according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of a writing guidance method of a handwriting apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a writing guide apparatus of a handwriting device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a writing guide apparatus of a handwriting device according to a fourth embodiment of the present invention; and
fig. 5 is a schematic structural diagram of a handwriting device according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation flow of a writing guidance method for a handwriting device according to a first embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown, which are detailed as follows:
in step S101, a first handwritten stroke input by a user in a field form of a handwriting device is received.
The embodiment of the invention is suitable for intelligent handwriting equipment such as a handwriting pad and the like, and the intelligent handwriting equipment can be connected with a display terminal (such as a mobile phone, a tablet, a computer and the like) through WiFi or Bluetooth so as to display and output the content written on the intelligent handwriting equipment through the display terminal. The user enters a first handwritten stroke of the handwritten word in the corresponding grid of the field by means of the handwriting device, wherein the first handwritten stroke is the first stroke order of the sample word, e.g. the first handwritten stroke of the sample word "man" as a left-falling stroke(s), as the handwritten word to be practiced. When a user uses the handwriting equipment as a practice tool for writing Chinese characters, the handwriting equipment has corresponding Chinese character grid typesetting.
In step S102, when the stroke type of the first handwritten stroke is consistent with the stroke type of the first sample stroke of the sample word, the relative position coordinates of the first handwritten stroke in the field case are obtained, and the position coordinates of the central point of the handwritten word corresponding to the sample word in the field case are calculated according to the relative position coordinates.
In the embodiment of the invention, when the stroke type of the first handwritten stroke is consistent with the stroke type of the first sample stroke, the relative position coordinates of the first handwritten stroke in the grid are obtained, and then the position coordinates of the central point of the handwritten character corresponding to the sample character in the grid are calculated according to the size of the grid and the obtained relative position coordinates of the first handwritten stroke in the grid, wherein the stroke types comprise horizontal (a), vertical (a), left falling (a), dot (a), folding (a), and folding (b)
Figure BDA0001763664940000041
And the like.
When obtaining the relative position coordinates of the first handwritten stroke in the grid, preferably, when the stroke type of the received first handwritten stroke is consistent with the stroke type of the first sample stroke of the sample character and the writing sequence of the first handwritten stroke conforms to the standard writing order of the Chinese character, obtaining the relative position coordinates of the first handwritten stroke in the grid, thereby improving the check strictness of the handwritten stroke, wherein the standard writing order of the Chinese character follows the rule from top to bottom and from left to right.
In step S103, the coordinates of the display position of the first handwritten stroke on the display terminal connected to the handwriting device are determined according to the coordinates of the center point position, the coordinates of the relative position, and the preset scaling.
In the embodiment of the invention, the corresponding display position coordinate of the first handwritten stroke of the handwritten character relative to the display terminal screen is determined according to the position coordinate of the central point of the handwritten character in the grid, the relative position coordinate of the first handwritten stroke in the grid and the preset scaling, which are obtained through calculation, and the display terminal is connected with the handwriting equipment.
In step S104, when it is detected that the user has finished writing the handwriting, displaying, by the display terminal, the zoomed handwriting corresponding to the output handwriting according to the zoom ratio and the display position coordinates.
In the embodiment of the present invention, when the zoomed handwritten character corresponding to the handwritten character is displayed and output through the display terminal according to the zoom ratio and the display position coordinate, preferably, when it is detected that the user has finished writing the handwritten character, it is determined whether the font structure of the handwritten character matches the font structure of the sample character, if so, the zoomed handwritten character corresponding to the handwritten character is displayed and output through the display terminal according to the zoom ratio and the display position coordinate, otherwise, the finished Chinese character to be practiced is subjected to position translation and zoom according to the translation and zoom method described in the subsequent embodiment two, and is displayed and output through the display terminal, so that the strictness of the handwriting verification of the handwritten character is improved, the accuracy of the display position of the zoomed handwritten character is improved, and the user is guided to write regularly, wherein the font structure includes an upper-lower structure, an upper-middle-lower structure, a left-right structure, and a right structure, Left-middle-right structure, full-surrounding structure, half-surrounding structure, interpenetration structure, delta-shaped structure and independent structure.
In the embodiment of the invention, a first handwritten stroke input by a user in a field character lattice of a handwriting device is received, when the stroke type of the first handwritten stroke is consistent with the stroke type of a first sample stroke of a sample character, the relative position coordinate of the first handwritten stroke in the field character lattice is obtained, the central point position coordinate of the handwritten character corresponding to the sample character in the field character lattice is calculated according to the relative position coordinate, the display position coordinate of the first handwritten stroke on a display terminal is determined according to the central point position coordinate, the relative position coordinate and a scaling ratio, when the fact that the user finishes handwriting writing is detected, the scaled handwriting corresponding to the handwritten character is displayed and output through the display terminal according to the scaling ratio and the display position coordinate, and therefore, the handwritten character is accurately displayed and output at the preset position of the display device based on the handwritten character input by the user on a writing board, the user is guided to write regularly in the grid of the tablet.
Example two:
fig. 2 shows an implementation flow of a writing guidance method of a handwriting device according to a second embodiment of the present invention, and for convenience of description, only parts related to the second embodiment of the present invention are shown, which are detailed as follows:
in step S201, a first handwritten stroke input by a user in a field form of a handwriting device is received.
The embodiment of the invention is suitable for intelligent handwriting equipment such as a handwriting pad and the like, and the intelligent handwriting equipment can be connected with a display terminal (such as a mobile phone, a tablet, a computer and the like) through WiFi or Bluetooth so as to display and output the content written on the intelligent handwriting equipment through the display terminal. The user enters a first handwritten stroke of the handwritten word in the corresponding grid of the field by means of the handwriting device, wherein the first handwritten stroke is the first stroke order of the sample word, e.g. the first handwritten stroke of the sample word "man" as a left-falling stroke(s), as the handwritten word to be practiced. When a user uses the handwriting equipment as a practice tool for writing Chinese characters, the handwriting equipment has corresponding Chinese character grid typesetting.
In step S202, when the stroke type of the first handwritten stroke is inconsistent with the stroke type of the first sample stroke, the center coordinates of the grid are obtained, and the relative center coordinates of the handwritten word in the grid are obtained according to the first handwritten stroke.
In the embodiment of the invention, when the stroke type of the received first handwritten stroke is inconsistent with the stroke type of the first sample stroke of the sample character, the center coordinates of the field character lattice are obtained, and the relative center coordinates of the handwritten character in the field character lattice are obtained according to the position of the first handwritten stroke in the field character lattice.
In step S203, handwriting position coordinates of the handwriting stroke in the grid are obtained according to the received handwriting stroke of the handwriting.
In the embodiment of the invention, a user can write the handwriting stroke of the handwriting to be practiced at the position corresponding to the field character grid according to the size of the field character grid, and the handwriting position coordinate of the handwriting stroke in the field character grid is obtained according to the size of the field character grid and the received handwriting stroke of the handwriting.
In step S204, corresponding translation coordinates of the handwritten stroke in the handwriting device are calculated according to the relative center coordinates, the handwriting position coordinates and the positive center coordinates.
In the embodiment of the present invention, when calculating the translation coordinates corresponding to the handwritten stroke in the handwriting device, preferably, the translation coordinate formula x 'is x + o'x-oxAnd y '═ y + o'y-oyCalculating translation coordinates corresponding to the handwriting stroke in the handwriting device, wherein (x ', y ') is translation coordinates corresponding to the handwriting stroke after translation, (o 'x,o′y) Is the coordinate of the center of the grid of Chinese character Tian (o)x,oy) And (x, y) are relative center coordinates, so that the accuracy of acquiring translation coordinates of the handwritten strokes is improved.
In step S205, a zoom coordinate corresponding to the handwritten stroke is calculated by a preset zoom formula according to the translation coordinate and the positive center coordinate.
In the embodiment of the present invention, when the scaling coordinate corresponding to the handwritten stroke is calculated by a preset scaling formula, preferably, the scaling formula is used for calculating the scaling coordinate corresponding to the handwritten stroke
Figure BDA0001763664940000071
And
Figure BDA0001763664940000072
calculating scaling coordinates corresponding to the handwritten stroke, wherein (x ', y ') is the scaling coordinates corresponding to the handwritten stroke, and (x ', y ') is translation coordinates corresponding to the handwritten stroke after translation, (o 'x,o′y) Is the center of the gridAnd the coordinates W 'is the side length of the area occupied by the handwritten character estimated according to the coordinates of the handwriting position of the handwritten stroke and the relative center coordinates of the handwritten character, and W' is the preset side length of the zooming display area, so that the accuracy of the display position of the zoomed handwritten stroke is improved.
In step S206, the handwritten stroke is displayed and output through the display terminal according to the calculated zoom coordinates.
In the embodiment of the invention, the handwritten stroke is displayed and output through the display terminal according to the calculated scaling coordinate corresponding to the handwritten stroke relative to the display terminal.
In the embodiment of the invention, when the stroke type of a first handwritten stroke input by a user in a field character lattice of a handwriting device is not consistent with the stroke type of a first sample stroke, the center coordinates of the field character lattice are obtained, the relative center coordinates of the handwritten stroke in the field character lattice are obtained according to the first handwritten stroke, the handwriting position coordinates corresponding to the received handwritten stroke of the handwritten stroke in the field character lattice are obtained, the translation coordinates corresponding to the handwritten stroke in the handwriting device are calculated according to the relative center coordinates, the handwriting position coordinates and the center coordinates, the zoom coordinates corresponding to the handwritten stroke are calculated according to the translation coordinates and the center coordinates by a preset zoom formula, the handwritten stroke is displayed and output on a display terminal according to the calculated zoom coordinates, and the handwritten stroke of the handwritten character to be practiced is translated and zoomed, the user is not limited by the size of the written content and the writing area, so that the display effect of displaying output at the preset position of the display device based on the handwriting input by the user on the writing board is improved, and the writing experience of the user is improved.
Example three:
fig. 3 shows a structure of a writing guide apparatus of a handwriting device according to a third embodiment of the present invention, and for convenience of description, only a part related to the third embodiment of the present invention is shown, where the writing guide apparatus includes:
a handwritten stroke receiving unit 31, configured to receive a first handwritten stroke input by a user in a grid of a handwriting device;
the coordinate calculation unit 32 is configured to obtain the coordinates of the relative position of the first handwritten stroke in the grid when the stroke type of the first handwritten stroke is consistent with the stroke type of the first sample stroke of the sample word, and calculate the coordinates of the center point position of the handwritten word corresponding to the sample word in the grid according to the coordinates of the relative position;
a display coordinate determining unit 33, configured to determine, according to the central point position coordinate, the relative position coordinate, and a preset scaling ratio, a display position coordinate of the first handwritten stroke on a display terminal connected to the handwriting device; and
and the handwritten word output unit 34 is configured to display and output the zoomed handwritten word corresponding to the handwritten word through the display terminal according to the zoom ratio and the display position coordinates when it is detected that the user has finished handwriting writing.
Among them, preferably, the handwritten word output unit 34 includes:
the character style structure judging unit is used for judging whether the character style structure of the handwritten character is consistent with the character style structure of the sample character or not when the fact that the user finishes the handwriting writing is detected; and
and the handwritten character output subunit is used for displaying and outputting the zoomed handwritten character corresponding to the handwritten character through the display terminal according to the zooming ratio and the display position coordinate when the font structure of the handwritten character is consistent with the font structure of the sample character.
In the embodiment of the present invention, each unit of the writing guiding device of the handwriting apparatus may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into a software or hardware unit, which is not limited herein. Specifically, the implementation of each unit can refer to the description of the first embodiment, and is not repeated herein.
Example four:
fig. 4 shows a structure of a writing guide apparatus of a handwriting device according to a fourth embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown, where the writing guide apparatus includes:
a handwritten stroke receiving unit 41, configured to receive a first handwritten stroke input by a user in a grid of a handwriting device;
a coordinate obtaining unit 42, configured to obtain a center coordinate of the grid when the stroke type of the first handwritten stroke is inconsistent with the stroke type of the first sample stroke, and obtain a relative center coordinate of the handwritten word in the grid according to the first handwritten stroke;
a position coordinate obtaining unit 43, configured to obtain, according to the received handwritten strokes of the handwritten character, handwritten position coordinates corresponding to the handwritten strokes in the grid;
a translation coordinate calculation unit 44, configured to calculate translation coordinates corresponding to the handwritten strokes in the handwriting apparatus according to the relative center coordinates, the handwriting position coordinates, and the positive center coordinates;
a zoom coordinate calculation unit 45, configured to calculate zoom coordinates corresponding to the handwritten strokes according to the translation coordinates and the positive center coordinates through a preset zoom formula; and
and a handwritten stroke output unit 46 for outputting the handwritten stroke through display terminal display based on the calculated zoom coordinate.
Therein, preferably, the translation coordinate calculation unit 44 includes:
a coordinate calculation subunit operable to calculate a coordinate formula x '═ x + o'x-oxAnd y '═ y + o'y-oyCalculating translation coordinates corresponding to the handwriting stroke in the handwriting device, wherein (x ', y ') is translation coordinates corresponding to the handwriting stroke after translation, (o 'x,o′y) Is the coordinate of the positive center (o)x,oy) Relative center coordinates, and (x, y) handwriting position coordinates.
In the embodiment of the present invention, each unit of the writing guiding device of the handwriting apparatus may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into a software or hardware unit, which is not limited herein. Specifically, the implementation of each unit can refer to the description of the second embodiment, and is not repeated herein.
ExamplesFifthly:
fig. 5 shows a structure of a handwriting apparatus provided in a fifth embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown.
The handwriting device 5 of an embodiment of the invention comprises a processor 50, a memory 51 and a computer program 52 stored in the memory 51 and executable on the processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-described writing guidance method embodiment of the handwriting apparatus, such as steps S101 to S104 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the units in the above-described device embodiments, such as the functions of the units 31 to 34 shown in fig. 3.
In the embodiment of the invention, a first handwritten stroke input by a user in a field character lattice of a handwriting device is received, when the stroke type of the first handwritten stroke is consistent with the stroke type of a first sample stroke of a sample character, the relative position coordinate of the first handwritten stroke in the field character lattice is obtained, the central point position coordinate of the handwritten character corresponding to the sample character in the field character lattice is calculated according to the relative position coordinate, the display position coordinate of the first handwritten stroke on a display terminal is determined according to the central point position coordinate, the relative position coordinate and a scaling ratio, when the fact that the user finishes handwriting writing is detected, the scaled handwriting corresponding to the handwriting is displayed and output through the display terminal according to the scaling ratio and the display position coordinate, and therefore, the handwriting is accurately displayed and output at the preset position of the display device based on the handwriting input by the user on a writing board, the user is guided to write regularly in the grid of the tablet.
The handwriting equipment of the embodiment of the invention can be a handwriting board. The steps implemented when the processor 50 in the handwriting apparatus 5 executes the computer program 52 to implement the writing guidance method of the handwriting apparatus can refer to the description of the foregoing method embodiments, and are not described herein again.
Example six:
in an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements steps in a writing guidance method embodiment of the handwriting apparatus described above, for example, steps S101 to S104 shown in fig. 1. Alternatively, the computer program may be adapted to perform the functions of the units of the above-described device embodiments, such as the functions of the units 31 to 34 shown in fig. 3, when executed by the processor.
In the embodiment of the invention, a first handwritten stroke input by a user in a field character lattice of a handwriting device is received, when the stroke type of the first handwritten stroke is consistent with the stroke type of a first sample stroke of a sample character, the relative position coordinate of the first handwritten stroke in the field character lattice is obtained, the central point position coordinate of the handwritten character corresponding to the sample character in the field character lattice is calculated according to the relative position coordinate, the display position coordinate of the first handwritten stroke on a display terminal is determined according to the central point position coordinate, the relative position coordinate and a scaling ratio, when the fact that the user finishes handwriting writing is detected, the scaled handwriting corresponding to the handwriting is displayed and output through the display terminal according to the scaling ratio and the display position coordinate, and therefore, the handwriting is accurately displayed and output at the preset position of the display device based on the handwriting input by the user on a writing board, the user is guided to write regularly in the grid of the tablet.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, such as a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A writing guidance method of a handwriting apparatus, characterized by comprising the steps of:
receiving a first handwritten stroke input by a user in a field character lattice of the handwriting equipment;
when the stroke type of the first handwritten stroke is consistent with that of a first sample stroke of a sample word and the writing sequence of the first handwritten stroke accords with the writing order of a Chinese character standard, acquiring the relative position coordinate of the first handwritten stroke in the field character lattice, and calculating the position coordinate of the central point of the handwritten word corresponding to the sample word in the field character lattice according to the relative position coordinate;
determining the display position coordinates of the first handwritten strokes on a display terminal connected with the handwriting equipment according to the position coordinates of the central point, the relative position coordinates and a preset scaling;
and when the fact that the user finishes writing the handwritten words is detected, displaying and outputting the zoomed handwritten words corresponding to the handwritten words through the display terminal according to the zooming proportion and the display position coordinates.
2. The method of claim 1, wherein when it is detected that the user has completed writing the handwritten word, the step of displaying and outputting, by the display terminal, a post-zoom handwritten word corresponding to the handwritten word according to the zoom ratio and the display position coordinates comprises:
when the fact that the user finishes writing the handwriting is detected, whether the font structure of the handwriting conforms to the font structure of the sample character or not is judged;
and when the font structure of the handwritten character is consistent with the font structure of the sample character, displaying and outputting the zoomed handwritten character corresponding to the handwritten character through the display terminal according to the zooming proportion and the display position coordinate.
3. The method of claim 1, wherein after the step of receiving a first handwritten stroke entered by a user in a grid of the handwriting device, the method further comprises:
when the stroke type of the first handwritten stroke is inconsistent with the stroke type of the first sample stroke, acquiring the positive center coordinate of the grid, and acquiring the relative center coordinate of the handwritten word in the grid according to the first handwritten stroke;
acquiring corresponding handwriting position coordinates of the handwriting strokes in the Chinese character grid according to the received handwriting strokes of the handwriting;
calculating corresponding translation coordinates of the handwritten strokes in the handwriting equipment according to the relative center coordinates, the handwriting position coordinates and the positive center coordinates;
calculating zooming coordinates corresponding to the handwritten strokes through a preset zooming formula according to the translation coordinates and the positive center coordinates;
and displaying and outputting the handwritten strokes through the display terminal according to the calculated scaling coordinates.
4. The method of claim 3, wherein calculating translation coordinates corresponding to the handwritten stroke in the handwriting device comprises:
by translating the coordinate formula x '═ x + o'x-oxAnd y '═ y + o'y-oyCalculating translation coordinates corresponding to the handwriting stroke in the handwriting device, wherein (x ', y ') is the translation coordinates corresponding to the handwriting stroke after translation, (o 'x,o′y) Is the positive center coordinate (o)x,oy) Is the relative center coordinates, and (x, y) is the handwriting position coordinates.
5. A writing guide apparatus of a handwriting device, the apparatus comprising:
the handwriting stroke receiving unit is used for receiving a first handwriting stroke input by a user in a field character lattice of the handwriting equipment;
the coordinate calculation unit is used for acquiring the relative position coordinates of the first handwritten stroke in the field character lattice when the stroke type of the first handwritten stroke is consistent with that of the first sample stroke of the sample character and the writing sequence of the first handwritten stroke accords with the writing order of the Chinese character standard, and calculating the central point position coordinates of the handwritten character corresponding to the sample character in the field character lattice according to the relative position coordinates;
the display coordinate determination unit is used for determining the display position coordinates of the first handwritten strokes on a display terminal connected with the handwriting equipment according to the central point position coordinates, the relative position coordinates and a preset scaling; and
and the handwritten character output unit is used for displaying and outputting the zoomed handwritten character corresponding to the handwritten character through the display terminal according to the zooming proportion and the display position coordinate when the fact that the user finishes the handwriting is detected.
6. The apparatus of claim 5, wherein the handwriting output unit comprises:
a font structure judging unit, configured to judge whether a font structure of the handwritten word matches a font structure of the sample word when it is detected that the user has completed writing the handwritten word; and
and the handwritten character output subunit is used for displaying and outputting the zoomed handwritten character corresponding to the handwritten character through the display terminal according to the zoom ratio and the display position coordinate when the font structure of the handwritten character is consistent with the font structure of the sample character.
7. The apparatus of claim 5, wherein the apparatus further comprises:
the coordinate acquisition unit is used for acquiring the center coordinate of the grid when the stroke type of the first handwritten stroke is inconsistent with the stroke type of the first sample stroke, and acquiring the relative center coordinate of the handwritten word in the grid according to the first handwritten stroke;
the position coordinate acquisition unit is used for acquiring handwriting position coordinates corresponding to the handwriting strokes in the Chinese character tian grid according to the received handwriting strokes of the handwriting;
a translation coordinate calculation unit, configured to calculate, according to the relative center coordinate, the handwriting position coordinate, and the positive center coordinate, a translation coordinate corresponding to the handwriting stroke in the handwriting device;
the zooming coordinate calculation unit is used for calculating zooming coordinates corresponding to the handwritten strokes through a preset zooming formula according to the translation coordinates and the positive center coordinates; and
and the handwritten stroke output unit is used for displaying and outputting the handwritten strokes through the display terminal according to the calculated zoom coordinates.
8. The apparatus of claim 7, wherein the translation coordinate calculation unit comprises:
a coordinate calculation subunit operable to calculate a coordinate formula x '═ x + o'x-oxAnd y '═ y + o'y-oyCalculating translation coordinates corresponding to the handwriting stroke in the handwriting device, wherein (x ', y ') is the translation coordinates corresponding to the handwriting stroke after translation, (o 'x,o′y) Is the positive center coordinate (o)x,oy) Is the relative center coordinates, and (x, y) is the handwriting position coordinates.
9. Handwriting device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor implements the steps of the method according to any of claims 1 to 4 when executing said computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810918598.0A 2018-08-13 2018-08-13 Writing guide method, device, equipment and medium for handwriting equipment Active CN109189314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810918598.0A CN109189314B (en) 2018-08-13 2018-08-13 Writing guide method, device, equipment and medium for handwriting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810918598.0A CN109189314B (en) 2018-08-13 2018-08-13 Writing guide method, device, equipment and medium for handwriting equipment

Publications (2)

Publication Number Publication Date
CN109189314A CN109189314A (en) 2019-01-11
CN109189314B true CN109189314B (en) 2022-01-21

Family

ID=64921182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810918598.0A Active CN109189314B (en) 2018-08-13 2018-08-13 Writing guide method, device, equipment and medium for handwriting equipment

Country Status (1)

Country Link
CN (1) CN109189314B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860157B (en) * 2019-11-12 2022-06-24 广州视源电子科技股份有限公司 Display element adjusting method, device, equipment and storage medium
CN114093220A (en) * 2020-05-07 2022-02-25 天津洪恩完美未来教育科技有限公司 Writing learning implementation method and device, storage medium and computing equipment
CN113033539B (en) * 2021-03-30 2022-12-06 北京有竹居网络技术有限公司 Calligraphy practicing lattice detection method and device, readable medium and electronic equipment
CN114710601B (en) * 2022-03-07 2024-03-12 深圳创维-Rgb电子有限公司 Screen writing method and system based on shooting equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446055A (en) * 2010-09-30 2012-05-09 阿尔派株式会社 Character handwriting input method and device
CN103150019A (en) * 2013-03-12 2013-06-12 深圳市国华识别科技开发有限公司 Handwriting input system and method
CN103376998A (en) * 2012-04-19 2013-10-30 中兴通讯股份有限公司 Chinese typesetting method and device for handwriting equipment
CN103810506A (en) * 2014-01-03 2014-05-21 南京师范大学 Method for identifying strokes of handwritten Chinese characters
CN104182766A (en) * 2014-08-29 2014-12-03 南京师范大学 Method for judging correctness of position relation of strokes of handwritten Chinese character based on template matching
CN107003994A (en) * 2014-11-25 2017-08-01 三星电子株式会社 Method and apparatus for correcting hand-written character
CN107330399A (en) * 2017-06-29 2017-11-07 广州视源电子科技股份有限公司 Chinese character separating method, device, computer-readable storage medium and electronic equipment
CN108256448A (en) * 2017-12-29 2018-07-06 上海义启信息科技有限公司 A kind of Chinese-character writing recognition methods

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101676838B (en) * 2008-09-16 2012-05-23 夏普株式会社 Input device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446055A (en) * 2010-09-30 2012-05-09 阿尔派株式会社 Character handwriting input method and device
CN103376998A (en) * 2012-04-19 2013-10-30 中兴通讯股份有限公司 Chinese typesetting method and device for handwriting equipment
CN103150019A (en) * 2013-03-12 2013-06-12 深圳市国华识别科技开发有限公司 Handwriting input system and method
CN103810506A (en) * 2014-01-03 2014-05-21 南京师范大学 Method for identifying strokes of handwritten Chinese characters
CN104182766A (en) * 2014-08-29 2014-12-03 南京师范大学 Method for judging correctness of position relation of strokes of handwritten Chinese character based on template matching
CN107003994A (en) * 2014-11-25 2017-08-01 三星电子株式会社 Method and apparatus for correcting hand-written character
CN107330399A (en) * 2017-06-29 2017-11-07 广州视源电子科技股份有限公司 Chinese character separating method, device, computer-readable storage medium and electronic equipment
CN108256448A (en) * 2017-12-29 2018-07-06 上海义启信息科技有限公司 A kind of Chinese-character writing recognition methods

Also Published As

Publication number Publication date
CN109189314A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109189314B (en) Writing guide method, device, equipment and medium for handwriting equipment
KR101417286B1 (en) Character recognition for overlapping textual user input
CN107273002B (en) Handwriting input answering method, terminal and computer readable storage medium
US9020266B2 (en) Methods and devices for processing handwriting input
US9824266B2 (en) Handwriting input apparatus and control method thereof
WO2012147369A1 (en) Handwritten character input device and handwritten character input method
RU2015104882A (en) PORTABLE TERMINAL USING THE TOUCH KNOB AND METHOD FOR ENTERING A HANDWRITTEN TEXT USING IT
US10423312B2 (en) Method of styling content and touch screen device for styling content
CN101262663A (en) A facsimile mobile terminal device and its realization method
CN101751200A (en) Space input method for mobile terminal and implementation device thereof
CN102419645A (en) Method and device for inputting Chinese characters in combined mode and palm terminal
CN104598148B (en) A kind of computer contact screen handwritten Chinese character method
CN107622710A (en) Digitize writing practising method and system
CN103713845B (en) Method for screening candidate items and device thereof, text input method and input method system
KR20160064925A (en) Handwriting input apparatus and control method thereof
JP2012053867A (en) Handwritten data output processor
CN102929394A (en) Braille input method based on gesture recognition
US9927971B2 (en) Electronic apparatus, method and storage medium for generating chart object
WO2014205648A1 (en) Handwriting recognition based on writing speed
CN110991438A (en) Font scoring method, system and storage medium thereof
JP2015225526A (en) Electronic device and method
WO2020056619A1 (en) Method for error detection in text writing, terminal device, and storage medium
KR101275040B1 (en) Free form line recognition based electronic document driving apparatus and method
CN105243921A (en) Mobile-terminal-based calligraphy method and system
US20220365670A1 (en) Handwriting processing method, handwriting processing device and non-transitory 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