[go: up one dir, main page]

CN108597006A - Method for drafting, computing device and the computer storage media of handwriting - Google Patents

Method for drafting, computing device and the computer storage media of handwriting Download PDF

Info

Publication number
CN108597006A
CN108597006A CN201810400100.1A CN201810400100A CN108597006A CN 108597006 A CN108597006 A CN 108597006A CN 201810400100 A CN201810400100 A CN 201810400100A CN 108597006 A CN108597006 A CN 108597006A
Authority
CN
China
Prior art keywords
handwriting
report point
person
width
standard
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
CN201810400100.1A
Other languages
Chinese (zh)
Other versions
CN108597006B (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.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201810400100.1A priority Critical patent/CN108597006B/en
Publication of CN108597006A publication Critical patent/CN108597006A/en
Application granted granted Critical
Publication of CN108597006B publication Critical patent/CN108597006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method for drafting of handwriting, computing device and computer storage medias.Method includes:Determine that the moving parameter of person's handwriting between the first report point and the second report point, the second report point report a little for person's handwriting current location is corresponding, the first report point reports a little for person's handwriting prior location is corresponding;Standard handwriting width corresponding with the second report point is determined according to moving parameter;The practical person's handwriting width of the second report point is determined according to the practical person's handwriting width of the first report point and standard handwriting width;Handwriting is drawn according to the practical person's handwriting width of the second determining report point.Handwriting width in this programme is related to person's handwriting moving parameter, to reflect lettering feature of user during handwriting, improves the simulated effect of handwriting, promotes user experience;Also, the person's handwriting width that current location is determined by prior location person's handwriting width and person's handwriting moving parameter synthesis, can be improved the smoothness of the handwriting of drafting, promotes the drafting effect of handwriting.

Description

Method for drafting, computing device and the computer storage media of handwriting
Technical field
The present invention relates to e-book technical fields, and in particular to a kind of method for drafting of handwriting, computing device and meter Calculation machine storage medium.
Background technology
With science and technology and society continuous development, e-book by its energy conservation and environmental protection, in the form of changeable, lower-price characteristic by To the favor of numerous users.To further improve the popularization degree of e-book, the experience that user uses e-book is promoted, increasingly More e-book terminal supports user with handwriting mode typing person's handwriting in e-books.
Currently, supporting the e-book terminal of user's handwriting when drawing user's handwriting, user is usually only obtained Corresponding handwriting is drawn out in position of beginning to write in e-book screen according to the position of beginning to write got.
However, the thickness for the handwriting drawn out using aforesaid way is identical, user can not be reacted in writing process Lettering feature (such as writing speed puts forth effort size), there are larger with the handwriting drawn out in traditionally on paper books Difference, to keep the handwriting simulated effect drawn out using this method poor, user experience is low.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the method for drafting, computing device and computer storage media of the handwriting of problem.
According to an aspect of the invention, there is provided a kind of method for drafting of handwriting comprising:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
According to another aspect of the present invention, a kind of computing device is provided, wherein computing device includes:Processor is deposited Reservoir, communication interface and communication bus, the processor, the memory and the communication interface are complete by the communication bus At mutual communication;
For the memory for storing an at least executable instruction, it is following that the executable instruction makes the processor execute Operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
According to a further aspect of the invention, a kind of computer storage media is provided, in the computer storage media It is stored with an at least executable instruction, for making processor execute following operation the executable instruction:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
The is determined first according to the method for drafting, computing device and computer storage media of handwriting provided by the invention The moving parameter of person's handwriting between 1 report point and the second report point, wherein the second report point reports a little for person's handwriting current location is corresponding, the Report point reports a little for person's handwriting prior location is corresponding;And it is determined according to moving parameter wide with the second corresponding standard handwriting of report point Degree;The practical person's handwriting width of the second report point is determined according to the practical person's handwriting width of the first report point and standard handwriting width;Finally Handwriting is drawn according to the practical person's handwriting width of the second determining report point.Handwriting width in this programme is moved with person's handwriting Parameter is related, to reflect lettering feature of user during handwriting, convenient for improving the imitative of the handwriting drawn True effect promotes user experience;Also, determining present bit is integrated by the person's handwriting width and person's handwriting moving parameter of prior location The person's handwriting width set, can be improved the smoothness of the handwriting of drafting, promote the drafting effect of handwriting, to further Promote user experience.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of the method for drafting of the handwriting provided according to an embodiment of the present invention;
Fig. 2 shows the flow diagrams of the method for drafting of the handwriting provided according to a further embodiment of the invention;
Fig. 3 a show the report of one kind first in present invention point, the second report point, standard point and standard angle position view;
Fig. 3 b show the report of the another kind first in present invention point, the second report point, standard point and the signal of standard Angle Position Figure;
Fig. 4 shows the first stroke of a Chinese character and the tail pen optimization schematic diagram of a kind of handwriting;
It is hand-written that Fig. 5 shows that a kind of method for drafting of the handwriting provided using another embodiment of the present invention is drawn Person's handwriting schematic diagram;
Fig. 6 shows a kind of structural schematic diagram of the computing device provided according to an embodiment of the present invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow diagram of the method for drafting of the handwriting provided according to an embodiment of the present invention.Such as Shown in Fig. 1, this method includes:
Step S101 determines the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting Current location is corresponding to be reported a little, and the first report point reports a little for person's handwriting prior location is corresponding.
Specifically, the handwriting that the present invention is drawn is the handwriting with respective width, in drawing process, is needed true Person's handwriting width corresponding to settled front position, and then painting for handwriting is realized by the connection of current location and a upper position System.So need to obtain in this step it is corresponding with current location report point (i.e. second report point) and prior location it is corresponding on Report point (the i.e. first report point).
Further determine the moving parameter of person's handwriting between the first report point and the second report point.Wherein, those skilled in the art Corresponding moving parameter can be selected according to actual service conditions, and corresponding determination side is selected according to the moving parameter of selection Method.For example, during traditionally on paper books written handwriting, hand-written rate etc. will have a direct impact on the width of person's handwriting, so, it can incite somebody to action Moving parameter of the movement speed of person's handwriting as person's handwriting between the first report point and the second report point between first report point and the second report point, And the movement speed of person's handwriting between the first report point and the second report point is determined by corresponding speed calculation method.
Step S101 determines standard handwriting width corresponding with the second report point according to moving parameter.
Different from the handwriting of same size drawn in the prior art, it is previously provided in the present embodiment multiple and different Standard handwriting width and different moving parameter numerical value and multiple different standard handwriting width mapping relations.It is logical The mapping relations are crossed, are determined according to the moving parameter numerical value determined in step S101 wide with the second corresponding standard handwriting of report point Degree.
As shown in table 1, it illustrates the corresponding standard handwriting width of different movement speeds.If moving parameter is mobile speed It spends, the movement speed of person's handwriting is 2cm/s between the first report point and the second report that are determined in step S101, then can be true according to table 1 It is 20 pixels to determine the corresponding standard handwriting width of the second report point.
Table 1
Movement speed (v) Speed step Standard handwriting width
V < 1cm/s At a slow speed 10 pixels
1cm/s≤v≤3cm/s Middling speed 20 pixels
V > 3cm/s Quickly 30 pixels
Step S103, it is true according to the practical person's handwriting width of the first report point and the corresponding standard handwriting width of the second report point The practical person's handwriting width of fixed second report point.
For avoid the second report point and first report point between person's handwriting width difference it is big caused by handwriting smoothness it is relatively low The drawbacks of, the present embodiment further combines the after step S102 determines the second corresponding standard handwriting width of report point One reports the practical person's handwriting width of point and the second corresponding standard handwriting width of report point to determine that the practical person's handwriting of the second report point is wide Degree, to promote the smoothness for the handwriting subsequently drawn.
Step S104 draws handwriting according to the practical person's handwriting width of the second determining report point.
According to the practical person's handwriting width of step S103 the second report points determined, hand is realized by the connection with the first report point Write the drafting of person's handwriting.
According to the method for drafting of handwriting provided in this embodiment, it is first determined pen between the first report point and the second report point The moving parameter of mark, wherein the second report point reports a little for person's handwriting current location is corresponding, and the first report point is person's handwriting prior location pair That answers reports a little;And standard handwriting width corresponding with the second report point is determined according to moving parameter;According to the reality of the first report point Person's handwriting width and standard handwriting width determine the practical person's handwriting width of the second report point;Finally according to the reality of the second determining report point Border person's handwriting width draws handwriting.Handwriting width in this programme is related to person's handwriting moving parameter, to reflect use Lettering feature of family during handwriting promotes user experience convenient for improving the simulated effect for the handwriting drawn;And And the person's handwriting width of determining current location is integrated by the person's handwriting width of prior location and person's handwriting moving parameter, it can be improved and paint The smoothness of the handwriting of system promotes the drafting effect of handwriting, to further promote user experience.
Fig. 2 shows the flow diagrams of the method for drafting of the handwriting provided according to a further embodiment of the invention. As shown in Fig. 2, this method includes:
Step S201 determines the moving parameter of person's handwriting between the first report point and the second report point.
Wherein, the second report point reports a little for person's handwriting current location is corresponding, and the first report point is that person's handwriting prior location is corresponding It reports a little.Optionally, the traveling time of person's handwriting is unit time interval between current location and prior location, i.e., in actual reality During applying, report corresponding position is corresponding to report a little every the unit interval.
Further, due to during traditionally on paper books written handwriting, hand-written rate and put forth effort size can direct shadow Person's handwriting width is rung, so, the moving parameter in this example can be movement speed and/or mobile pressure sensitivity.Specifically, is being determined Between 1 report point and the second report point when the moving parameter of person's handwriting, the distance between the first report point and the second report point and time can be passed through Interval determines a movement speed for person's handwriting between the first report point and the second report point, and/or obtains the by corresponding pressure sensor The mobile pressure sensitivity of person's handwriting between 1 report point and the second report point.
Step S202 determines standard handwriting width corresponding with the second report point according to moving parameter.
It is previously provided with multiple and different standard handwriting width and different moving parameter numerical value in the present embodiment and is somebody's turn to do The mapping relations of multiple and different standard handwriting width.By the mapping relations, according to the moving parameter determined in step S201 Numerical value determines standard handwriting width corresponding with the second report point.
It is wide to judge whether the practical person's handwriting width of the first report point is equal to the second corresponding standard handwriting of report point by step S203 Degree;If so, executing step S204;Otherwise, step S205 is executed.
Specifically, after determining standard handwriting width corresponding with the second report point, the first report point is further compared Practical person's handwriting width and the corresponding standard handwriting width of the second report point, to avoid directly by the second corresponding standard pen of report point The stitch width drawback relatively low as the smoothness of handwriting caused by the practical person's handwriting width of the second report point.
Step S204, using the second corresponding standard handwriting width of report point as the practical person's handwriting width of the second report point.
If the practical person's handwriting width of the first report point is equal to the second corresponding standard handwriting width of report point, point is reported by second Practical person's handwriting width of the corresponding standard handwriting width as the second report point.
Step S205, it is corresponding according to preset standard angle, the practical person's handwriting width of the first report point and the second report point Standard handwriting width determines the practical person's handwriting width of the second report point.
When the practical person's handwriting width of the first report point is not equal to the second report corresponding standard handwriting width of point, after raising The smoothness of the continuous handwriting drawn, in this step according to preset standard angle, the first report point practical person's handwriting width and The second corresponding standard handwriting width of report point determines the practical person's handwriting width of the second report point.
In specific implementation process, first according to preset standard angle, the practical person's handwriting width of the first report point, the is determined The corresponding standard point of the two corresponding standard handwriting width of report point.Wherein, standard Angle Position is variable.When the first report point is located at standard When the angular bisector of angle, standard point is also in the angular bisector, also, passes through standard point and the straight line perpendicular to the angular bisector It is equal to second with the intercept on standard angle both sides and reports a corresponding standard handwriting width.
As shown in Figure 3a, when the second corresponding standard handwriting width of report point is more than the practical person's handwriting width of the first report point When, the opening direction of standard angle θ is consistent with the moving direction of person's handwriting.Also, the first report point A is located at the angular bisector of standard angle θ In, line segment A1A2Length is the corresponding practical person's handwriting width L of the first report point A1(A A1A2Midpoint), by standard point O and perpendicular to The straight line of the angular bisector intersects at point O respectively with two sides of standard angle θ1And point O2, and line segment O1O2Length is equal to second The corresponding standard handwriting width L of report point, then can be according to standard angle θ, the practical person's handwriting width L of the first report point1, second report point a phase Corresponding standard handwriting width L determines the position of standard point.For example, determining standard point O relative to the first report by formula 2-1 The distance OA of point A:
Similarly, as shown in Figure 3b, when the second corresponding standard handwriting width of report point is less than the practical person's handwriting of the first report point When width, the opening direction of standard angle θ is opposite with the moving direction of person's handwriting.It can then determine that standard point O is opposite by formula 2-2 In the distance OA of the first report point A:
Secondly, after determining the corresponding standard point of the second corresponding standard handwriting width of report point, according further to the Position relationship of the 2 report points with standard point, selects corresponding method to determine the practical person's handwriting width of the second report point.
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And standard angle, determine the practical person's handwriting width of the second report point.As shown in Figure 3a, if the second report point is positioned at the first report point A and mark Point B between O on schedule, then can by formula 2-3, according to the distance between the second report point and standard point L', standard angle θ and The second report corresponding standard handwriting width L of point, determines the practical person's handwriting width L of the second report point2(i.e. line segment B1B2Length):
Alternatively, as shown in Figure 3b, the practical person's handwriting width L of the second report point is determined by formula 2-42
Here, it will be apparent to a skilled person that when second report point be located at first report point standard point between when, Determine that the algorithm of the practical person's handwriting width of the second report point is not limited to above-mentioned formula 2-3 and formula 2-4, those skilled in the art Corresponding computational methods, the present invention can be selected not to limit this according to actual service conditions.
When the second report point is not located between the first report point and standard point, by the second corresponding standard handwriting width of report point Practical person's handwriting width as the second report point.As shown in Figure 3a, if the second report point is point C, the first report point A and standard are not located at Between point O, then using the second corresponding standard handwriting width of report point as the practical person's handwriting width of the second report point.
Step S206 draws handwriting according to the practical person's handwriting width of the second determining report point.
Specifically, according to the practical person's handwriting width of the second determining report point, the second report of connection point and the first report point, to real The drafting of existing handwriting.
Step S207, the first stroke of a Chinese character and/or tail pen for handwriting optimize.
Specifically, according to the drafting direction of handwriting, the first stroke of a Chinese character and/or tail pen for each handwriting are mended Two endpoints of circle processing, that is, the first stroke of a Chinese character and/or tail pen that are directed to each handwriting carry out circular sliding slopes.Optionally, ability Field technique personnel can be according to the first stroke of a Chinese character of the circular sliding slopes handwriting for specifically showing effect selection suitable curvature and/or tail pen Two endpoints.
As shown in figure 4, the drafting direction of handwriting is after left-hand, wherein painted with handwriting at the first stroke of a Chinese character 41 It is drawn in the opposite direction using the corresponding person's handwriting width of the first stroke of a Chinese character as the semicircle of diameter system side;It is painted with handwriting at the tail pen 42 The identical direction in direction processed is drawn using the corresponding person's handwriting width of tail pen as the semicircle 44 of diameter, is risen to handwriting to realize The optimization of pen and tail pen improves the simulated effect of handwriting, promotes user experience.
Fig. 5 is the handwriting drawn out using the method for drafting of handwriting provided in this embodiment, where it can be seen that Its handwriting width drawn out differs, and to reflect the lettering feature of user, has higher simulated effect;And it draws The person's handwriting smoothness gone out is higher, is conducive to promote user experience.
According to the method for drafting of handwriting provided in this embodiment, it is first determined pen between the first report point and the second report point The moving parameter of mark, wherein the second report point reports a little for person's handwriting current location is corresponding, and the first report point is person's handwriting prior location pair That answers reports a little;And standard handwriting width corresponding with the second report point is determined according to moving parameter;When the practical pen of the first report point When stitch width is equal to standard handwriting width, using standard handwriting width as the practical person's handwriting width of the second report point;When the first report point Practical person's handwriting width be not equal to standard handwriting width when, according to preset standard angle, first report point practical person's handwriting width with And standard handwriting width determines the practical person's handwriting width of the second report point.Finally according to the practical person's handwriting width of the second determining report point Draw handwriting.Handwriting width in this programme is related to person's handwriting moving parameter, to reflect user in writing pencil Lettering feature during mark promotes user experience convenient for improving the simulated effect for the handwriting drawn;Also, before passing through The person's handwriting width and person's handwriting moving parameter of one position integrates the person's handwriting width of determining current location, and the writing pencil of drafting can be improved The smoothness of mark promotes the drafting effect of handwriting, to further promote user experience;Further, pass through opponent It writes the first stroke of a Chinese character of person's handwriting and/or tail pen optimizes the effect that shows that can further promote handwriting, promote user experience.
A kind of nonvolatile computer storage media is provided according to embodiments of the present invention, and the computer storage media is deposited An at least executable instruction is contained, which can perform the method in above-mentioned any means embodiment.
Executable instruction specifically can be used for so that processor executes following operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
In a kind of optional embodiment, when the traveling time of person's handwriting is unit between the current location and prior location Between be spaced.
In a kind of optional embodiment, the moving parameter is movement speed and/or mobile pressure sensitivity.
In a kind of optional embodiment, executable instruction specifically can be used for so that processor executes following operation:
When first report point practical person's handwriting width be equal to the standard handwriting width when, using the standard handwriting width as The practical person's handwriting width of second report point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the The practical person's handwriting width and the standard handwriting width of report point determine the practical person's handwriting width of the second report point.
In a kind of optional embodiment, executable instruction specifically can be used for so that processor executes following operation:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding mark of the standard handwriting width is determined On schedule;
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And the standard angle, determine the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the second report point Practical person's handwriting width.
In a kind of optional embodiment, the movement speed reports the distance between point in time by the first report point with second Between be spaced determine.
In a kind of optional embodiment, executable instruction specifically can be used for so that processor executes following operation:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
In a kind of optional embodiment, executable instruction specifically can be used for so that processor executes following operation:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.
Fig. 6 shows a kind of structural schematic diagram of the computing device provided according to an embodiment of the present invention, present invention tool Body embodiment does not limit the specific implementation of computing device.
As shown in fig. 6, the computing device may include:Processor (processor) 602, communication interface (Communications Interface) 604, memory (memory) 606 and communication bus 608.
Wherein:Processor 602, communication interface 604 and memory 606 complete mutual lead to by communication bus 608 Letter.Communication interface 604, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..Processor 602 is used In executing program 610, the correlation step in above method embodiment can be specifically executed.
Program 610 specifically can be used for so that processor 602 executes following operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
In a kind of optional embodiment, when the traveling time of person's handwriting is unit between the current location and prior location Between be spaced.
In a kind of optional embodiment, the moving parameter is movement speed and/or mobile pressure sensitivity.
In a kind of optional embodiment, program 610 specifically can be used for so that processor 602 executes following operation:
When first report point practical person's handwriting width be equal to the standard handwriting width when, using the standard handwriting width as The practical person's handwriting width of second report point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the The practical person's handwriting width and the standard handwriting width of report point determine the practical person's handwriting width of the second report point.
In a kind of optional embodiment, program 610 specifically can be used for so that processor 602 executes following operation:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding mark of the standard handwriting width is determined On schedule;
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And the standard angle, determine the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the second report point Practical person's handwriting width.
In a kind of optional embodiment, the movement speed reports the distance between point in time by the first report point with second Between be spaced determine.
In a kind of optional embodiment, program 610 specifically can be used for so that processor 602 executes following operation:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
In a kind of optional embodiment, program 610 specifically can be used for so that processor 602 executes following operation:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
The invention discloses:A1. a kind of method for drafting of handwriting comprising:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
A2. the method according to A1, wherein the traveling time of person's handwriting is single between the current location and prior location Position time interval.
A3. the method according to A1 or A2, wherein the moving parameter is movement speed and/or mobile pressure sensitivity.
A4. the method according to A1, wherein the practical person's handwriting width according to the first report point and the standard pen Stitch width determines that the practical person's handwriting width of the second report point further comprises:
When first report point practical person's handwriting width be equal to the standard handwriting width when, using the standard handwriting width as The practical person's handwriting width of second report point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the The practical person's handwriting width and the standard handwriting width of report point determine the practical person's handwriting width of the second report point.
A5. the method according to A4, wherein described according to preset standard angle, the practical person's handwriting width of the first report point And the standard handwriting width determines that the practical person's handwriting width of the second report point further comprises:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding mark of the standard handwriting width is determined On schedule;
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And the standard angle, determine the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the second report point Practical person's handwriting width.
A6. the method according to any one of A3-A5, wherein the movement speed passes through the first report point and the second report The distance between point and time interval determine.
A7. the method according to any one of A1-A6, wherein the method further includes:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
A8. the method according to A7, wherein described that the first stroke of a Chinese character of handwriting and/or tail pen are optimized further Including:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.
The invention also discloses:B9. a kind of computing device, the computing device include:Processor, memory, communication connect Mouth and communication bus, the processor, the memory and the communication interface are completed each other by the communication bus Communication;
For the memory for storing an at least executable instruction, it is following that the executable instruction makes the processor execute Operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
B10. the computing device according to B9, wherein between the current location and prior location person's handwriting it is mobile when Between be unit time interval.
B11. the computing device according to B9 or B10, wherein the moving parameter is movement speed and/or mobile pressure Sense.
B12. the computing device according to B9, wherein the executable instruction makes the processor execute following operation:
When first report point practical person's handwriting width be equal to the standard handwriting width when, using the standard handwriting width as The practical person's handwriting width of second report point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the The practical person's handwriting width and the standard handwriting width of report point determine the practical person's handwriting width of the second report point.
B13. the computing device according to B12, wherein the executable instruction makes the processor execute following behaviour Make:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding mark of the standard handwriting width is determined On schedule;
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And the standard angle, determine the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the second report point Practical person's handwriting width.
B14. the computing device according to any one of B11-B13, wherein the movement speed by first report point with The distance between second report point and time interval determine.
B15. the computing device according to any one of B9-B14, wherein the executable instruction makes the processor Execute following operation:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
B16. the computing device according to B15, wherein the executable instruction makes the processor execute following behaviour Make:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.
The invention also discloses:C17. a kind of computer storage media is stored at least in the computer storage media One executable instruction, the executable instruction make processor execute following operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is person's handwriting current location Corresponding to report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width Width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
C18. the computer storage media according to C17, wherein person's handwriting between the current location and prior location Traveling time is unit time interval.
C19. the computer storage media according to C17 or C18, wherein the moving parameter be movement speed and/or Mobile pressure sensitivity.
C20. the computer storage media according to C17, wherein the executable instruction so that the processor is executed with Lower operation:
When first report point practical person's handwriting width be equal to the standard handwriting width when, using the standard handwriting width as The practical person's handwriting width of second report point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the The practical person's handwriting width and the standard handwriting width of report point determine the practical person's handwriting width of the second report point.
C21. the computer storage media according to C20, wherein the executable instruction so that the processor is executed with Lower operation:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding mark of the standard handwriting width is determined On schedule;
When the second report point is located between the first report point and standard point, according to the second report point and the distance between standard point with And the standard angle, determine the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the second report point Practical person's handwriting width.
C22. the computer storage media according to any one of C19-C21, wherein the movement speed passes through first The distance between report point and the second report point and time interval determine.
C23. the computer storage media according to any one of C17-C22, wherein the executable instruction makes described Processor executes following operation:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
C24. the computer storage media according to C23, wherein the executable instruction so that the processor is executed with Lower operation:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.

Claims (10)

1. a kind of method for drafting of handwriting comprising:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is that person's handwriting current location corresponds to Report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting width of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
2. according to the method described in claim 1, wherein, the traveling time of person's handwriting is between the current location and prior location Unit interval.
3. method according to claim 1 or 2, wherein the moving parameter is movement speed and/or mobile pressure sensitivity.
4. according to the method described in claim 1, wherein, the practical person's handwriting width according to the first report point and the standard Person's handwriting width determines that the practical person's handwriting width of the second report point further comprises:
When the practical person's handwriting width of the first report point is equal to the standard handwriting width, using the standard handwriting width as second Report the practical person's handwriting width of point;
When the practical person's handwriting width of the first report point is not equal to the standard handwriting width, according to preset standard angle, the first report The practical person's handwriting width and the standard handwriting width of point determine the practical person's handwriting width of the second report point.
5. according to the method described in claim 4, wherein, the practical person's handwriting according to preset standard angle, the first report point is wide Degree and the standard handwriting width determine that the practical person's handwriting width of the second report point further comprises:
According to preset standard angle, the practical person's handwriting width of the first report point, the corresponding standard point of the standard handwriting width is determined;
When the second report point is located between the first report point and standard point, according to the distance between the second report point and standard point and institute Standard angle is stated, determines the practical person's handwriting width of the second report point;
When the second report point is not located between the first report point and standard point, using the standard handwriting width as the reality of the second report point Border person's handwriting width.
6. according to the method described in any one of claim 3-5, wherein the movement speed passes through the first report point and the second report The distance between point and time interval determine.
7. according to the method described in any one of claim 1-6, wherein the method further includes:
The first stroke of a Chinese character and/or tail pen to handwriting optimize.
8. described to optimize the first stroke of a Chinese character of handwriting and/or tail pen into one according to the method described in claim 7, wherein Step includes:
According to the drafting direction of handwriting, carry out mending round processing in the first stroke of a Chinese character of handwriting and/or tail pen.
9. a kind of computing device, the computing device include:Processor, memory, communication interface and communication bus, the processing Device, the memory and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction Make:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is that person's handwriting current location corresponds to Report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting width of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
10. a kind of computer storage media, it is stored with an at least executable instruction in the computer storage media, it is described to hold Row instruction makes processor execute following operation:
Determine the moving parameter of person's handwriting between the first report point and the second report point, wherein the second report point is that person's handwriting current location corresponds to Report a little, the first report point reports a little for person's handwriting prior location is corresponding;
Standard handwriting width corresponding with the second report point is determined according to the moving parameter;
The practical person's handwriting width of the second report point is determined according to the practical person's handwriting width of the first report point and the standard handwriting width;
Handwriting is drawn according to the practical person's handwriting width of the second determining report point.
CN201810400100.1A 2018-04-28 2018-04-28 The method for drafting of handwriting calculates equipment and computer storage medium Active CN108597006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810400100.1A CN108597006B (en) 2018-04-28 2018-04-28 The method for drafting of handwriting calculates equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810400100.1A CN108597006B (en) 2018-04-28 2018-04-28 The method for drafting of handwriting calculates equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN108597006A true CN108597006A (en) 2018-09-28
CN108597006B CN108597006B (en) 2019-04-05

Family

ID=63619237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810400100.1A Active CN108597006B (en) 2018-04-28 2018-04-28 The method for drafting of handwriting calculates equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN108597006B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020073790A1 (en) * 2018-10-09 2020-04-16 北京金山办公软件股份有限公司 Display method and apparatus
CN111273807A (en) * 2020-01-07 2020-06-12 通彩视听科技(上海)有限公司 Handwriting implementation and optimization method and device and computer equipment
CN111862349A (en) * 2019-04-26 2020-10-30 北京字节跳动网络技术有限公司 Virtual brush implementation method and device and computer readable storage medium
CN112835455A (en) * 2019-11-22 2021-05-25 华为技术有限公司 A method and device for predicting points drawn by a stylus
WO2021232294A1 (en) * 2020-05-20 2021-11-25 京东方科技集团股份有限公司 Handwriting drawing method and apparatus, electronic device, medium, and program product
CN114675775A (en) * 2022-04-24 2022-06-28 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5347589A (en) * 1991-10-28 1994-09-13 Meeks Associates, Inc. System and method for displaying handwriting parameters for handwriting verification
CN101923439A (en) * 2010-09-19 2010-12-22 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN102930423A (en) * 2012-09-28 2013-02-13 北京蓝波今朝科技有限公司 Method for realizing pressure induction handwritten endorsement based on ellipse model and optimization algorithm
CN102999321A (en) * 2011-09-15 2013-03-27 汉王科技股份有限公司 Writing brush electronic paintbrush setting device and writing brush electronic paintbrush
CN103135915A (en) * 2011-11-29 2013-06-05 北京三星通信技术研究有限公司 Method and device of hand input beautifying
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment
CN106547433A (en) * 2016-11-07 2017-03-29 青岛海信电器股份有限公司 Written handwriting determines method and device
CN106708413A (en) * 2017-01-20 2017-05-24 山西大学 Method of enabling touch screen hand input to be presented as handwriting with stoke characteristics
CN107704788A (en) * 2017-09-22 2018-02-16 西北大学 A kind of calligraphic copying method based on RF technologies
CN107943365A (en) * 2017-11-28 2018-04-20 广州视睿电子科技有限公司 Line handwriting presenting method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5347589A (en) * 1991-10-28 1994-09-13 Meeks Associates, Inc. System and method for displaying handwriting parameters for handwriting verification
CN101923439A (en) * 2010-09-19 2010-12-22 汉王科技股份有限公司 Method for processing handwriting and device thereof
CN102999321A (en) * 2011-09-15 2013-03-27 汉王科技股份有限公司 Writing brush electronic paintbrush setting device and writing brush electronic paintbrush
CN103135915A (en) * 2011-11-29 2013-06-05 北京三星通信技术研究有限公司 Method and device of hand input beautifying
CN102930423A (en) * 2012-09-28 2013-02-13 北京蓝波今朝科技有限公司 Method for realizing pressure induction handwritten endorsement based on ellipse model and optimization algorithm
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment
CN106547433A (en) * 2016-11-07 2017-03-29 青岛海信电器股份有限公司 Written handwriting determines method and device
CN106708413A (en) * 2017-01-20 2017-05-24 山西大学 Method of enabling touch screen hand input to be presented as handwriting with stoke characteristics
CN107704788A (en) * 2017-09-22 2018-02-16 西北大学 A kind of calligraphic copying method based on RF technologies
CN107943365A (en) * 2017-11-28 2018-04-20 广州视睿电子科技有限公司 Line handwriting presenting method and device, electronic equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020073790A1 (en) * 2018-10-09 2020-04-16 北京金山办公软件股份有限公司 Display method and apparatus
CN111862349A (en) * 2019-04-26 2020-10-30 北京字节跳动网络技术有限公司 Virtual brush implementation method and device and computer readable storage medium
US11561651B2 (en) 2019-04-26 2023-01-24 Beijing Bytedance Network Technology Co., Ltd. Virtual paintbrush implementing method and apparatus, and computer readable storage medium
CN112835455A (en) * 2019-11-22 2021-05-25 华为技术有限公司 A method and device for predicting points drawn by a stylus
CN111273807A (en) * 2020-01-07 2020-06-12 通彩视听科技(上海)有限公司 Handwriting implementation and optimization method and device and computer equipment
CN111273807B (en) * 2020-01-07 2024-03-29 通彩视听科技(上海)有限公司 Handwriting realization and optimization method and device and computer equipment
WO2021232294A1 (en) * 2020-05-20 2021-11-25 京东方科技集团股份有限公司 Handwriting drawing method and apparatus, electronic device, medium, and program product
US11561637B2 (en) 2020-05-20 2023-01-24 Boe Technology Group Co., Ltd. Method and device of drawing handwriting track, electronic apparatus, medium, and program product
CN114675775A (en) * 2022-04-24 2022-06-28 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium
CN114675775B (en) * 2022-04-24 2022-11-18 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN108597006B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN108597006A (en) Method for drafting, computing device and the computer storage media of handwriting
KR102396224B1 (en) System and method of handwriting recognition in schemes
CN103310474B (en) A kind of implementation method of original handwriting and system
CN108304361B (en) The display methods of the hand-written notes of e-book calculates equipment and computer storage medium
US9207858B2 (en) Method and apparatus for drawing and erasing calligraphic ink objects on a display surface
CN109739372A (en) Pattern drawing method and hand-written arrangement for reading for handwriting input device
CN104345948B (en) A kind of implementation method of original handwriting, realize device and electronic equipment
CN108255386A (en) Display methods, computing device and the computer storage media of the hand-written notes of e-book
CN107943365B (en) Line handwriting presenting method and device, electronic equipment and storage medium
CN109032463B (en) Take down notes method for deleting, electronic equipment and computer storage medium
CN103440101A (en) Handwritten original handwriting data processing method and system and mobile phone
CN104238768A (en) Handwriting input apparatus and control method
CN101639942A (en) Beautifying method used for handwritten Chinese character
JP6807840B2 (en) Systems and methods for recognizing geometry
CN109614016A (en) Touch recognition method, device and electronic device for capacitive touch screen
CN108959201A (en) The method for drafting and E-book reader of E-book reader handwriting
CN112163983B (en) Method and terminal for tracing edges of scene objects
CN109582929A (en) Mark line method for drafting and electronic equipment based on e-book
CN110471607A (en) Handwriting display methods, hand-written arrangement for reading and computer storage medium
Murugappan et al. Feasy: a sketch-based interface integrating structural analysis in early design
US10162518B2 (en) Reversible digital ink for inking application user interfaces
CN106909246A (en) A kind of electronic writing method for deleting and Intelligent touch TV
CN103605477A (en) Gesture positioning method based on capacitive screen handwriting and capacitive screen
CN113342208B (en) Railway line selection method based on multi-point touch equipment, terminal and storage medium
CN107193424A (en) A kind of Intelligent electronic-type method for deleting and device

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