CN113222075A - Evaluation method and device and electronic equipment - Google Patents

Evaluation method and device and electronic equipment Download PDF

Info

Publication number
CN113222075A
CN113222075A CN202110461517.0A CN202110461517A CN113222075A CN 113222075 A CN113222075 A CN 113222075A CN 202110461517 A CN202110461517 A CN 202110461517A CN 113222075 A CN113222075 A CN 113222075A
Authority
CN
China
Prior art keywords
information
stroke
writing
written
loss
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
CN202110461517.0A
Other languages
Chinese (zh)
Other versions
CN113222075B (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN202110461517.0A priority Critical patent/CN113222075B/en
Publication of CN113222075A publication Critical patent/CN113222075A/en
Application granted granted Critical
Publication of CN113222075B publication Critical patent/CN113222075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/24Character recognition characterised by the processing or recognition method
    • G06V30/242Division of the character sequences into groups prior to recognition; Selection of dictionaries
    • G06V30/244Division of the character sequences into groups prior to recognition; Selection of dictionaries using graphical properties, e.g. alphabet type or font

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Abstract

The embodiment of the invention provides an evaluation method, an evaluation device and electronic equipment, wherein the method comprises the following steps: acquiring track information of writing strokes written by a user; according to the track information of the writing strokes, determining reference strokes correspondingly matched with the writing strokes from all reference strokes of the corresponding reference text; determining first loss information between the written stroke and a reference stroke corresponding to the written stroke; evaluating the writing normalization of the user according to the first loss information; compared with the prior art that the written text and the corresponding reference text are compared integrally, the method and the device for evaluating the writing standardization have the advantages that the compared granularity is finer, and the accuracy of the evaluation on the writing standardization can be improved.

Description

Evaluation method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an evaluation method and apparatus, and an electronic device.
Background
Chinese characters are Chinese record symbols, and are a mode adopted by people for communicating and expressing ideas; therefore, the study of Chinese character writing has been always valued by the world population. With the development of computer technology, the writing standardization evaluation of Chinese characters is gradually performed manually, and the writing standardization evaluation of Chinese characters is turned to be performed by means of computer technology, so that more conditions for learning to write Chinese characters are created for people.
In the prior art, after a user writes a Chinese character, the whole Chinese character written by the user is compared with the whole standard Chinese character; then, performing writing normative evaluation according to the comparison result; the normative evaluation mode has low accuracy.
Disclosure of Invention
The embodiment of the invention provides an evaluation method for improving the accuracy of writing normative evaluation.
Correspondingly, the embodiment of the invention also provides an evaluation device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an evaluation method, which specifically includes: acquiring track information of writing strokes written by a user; according to the track information of the writing strokes, determining reference strokes correspondingly matched with the writing strokes from all reference strokes of the corresponding reference text; determining first loss information between the written stroke and a reference stroke corresponding to the written stroke; and evaluating the writing normalization of the user according to the first loss information.
Optionally, the track information includes coordinate information of a plurality of track points, and determining, according to the track information of the writing stroke, a reference stroke that is correspondingly matched with the writing stroke from each reference stroke of a corresponding reference text includes: acquiring track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
Optionally, the determining first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first geometric information of the writing strokes according to the track information of the writing strokes; determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
Optionally, the track information includes coordinate information of a plurality of track points; determining first geometric information of the written stroke according to the trajectory information of the written stroke, wherein the determining comprises: determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes; the determining, according to trajectory information of reference strokes correspondingly matched with the writing strokes, second geometric information of the reference strokes correspondingly matched with the writing strokes includes: determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
Optionally, the determining, according to the first geometric information and the second geometric information, first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first position loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
Optionally, the evaluating the normativity of the user writing according to the first loss information includes: and evaluating the normalization of the writing stroke written by the user according to the first loss information.
Optionally, the first loss information includes first position loss information, first length loss information, and first tilt angle information; evaluating the normativity of the written stroke written by the user according to the first loss information, wherein the evaluating comprises the following steps: if the first position loss information exceeds a position loss range, evaluating the position normalization of the writing stroke written by the user; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
Optionally, the writing stroke includes a plurality of strokes, and the evaluating the normative of the user writing according to the first loss information includes: determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes; and evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information.
Optionally, the first loss information includes: first position loss information, first length loss information, and first tilt angle information; the determining second loss information between the written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes comprises the following steps: calculating the average value of the first position loss information of each writing stroke to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text; and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information includes: determining a writing loss score corresponding to the written text according to the second loss information; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss score includes: generating writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
Optionally, the second loss information comprises stroke loss information and/or stroke order loss information; evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information, wherein the evaluation comprises the following steps: if the stroke loss information is not equal to zero, evaluating stroke number normalization of the written text; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
The embodiment of the invention also discloses an evaluation device, which specifically comprises: the acquisition module is used for acquiring the track information of the writing strokes written by the user; the matching module is used for determining reference strokes which are correspondingly matched with the writing strokes from all the reference strokes of the corresponding reference text according to the track information of the writing strokes; the determining module is used for determining first loss information between the writing strokes and reference strokes which are correspondingly matched with the writing strokes; and the evaluation module is used for evaluating the writing normalization of the user according to the first loss information.
Optionally, the track information includes coordinate information of a plurality of track matching points, and the configured module is configured to obtain track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
Optionally, the determining module includes: the first geometric information determination submodule is used for determining first geometric information of the writing strokes according to the track information of the writing strokes; the second geometric information determining submodule is used for determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes; and the first loss information determining submodule is used for determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
Optionally, the track information includes coordinate information of a plurality of track points; the first geometric information determining submodule is used for determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes; the second geometric information determining submodule is used for determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
Optionally, the first loss information determining submodule is configured to determine, according to the first position information and the second position information, first position loss information between the writing stroke and a reference stroke that is correspondingly matched with the writing stroke; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
Optionally, the evaluation module comprises: and the stroke evaluation submodule is used for evaluating the normalization of the writing stroke written by the user according to the first loss information.
Optionally, the first loss information includes first position loss information, first length loss information, and first tilt angle information; the stroke evaluation submodule is used for evaluating the position normalization of the writing stroke written by the user if the first position loss information exceeds a position loss range; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
Optionally, the written stroke includes a plurality of strokes, and the evaluation module includes: the second loss information determining submodule is used for determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes; and the text evaluation submodule is used for evaluating the normalization of the written text formed by the written strokes written by the user according to the second loss information.
Optionally, the first loss information includes: first position loss information, first length loss information, and first tilt angle information; the second loss information determining submodule is used for calculating the average value of the first position loss information of each written stroke to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text; and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
Optionally, the text evaluation sub-module includes: the loss score evaluation unit is used for determining a writing loss score corresponding to the written text according to the second loss information; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
Optionally, the loss score evaluation unit is configured to generate writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
Optionally, the second loss information comprises stroke loss information and/or stroke order loss information; the text evaluation sub-module comprises: the loss information evaluation unit is used for evaluating stroke number normalization of the written text if the stroke loss information is not equal to zero; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
The embodiment of the invention also discloses a readable storage medium, and when instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the evaluation method according to any one of the embodiments of the invention.
The embodiment of the invention also discloses an electronic device, which comprises: one or more processors; and one or more readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the evaluation method of any of the embodiments of the invention
The embodiment of the invention has the following advantages:
in the embodiment of the invention, in the writing process of the user, the track information of each writing stroke written by the user can be obtained; then according to the track information of the writing strokes, determining reference strokes which are correspondingly matched with the writing strokes from all reference strokes of a corresponding reference text, and determining first loss information between the writing strokes and the reference strokes which are correspondingly matched with the writing strokes; evaluating the writing normalization of the user according to the first loss information; compared with the prior art that the written text and the corresponding reference text are compared integrally, the method and the device for evaluating the writing standardization have the advantages that the compared granularity is finer, and the accuracy of the evaluation on the writing standardization can be improved.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of an evaluation method of the present invention;
FIG. 2 is a flow chart of the steps of an alternative embodiment of an evaluation method of the present invention;
FIG. 3 is a flow chart of the steps of an alternative embodiment of the evaluation method of the present invention;
FIG. 4 is a block diagram of an embodiment of an evaluation apparatus according to the present invention;
FIG. 5 is a block diagram of an alternative embodiment of an evaluation device of the present invention;
FIG. 6 illustrates a block diagram of an electronic device for evaluation, according to an example embodiment;
fig. 7 is a schematic structural diagram of an electronic device for evaluation according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In the embodiment of the present invention, a web page, an application program, an applet, or a tool may be provided, and a user may enter a writing interface by opening the web page, the application program, the applet, or the tool; and the user can write on the writing interface. The user may write directly on the touch screen or may write through an external writing board, which is not limited in this embodiment of the present invention.
One of the core ideas of the embodiment of the invention is that the writing strokes written by a user are compared with the reference strokes of the corresponding reference text to evaluate the normative written by the user; compared with the prior art that the written text and the reference text are compared integrally, the method and the device for evaluating the writing standardization have the advantages that the compared granularity is finer, and the accuracy of the evaluation on the writing standardization can be improved.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an evaluation method of the present invention is shown, which may specifically include the following steps:
and 102, acquiring track information of the writing strokes written by the user.
And step 104, determining reference strokes correspondingly matched with the writing strokes from all the reference strokes of the corresponding reference text according to the track information of the writing strokes.
In one example of the invention, a user can select a text to be written on a writing interface, and correspondingly, a reference text can be provided on the writing interface; and then the user can write by referring to the reference text improved by the writing interface. The reference text may include texts of various languages, such as chinese, korean, japanese, and the like, which is not limited in this embodiment of the present invention. The reference text may be in various fonts, for example, when the language of the reference text is chinese, the corresponding fonts may include a song style, a regular style, a black body, an clerical script, and the like, which is not limited in this embodiment of the present invention.
In another example of the present invention, the user may also write the text directly on the writing interface without selecting the text to be written on the writing interface; and further, reference text does not need to be provided on a writing interface.
In the embodiment of the invention, the track information of the written strokes can be acquired in the process of writing one stroke by a user. The writing strokes can refer to strokes written by a user in the writing process; the trajectory information of the written stroke may be used to characterize the trajectory of the written stroke and may include coordinate information for a plurality of trajectory points. Then, for each writing stroke written by the user, a reference stroke corresponding to the writing stroke can be searched.
In an example of the present invention, one way to separately find the reference strokes corresponding to the writing strokes may be: if the user writes with reference to the reference text, after acquiring the trajectory information of each writing stroke, the reference strokes matched with the writing strokes can be searched from the reference strokes of the reference text based on the trajectory information of the writing strokes. One way to separately find the reference strokes that are correspondingly matched with the writing strokes may be: if the user writes with reference to the reference text, after acquiring the track information of all the writing strokes, the reference strokes matched with each writing stroke can be searched from the reference strokes of the reference text based on the track information of each writing stroke. Wherein the reference strokes may refer to strokes that make up the reference text.
In an example of the present invention, one way to separately find the reference strokes corresponding to the writing strokes may be: if the user does not refer to the reference text for writing, after acquiring the track information of all writing strokes, performing text recognition on the writing text formed by the writing strokes written by the user, and determining the reference text matched with the writing text. And then searching for a reference stroke matched with each writing stroke from the reference strokes of the reference text respectively based on the track information of each writing stroke.
For example, take the Chinese character "big" as an example; the "big" word includes 3 strokes: horizontal, left-falling and right-falling; the reference strokes corresponding to the reference text may also include 3: reference stroke 1 ("horizontal"), reference stroke 2 ("left-falling"), and reference stroke 3 ("right-falling"). In the process of writing the big characters by the user, if the user writes 'left falling', then 'horizontal', and finally 'right falling'; the 3 written strokes written by the user may include: writing stroke 1 ("left-falling"), writing stroke 2 ("horizontal"), and writing stroke 3 ("right-falling"). Determining a reference stroke such as reference stroke 2 matched with the writing stroke 1 from the 3 reference strokes according to the track information of the writing stroke 1; determining a reference stroke matched with the writing stroke 2 from the 3 reference strokes according to the track information of the writing stroke 2, such as the reference stroke 1; and determining a reference stroke such as reference stroke 3 matching writing stroke 3 from the 3 reference strokes according to the trajectory information of writing stroke 3.
Then, the normative of the writing of the user can be evaluated by comparing the writing strokes with the corresponding matched reference strokes, and reference may be made to steps 106 to 108:
and 106, determining first loss information between the writing strokes and the reference strokes which are correspondingly matched with the writing strokes.
And 108, evaluating the writing normalization of the user according to the first loss information.
In the embodiment of the invention, aiming at each writing stroke written by a user, the writing stroke can be compared with the corresponding matched reference stroke, and the difference between the writing stroke and the corresponding matched reference stroke is determined; in other words, a loss between the written stroke and the corresponding matching reference stroke is determined. Wherein the first loss information may be employed to characterize a loss between the written stroke and the corresponding matched reference stroke. And each writing stroke and the corresponding matched reference stroke correspond to first loss information.
In one example of the present invention, steps 104-106 may be performed after each trace information of a written stroke is obtained.
In yet another example of the present invention, after the user has finished writing and obtained the trajectory information of all the written strokes, steps 104 to 106 may be performed for each written stroke.
After determining the first loss information between each written stroke and the corresponding matched reference stroke, the normalization of the user writing may be evaluated according to the first loss information between each written stroke and the corresponding matched reference stroke. Evaluating the normativity written by the user, wherein the evaluation can comprise evaluating each stroke written by the user normatively, and also can comprise evaluating the normativity of a written text formed by the strokes written by the user; the embodiments of the present invention are not limited in this regard. When the evaluation on the normative of the writing of the user is to evaluate the normative of each writing stroke written by the user, the evaluation on the normative of the writing stroke can be performed after the user writes one writing stroke and the writing stroke is subjected to the steps 104 to 106; or after the user writes all the writing strokes and executes the steps 104 to 106 respectively aiming at all the writing strokes, performing normative evaluation on all the writing strokes. The normative evaluation of the written text formed by the strokes written by the user may be performed after the user has written all the written strokes and has performed steps 104 to 106 for each written stroke.
In addition, evaluating the normative of the writing of the user may further include determining the normative of the writing of the user, may also include suggesting the normative of the writing of the user, and the like, which is not limited in this embodiment of the present invention.
In summary, in the embodiment of the present invention, in the writing process of the user, the track information of each writing stroke written by the user may be obtained; then according to the track information of the writing strokes, determining reference strokes which are correspondingly matched with the writing strokes from all reference strokes of a corresponding reference text, and determining first loss information between the writing strokes and the reference strokes which are correspondingly matched with the writing strokes; evaluating the writing normalization of the user according to the first loss information; compared with the prior art that the written text and the corresponding reference text are compared integrally, the method and the device for evaluating the writing standardization have the advantages that the compared granularity is finer, and the accuracy of the evaluation on the writing standardization can be improved.
In the following, taking as an example that the user writes with reference to the reference text, the normative evaluation of the writing strokes written by the user will be described.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of the evaluation method of the present invention is shown, which may specifically include the following steps:
step 202, acquiring the track information of the writing strokes written by the user in the process of writing by referring to the reference text by the user.
In the embodiment of the invention, the track information may include coordinate information of a plurality of track points, and the coordinate information of the track points may be pixel point coordinate information of the track points corresponding to the display interface of the writing stroke; the coordinate information may include an abscissa and an ordinate.
When a user directly writes on the touch screen, the coordinates of pixel points of a plurality of touch points touched by the user in the process of writing any stroke can be obtained; then generating coordinate information of a plurality of track points corresponding to the writing stroke by adopting the acquired pixel point coordinates of the plurality of touch points; wherein, a touch point can correspond to a track point. When a user writes through an external writing board, the coordinates of a handwriting board of a plurality of touch points touched by the user in the process of writing any stroke can be obtained; correspondingly converting the coordinates of the handwriting board of the touch points into the coordinates of pixel points of the touch points in the display interface; and then, acquiring the coordinates of the pixel points of the plurality of touch points obtained by conversion, and generating the coordinate information of the plurality of track points corresponding to the writing stroke.
The coordinate information of the plurality of track points in the track information corresponding to each writing stroke may be arranged according to the sequence generated by the track points when the user writes the writing stroke.
Then, according to the track information of the writing strokes, determining reference strokes which are correspondingly matched with the writing strokes from all reference strokes of the corresponding reference texts; reference may be made to steps 204 to 208:
and step 204, acquiring track information of each reference stroke of the reference text.
In the embodiment of the invention, the track information of each reference stroke of the reference text can be obtained; and then, aiming at each writing stroke, comparing the track information of the writing stroke with the track information of each reference stroke to determine the reference stroke matched with the writing stroke.
Certainly, the track information of the written strokes also comprises coordinate information of a plurality of track points; the coordinate information of the plurality of trace points in the trace information corresponding to each reference stroke may also be arranged according to the sequence generated by the trace points when the reference stroke is written.
And step 206, inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model to obtain a reference stroke identifier output by the point cloud mapping model.
In an alternative embodiment of the present invention, a point cloud mapping method may be used to determine a reference stroke for the writing stroke that matches its correspondence. Wherein, a point cloud mapping model can be trained in advance by adopting a machine learning mode; so that the point cloud mapping model can learn the mapping relationship between the written strokes and the reference strokes. And further, a trained point cloud mapping model can be adopted to determine the reference strokes matched with the writing strokes.
A written stroke will now be described as an example. For a writing stroke, inputting the track information of the writing stroke and the track information of each reference stroke into a trained point cloud mapping model; and comparing the track information of the writing stroke with the track information of each reference stroke respectively by the point cloud mapping model based on the pre-learned mapping relation, and determining the reference stroke correspondingly matched with the writing stroke.
In an optional embodiment of the present invention, the inputting the trajectory information of the writing stroke and the trajectory information of each reference stroke into a pre-trained point cloud mapping model to obtain a reference stroke identifier output by the point cloud mapping model may include: the point cloud mapping model determines a track relation based on coordinate information of track points in the track information; and outputting a reference stroke identifier of the reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation. Wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of each reference stroke.
In one embodiment of the present invention, when the trajectory relationship includes one of a first relationship, a second relationship, and a third relationship, the trajectory relationship may include the first relationship. When the trajectory relationship includes two of the first relationship, the second relationship, and the third relationship, the trajectory relationship may include the second relationship and the third relationship.
After the point cloud mapping model acquires the track information of the writing stroke and the track information of each reference stroke, the relation between the writing stroke and each reference stroke can be respectively determined through point cloud mapping. For the writing stroke and a reference stroke, the track information corresponding to the reference stroke and the track points corresponding to the writing stroke in one-to-one correspondence can be determined according to the arrangement sequence of the track points in the track information corresponding to the reference stroke and the arrangement sequence of the track points in the track information corresponding to the writing stroke. For convenience of subsequent description, each pair of trace points corresponding to one in the track information corresponding to the reference stroke and the track information corresponding to the writing stroke may be referred to as a pair of trace points; the track points belonging to the reference stroke in the pair of track points can be called as reference track points, and the track points belonging to the writing stroke are called as writing track points. And then, for each pair of track points, determining the relationship between two track points in the pair of track points based on the coordinate information of the writing track point and the coordinate information of the reference track point in the pair of track points. And generating a first relation based on the relation between the writing stroke and the two track points in each pair of track points corresponding to the reference stroke, namely the first relation between the writing stroke and the track points corresponding to the reference stroke. And then, according to the above mode, obtaining a first relation between the writing stroke and the corresponding track point of each reference stroke.
In addition, the point cloud mapping model can also determine a second relation between track points in the written stroke according to the coordinate information of the track points in the written stroke. For each reference stroke, the point cloud mapping model can determine a third relation between track points in the reference stroke according to the coordinate information of the track points corresponding to the reference stroke; and further, a third relation between the track points in the reference strokes can be obtained.
The preset range may be set as required, which is not limited in the embodiment of the present invention. In one example, a reference stroke identifier of a reference stroke having a highest matching degree with the writing stroke may be output according to the trajectory relationship.
In an optional embodiment of the present invention, the point cloud mapping model may include a point cloud mapping module and a matching module, the point cloud mapping module is connected to the matching module, and the point cloud mapping module is arranged before the matching module. The point cloud mapping module can be used for determining the relation between track points in the track information, and the matching module can be used for determining a reference stroke which is correspondingly matched with the writing stroke.
The point cloud mapping module determines a track relationship based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with a matching degree with the writing stroke in a preset range according to the track relationship, and the point cloud mapping module may include the following substeps 2062 to 2064:
and a substep 2062 of inputting the track information of the writing strokes and the track information of each reference stroke into the point cloud mapping module, wherein the point cloud mapping module determines a track relationship based on the coordinate information of the track points in the track information and inputs the track relationship into the matching module.
And a substep 2064, outputting a reference stroke identifier of the reference stroke with the matching degree of the writing stroke conforming to the preset range by the matching module according to the track relation.
In the embodiment of the invention, the track information of the writing strokes and the track information of each reference stroke can be input into the point cloud mapping module; after the point cloud mapping module acquires the track information of the writing strokes and the track information of the reference strokes, the point cloud mapping module can respectively determine the relation between the writing strokes and the reference strokes through point cloud mapping. For the writing stroke and a reference stroke, determining track points corresponding to the reference stroke and track information corresponding to the writing stroke in a one-to-one correspondence manner according to the arrangement sequence of the track points in the track information corresponding to the reference stroke and the arrangement sequence of the track points in the track information corresponding to the writing stroke; for convenience of subsequent description, each pair of trace points corresponding to one-to-one in the track information corresponding to the reference stroke and the track information corresponding to the writing stroke may be referred to as a pair of trace points. The track points belonging to the reference stroke in the pair of track points can be called as reference track points, and the track points belonging to the writing stroke are called as writing track points. And then, for each pair of track points, determining the relationship between two track points in the pair of track points based on the coordinate information of the writing track point and the coordinate information of the reference track point in the pair of track points. And generating a first relation based on the relation between the writing stroke and the two track points in each pair of track points corresponding to the reference stroke, namely the first relation between the writing stroke and the track points corresponding to the reference stroke. And then, according to the above mode, obtaining a first relation between the writing stroke and the corresponding track point of each reference stroke.
In addition, the point cloud mapping module can determine a second relationship between the track points in the written stroke according to the coordinate information of the track points in the written stroke. For each reference stroke, the point cloud mapping module can determine a third relation between track points in the reference stroke according to the coordinate information of the track points corresponding to the reference stroke; and further, a third relation between the track points in the reference strokes can be obtained.
Obtaining a track relation based on at least one relation among the first relation, the second relation and the third relation; then the point cloud mapping module sends the track relation to the matching module; determining, by the matching module, a reference stroke matching the writing stroke from the plurality of reference strokes based on the trajectory relationship, and outputting a reference stroke identification of the reference stroke matching the writing stroke.
Wherein the reference stroke identification may be used to uniquely identify a reference stroke; for example, the reference stroke identification for reference stroke 1 in the above example may be: RE _1, reference stroke identification for reference stroke 2 may be: RE _2, the reference stroke identification for reference stroke 3 may be: RE _ 3.
In one example of the present invention, the algorithm employed by the matching module may be an EM (Expectation-maximization) algorithm.
And 208, determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification.
A reference stroke matching the written stroke may then be determined based on the reference stroke identification output by the point cloud mapping model.
Further, it can be determined that each writing stroke corresponds to a matching reference stroke through the above steps 206 to 208.
Then, determining first loss information between the writing stroke and the corresponding matched reference stroke, and referring to steps 210 to 214 as follows:
step 210, determining first geometric information of the writing stroke according to the track information of the writing stroke.
And 212, determining second geometric information of the reference stroke correspondingly matched with the writing stroke according to the track information of the reference stroke correspondingly matched with the writing stroke.
Step 214, determining first loss information between the writing stroke and a reference stroke corresponding to the writing stroke and matching with the writing stroke according to the first geometric information and the second geometric information.
In an embodiment of the present invention, steps 210-214 may be performed for each written stroke to determine first loss information between the written stroke and the corresponding matched reference stroke.
A written stroke will now be described as an example. Respectively determining the geometric information of the writing stroke and the geometric information of a reference stroke correspondingly matched with the writing stroke; first loss information between the writing stroke and a reference stroke corresponding to the writing stroke is then determined based on the geometric information of the writing stroke and the reference stroke corresponding to the writing stroke. In an example, the geometric information may include various information, such as position information, length information, tilt angle information, and the like, which is not limited in this respect by the embodiment of the present invention.
The step 210 may include the following sub-steps 2102 to 2104:
and a substep 2102 of determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke.
In one example, the central point of the writing stroke may be determined according to the coordinate information of the trace points corresponding to the writing stroke; the coordinate information of the center is then determined as the first position information of the writing stroke. In one example, the average value of the abscissa can be calculated according to the abscissa of each trace point corresponding to the writing stroke; calculating the average value of the vertical coordinates according to the vertical coordinates of the trace points corresponding to the writing strokes; and then searching the track point with the abscissa closest to the average value of the abscissa and the ordinate closest to the average value of the ordinate from the track points corresponding to the writing strokes as a central point. In another example, a middle track point of the plurality of track points corresponding to the writing stroke may also be used as the center point. Of course, the center point of the written stroke may be determined in other manners, which is not limited in this embodiment of the present invention. In addition, the first position information of the written stroke may be determined in other manners, which is not limited in this embodiment of the present invention.
In one example, the length of the writing stroke can be calculated according to the coordinate information of each track point corresponding to the writing stroke; the length of the written stroke is then used as the length information of the written stroke. The length calculation method of a writing stroke may be as follows:
Figure BDA0003042464610000161
wherein L1 is the length of the written stroke; (a1, B1) is coordinate information of a first trace point of the writing stroke; (a2, B2) is coordinate information of a second trace point of the writing stroke; and (An, Bn) is the coordinate information of the nth track point of the writing stroke, and n is a positive integer.
In one example, the slope corresponding to each track point in the writing stroke can be calculated according to the coordinate information of each track point corresponding to the writing stroke; and then determining first inclination angle information based on the slope corresponding to each track point in the writing stroke. In one example, the maximum slope of the slopes corresponding to all trace points may be determined as the first tilt angle information.
And a sub-step 2104 of determining first geometric information corresponding to the written stroke according to at least one of first position information, first length information and first inclination angle information of the written stroke.
In an alternative embodiment of the present invention, the first geometric information corresponding to the written stroke may be generated by using at least one of the first position information, the first length information, and the first tilt angle information of the written stroke. In one example, the first geometric information may include: first position information, first length information, and first inclination angle information.
Of course, when other geometric information related to the written stroke is determined, the first geometric information is generated by using at least one of the first position information, the first length information, the first tilt angle information, and the other geometric information.
The step 212 may include the following substeps 2122 to 2124:
and a substep 2122 of determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke.
And a sub-step 2124 of determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
The sub-steps 2122 to 2124 are similar to the sub-steps 2102 to 2104, and are not described herein again.
The second geometric information may be predetermined or determined in the process of determining the first loss information between the writing stroke and the corresponding matched reference stroke, which is not limited in this embodiment of the present invention.
First loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke can be determined according to the first geometric information and the second geometric information; reference may be made to sub-steps 2142 to 2144:
sub-step 2142, determining first position loss information between the written stroke and a reference stroke corresponding to the written stroke according to the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information.
In one example of the present invention, a position penalty between a written stroke and a reference stroke that corresponds to the written stroke may be determined based on the position of the written stroke and the position of the reference stroke that corresponds to the written stroke. In one example, an L2 norm may be calculated based on first position information of a written stroke and second position information of a reference stroke that corresponds to a match to the written stroke, and first position loss information between the written stroke and the reference stroke that corresponds to the match to the written stroke may be obtained. For example, the following formula can be referred to:
Figure BDA0003042464610000182
pi is second position loss information between the ith writing stroke and the corresponding matched reference stroke; (Ai, Bi) first position information of the ith writing stroke, and (Ci, Di) second position information of the reference stroke correspondingly matched with the ith writing stroke.
In one example of the present invention, a length penalty between a written stroke and a reference stroke that corresponds to the written stroke may be determined based on the length of the written stroke and the length of the reference stroke that corresponds to the written stroke. In one example, an L2 norm may be calculated based on first length information of a written stroke and second length information of a reference stroke that corresponds to the written stroke, and first length loss information between the written stroke and the reference stroke that corresponds to the written stroke may be obtained. For example, the following formula can be referred to:
Figure BDA0003042464610000181
li is first length loss information between the ith writing stroke and the corresponding matched reference stroke; li1 is first length information of the ith writing stroke, and Li2 is second length information of the reference stroke corresponding to the ith writing stroke.
In one example of the present invention, a tilt angle loss between a written stroke and a reference stroke that corresponds to the written stroke may be calculated based on the tilt angle of the written stroke and the tilt angle of the reference stroke that corresponds to the written stroke. In one example, an L2 norm may be calculated based on first tilt angle information of a written stroke and second tilt angle information of a reference stroke that corresponds to a match to the written stroke, and first tilt angle loss information between the written stroke and the reference stroke may be obtained. For example, the following formula can be referred to:
Figure BDA0003042464610000191
wherein θ i is first inclination angle loss information between the ith writing stroke and the corresponding matched reference stroke; θ i1 is first tilt angle information of the ith writing stroke, and θ i2 is second tilt angle information of the reference stroke correspondingly matched with the ith writing stroke.
Sub-step 2144, determining first loss information between the written stroke and a reference stroke corresponding to the written stroke according to at least one of the first position loss information, the first length loss information, and the first tilt angle loss information.
Further, first loss information between the written stroke and the corresponding matched reference stroke may be generated using at least one of the first position loss information, the first length loss information, and the first tilt angle loss information. When two or more of first position loss information, first length loss information and first inclination angle loss information are adopted to generate first loss information between the writing stroke and the corresponding matched reference stroke, the first position loss information, the first length loss information and the first inclination angle loss information can be respectively used as one dimension of the first loss information; that is, the first loss information may include a plurality of dimensions, the first location loss information corresponding to a location dimension, the first length loss information corresponding to a length dimension, and the first tilt angle information corresponding to a tilt angle dimension.
Of course, when other geometric information is determined as described above, the first loss information may further include loss information of other dimensions, which is not limited in the embodiment of the present invention.
After determining first loss information between a written stroke and a corresponding matched reference stroke, evaluating the normativity of the user writing according to the first loss information; reference may be made to step 216:
and step 216, evaluating the normativity of the writing stroke written by the user according to the first loss information.
In the embodiment of the invention, each writing stroke written by the user can be subjected to normative evaluation according to the first loss information of each writing stroke. The method comprises the steps of writing a writing stroke by a user, wherein the writing stroke can be subjected to normative evaluation after the user writes one writing stroke every time, and also can be subjected to normative evaluation respectively after the user writes all writing strokes.
Wherein step 216 may include the following: substeps 2162 and/or 2164 and/or 2166; sub-steps 2162-2166 are for the evaluation of the normative of a written stroke.
Substep 2162, if the first position loss information exceeds the position loss range, evaluating the position normalization of the written stroke written by the user.
Substep 2164, if said first length loss information exceeds the length loss range, evaluating the length normalization of said written stroke written by said user.
And a substep 2166, if the first tilt angle loss information exceeds the tilt angle loss range, evaluating the tilt angle normalization of the written stroke written by the user.
And for each writing stroke, judging whether the first position loss information of the writing stroke and the corresponding matched reference stroke exceeds a preset position loss range. If the first position loss information of the writing stroke and the corresponding matched reference stroke exceeds the position loss range, the position of the writing stroke is far away from the position of the corresponding matched reference stroke, and at the moment, the position normalization of the writing stroke written by the user can be evaluated by combining the first position information of the writing stroke and the second position information of the corresponding matched reference stroke. For example, based on the ordinate of the first position information being larger than the ordinate of the second position information, the normative decision information may be displayed as "lying too far up", or as "lying a little below". For example, based on the abscissa of the first position information being smaller than the abscissa of the second position information, the normative decision information may be displayed as "too left", or the normative advice information may be displayed as "right". The position loss range may be set as required, and the embodiment of the present invention is not limited thereto.
For each written stroke, it may be determined whether the first length loss information of the written stroke and the corresponding matched reference stroke exceeds a length loss range. And if the first length loss information of the writing stroke and the corresponding matched reference stroke exceeds the length loss range, the difference between the length of the writing stroke and the length of the corresponding matched reference stroke is larger. At this time, the first length information of the writing stroke and the second length information of the corresponding matched reference stroke may be combined to evaluate the length normalization of the writing stroke written by the user. For example, if the first length information is larger than the second length information, the normative decision information "too long" is displayed, and/or the normative advice information such as "short written again" is displayed. If the first length information is smaller than the second length information, the normative judgment information is displayed to be too short, and/or the normative recommendation information is displayed to be longer as the horizontal rewriting. The length loss range may be set as required, and the embodiment of the present invention is not limited thereto.
For each writing stroke, whether the first inclination angle loss information of the writing stroke and the corresponding matched reference stroke exceeds the inclination angle loss range or not can be judged. If the first inclination angle loss information of the writing stroke and the corresponding matched reference stroke exceeds the inclination angle loss range, the difference between the inclination angle of the writing stroke and the inclination angle of the corresponding matched reference stroke is larger. The normalization of the tilt angle of the written stroke written by the user may be evaluated in combination with the first tilt angle information of the written stroke and the second tilt angle information of the corresponding matched reference stroke. For example, if the first inclination angle information is larger than the second inclination angle information, the normative decision information "too much to lean" is displayed, and/or the normative advice information such as "the inclination angle of the lean is slightly gentle" is displayed. If the first inclination angle information is smaller than the second inclination angle information, the normative judgment information 'the lack of the left-falling gradient' is displayed, and/or the normative suggestion information such as 'the slightly larger gradient of the left-falling gradient' is displayed. The loss range of the tilt angle can be set as required, which is not limited in the embodiment of the present invention.
In summary, in the embodiment of the present invention, the trajectory information of each reference stroke may be obtained, and then the trajectory information of the writing stroke and the trajectory information of each reference stroke are input into a pre-trained point cloud mapping model to obtain a reference stroke identifier output by the point cloud mapping model; then, based on the reference stroke identification, determining a reference stroke which is correspondingly matched with the writing stroke; because the pre-trained point cloud mapping model learns the mapping relation between the writing strokes and the reference strokes, the embodiment of the invention can accurately determine the reference strokes matched with the writing strokes.
Secondly, in the embodiment of the invention, the point cloud mapping model comprises a point cloud mapping module and a matching module, the track information of the writing strokes and the track information of each reference stroke can be input into the point cloud mapping module, and the point cloud mapping module determines a track relation based on the coordinate information of the track points in the track information and inputs the track relation into the matching module; then the matching module outputs a reference stroke identifier of a reference stroke with the highest matching degree with the writing stroke according to the track relation; the track relation can comprise a first relation, a second relation and a third relation, the first relation comprises the relation between corresponding track points of the writing stroke and the reference stroke, the second relation comprises the relation between the track points of the writing stroke, and the third relation comprises the relation between the track points of the reference stroke; compared with the point cloud mapping method in the prior art, the method only determines the relationship between the corresponding track points of the written stroke and the reference stroke, and the embodiment of the invention also determines the relationship between the track points of the written stroke and the relationship between the track points of the reference stroke; and then, the reference stroke matched with the writing stroke can be searched based on richer information, so that the accuracy of determining the reference stroke matched with the writing stroke can be further increased.
Further, in the embodiment of the present invention, first geometric information of the writing stroke may be determined according to the trajectory information of the writing stroke; determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes; then, according to the first geometric information and the second geometric information, determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke; and then the difference between the writing strokes and the reference strokes matched with the corresponding lines is accurately determined according to the geometrical relationship between the writing strokes and the reference strokes. And the first loss information may include: first position loss information, first length loss information, and first tilt angle loss information; and then the difference between the writing stroke and the reference stroke correspondingly matched with the writing stroke can be described from a plurality of dimensionality geometric dimensions, so that the determined first loss information is more comprehensive, and the difference between the writing stroke and the reference stroke can be further accurately determined.
Further, in the embodiment of the present invention, normalization of the writing stroke written by the user may be evaluated according to the first loss information; and furthermore, the normative evaluation can be carried out on each stroke written by the user, so that the user can conveniently carry out the normative writing from each stroke, and the writing level is favorably improved.
Thirdly, if the first position loss information exceeds a position loss range, evaluating the position normalization of the writing stroke written by the user; and/or evaluating the length normalization of the writing stroke written by the user if the first length loss information exceeds a length loss range; and/or evaluating the normalization of the inclination angle of the writing stroke written by the user if the first inclination angle loss information exceeds the inclination angle loss range; each stroke written by the user is evaluated from multiple dimensions, so that the comprehensiveness of the evaluation on the handwriting normativity of the user is improved; and may also be beneficial for improving writing levels.
In an optional embodiment of the present invention, the normative of the written text formed by the written strokes written by the user may also be evaluated as follows:
referring to fig. 3, a flowchart illustrating steps of another alternative embodiment of the evaluation method of the present invention is shown, which may specifically include the following steps:
step 302, acquiring the track information of the writing strokes written by the user in the process of writing by referring to the reference text by the user.
And 304, acquiring track information of each reference stroke of the reference text.
And step 306, inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model to obtain a reference stroke identifier output by the point cloud mapping model.
And 308, determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification.
Step 310, determining first geometric information of the writing stroke according to the track information of the writing stroke.
And step 312, determining second geometric information of the reference stroke correspondingly matched with the writing stroke according to the track information of the reference stroke correspondingly matched with the writing stroke.
And step 314, determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
Step 302 to step 314 are similar to step 202 to step 214, and are not described herein again.
And step 316, determining second loss information between the written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes.
In the embodiment of the invention, second loss information between the written text formed by all the written strokes written by the user and the reference text can be determined according to the first loss information between each written stroke and the corresponding matched reference stroke. Then, the normalization of the written text formed by the written strokes written by the user can be evaluated according to the second loss information; step 318 is performed. On the other hand, the second loss information can be converted into a writing loss score, and then the normative of a written text formed by the writing strokes written by the user is evaluated based on the writing loss score; i.e., step 320 is performed.
Wherein step 316 may include the following: sub-step 3162 and/or sub-step 3164 and/or sub-step 3166 and/or sub-step 3168 and/or sub-step 31610 and/or sub-step 31612:
substep 3162, calculating the average value of the first position loss information of each writing stroke to obtain the second position loss information between the writing text formed by all writing strokes and the reference text.
Wherein the position loss between the written text and the reference text may be determined based on an average of the position losses of the data strokes. Wherein the average value of position loss may be calculated based on the first position loss information of each written stroke, resulting in second position loss information between the written text and the reference text.
Substep 3164, calculating the average value of the first length loss information of each writing stroke to obtain the second length loss information between the writing text formed by all writing strokes and the reference text.
Wherein the length loss between the written text and the reference text may be determined based on an average of the length losses of the data strokes. Wherein the average length loss value may be calculated based on the first length loss information of each written stroke, resulting in second length loss information between the written text and the reference text.
Substep 3166, calculating the average value of the first tilt angle loss information of each written stroke to obtain second tilt angle loss information between the written text formed by all written strokes and the reference text.
Wherein the tilt angle loss between the written text and the reference text may be determined based on an average of the tilt angle losses for each data stroke. Wherein, the average tilt angle loss value can be calculated based on the first tilt angle loss information of each writing stroke, and second tilt angle loss information between the writing text and the reference text is obtained.
In the embodiment of the invention, the loss between the written text and the reference text can be determined according to the loss between each written stroke and the corresponding matched reference stroke, and the loss between the written text and the reference text can be determined according to the total number of strokes, the stroke sequence and the like.
Substep 3168, obtaining stroke number loss information and/or stroke order loss information between the written text and a reference text.
In the embodiment of the invention, after the writing of the user is determined, the total writing stroke number corresponding to the writing text can be determined, and the reference total stroke number corresponding to the reference text can be obtained; a difference between the reference total stroke number and the total written stroke number may then be calculated and used to determine stroke number loss information between the reference text and the written text. The total writing stroke number may be subtracted from the reference total stroke number, or may be subtracted from the reference total stroke number, which is not limited in this embodiment of the present invention.
The reference sequence corresponding to the reference strokes in the reference text and the writing sequence of the writing strokes corresponding to the writing text can be obtained; stroke order loss information between the reference text and the written text is then determined based on the reference order and the written order. The reference strokes correspondingly matched with the writing strokes can be sequenced according to the writing sequence corresponding to the writing strokes to obtain a corresponding sequencing result; and comparing the reference sequence with the sequencing result to determine the stroke sequence loss between the reference text and the written text. In one example, a number of reference strokes having a ranking result that differs from the order in the reference order may be determined as a stroke order penalty between the reference text and the written text. For example, writing strokes includes: writing strokes Wr1, Wr2, and Wr3, the corresponding writing order being: wr1 → Wr2 → Wr 3. The reference strokes include: reference stroke Re1, reference stroke Re2, and reference stroke Re3, the corresponding reference sequence being: re1 → Re2 → Re 3. The corresponding relationship between the writing stroke and the reference stroke is as follows: writing stroke Wr 1-reference stroke Re2, writing stroke Wr 2-reference stroke Re1, writing stroke Wr 3-reference stroke Re 3. And sequencing the reference strokes according to the writing sequence, wherein the obtained sequencing result is as follows: re2 → Re1 → Re 3; comparing the sorting result with the reference sequence to determine that the number of reference strokes of which the sorting result is different from the reference sequence is 2, then 2 can be regarded as the stroke sequence loss.
And a substep 31612, determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke order loss information and the reference total stroke number.
And then generating second loss information between the written text formed by all the written strokes and the reference text by adopting at least one of second position loss information, second length loss information, second inclination angle loss information, stroke number loss information, stroke sequence loss information and reference total stroke number. When two or more of the second position loss information, the second length loss information, the second tilt angle loss information, the stroke number loss information, the stroke order loss information, and the reference total stroke number are used, the second position loss information, the second length loss information, the second tilt angle loss information, the stroke number loss information, the stroke order loss information, and the reference total stroke number may be respectively used as one dimension of the second loss information. That is, the second loss information may include a plurality of dimensions, the second location loss information corresponding to a location dimension, the second length loss information corresponding to a length dimension, the second tilt angle information corresponding to a tilt angle dimension, the stroke number loss information corresponding to a stroke loss dimension, the stroke order loss information corresponding to a timing loss dimension, the reference total stroke number corresponding to a reference stroke dimension.
And step 318, evaluating the normative of the written text formed by the written strokes written by the user according to the second loss information.
In an embodiment of the present invention, normalization of the written text formed by the written strokes written by the user may be evaluated directly based on information of a part of dimensions in the second loss information. May include substep 3182 and/or substep 3184:
substep 3182, if the stroke loss information is not equal to zero, evaluating stroke number normalization of the written text.
Wherein, it can be judged whether the stroke loss information is equal to zero; if the stroke loss information is not equal to zero, it may be determined whether the stroke loss information is greater than zero. If the stroke loss information is obtained by subtracting the total stroke number of the reference strokes from the total stroke number of the writing strokes, when the stroke loss information is greater than zero, the stroke number normalization of the written text can be evaluated, for example, the written text has M more strokes. When the stroke loss information is less than zero, a stroke number normalization of the written text may be evaluated as "M1 strokes are omitted".
Substep 3184, evaluating stroke order normalization of the written text if said stroke order loss information is not equal to zero.
Wherein, it can be judged whether the stroke order loss information is equal to zero; if the stroke order loss information is not equal to zero, then stroke order normalization of the written text may be evaluated as "M2 missed".
And step 320, determining a writing loss score corresponding to the written text according to the second loss information.
And 322, evaluating the normativity of a written text formed by the written strokes written by the user according to the writing loss values.
In the embodiment of the invention, the loss information of each dimension in the second loss information can be fused to obtain fused loss information; and converting the fused loss information into writing loss scores. The sub-step 3206 may include the following sub-steps S22 to S26:
and a substep S22 of obtaining a weight corresponding to each dimension loss information in the second loss information.
And a substep S24 of performing weighted calculation on each dimension loss information in the second loss information based on the corresponding weight of each dimension loss information to obtain a weighted result.
And a substep S26 of determining a writing loss score corresponding to the written text according to the weighting result.
In the embodiment of the present invention, the weight corresponding to each dimension loss information in the second loss information may be obtained first; then, the dimension loss information in the second loss information can be fused by performing weighted calculation on the dimension loss information in the second loss information according to the corresponding weight of the loss information. Then, the weighting result obtained by weighting calculation can be converted to obtain a writing loss score; the weighting results may be mapped using, for example, an S-shaped function to obtain a written-loss score.
The weight corresponding to each dimension loss information in the second loss information may be predetermined, and then the weight corresponding to each dimension loss information in the predetermined second loss information may be obtained. The writing loss score can also be determined in the process of determining the writing loss score, and then the writing loss score can also be obtained after the writing loss score is determined; the embodiments of the present invention are not limited in this regard. One way to determine the weight corresponding to each dimension loss information in the second loss information may be to search by using a grid search method to obtain an optimal weight. Another way to determine the weight corresponding to each dimension loss information in the second loss information may be to determine the optimal weight by using a bayesian optimization algorithm. The embodiment of the present invention does not limit how to determine the weight corresponding to each dimension loss information in the second loss information.
The sub-step 3228 may include the following sub-steps S42 to S44:
sub-step S42, generating writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score.
And a substep S44 of generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
In the embodiment of the invention, the writing loss score can be compared with a preset loss score, and whether the writing loss score is smaller than the preset loss score or not can be judged. When the writing loss score is greater than or equal to a preset loss score, writing positive evaluation information of a written text formed by the writing strokes written by the user can be generated; the written positive rating information may include information that confirms the user's written text standardization, such as "write not error". When the writing loss score is less than a preset loss score, writing negative evaluation information of a written text formed by the writing strokes written by the user can be generated; the written negative rating information may include information that negates the user's written text normative, such as "write not too good".
In summary, in the embodiment of the present invention, normalization of a written text formed by the written strokes written by the user may be evaluated according to the second loss information; or determining a writing loss score corresponding to the written text according to the second loss information, and then evaluating the normalization of the written text formed by the written strokes written by the user according to the writing loss score; furthermore, the method and the device can evaluate the text written by the user integrally, so that the user can have overall cognition on the normalization of the text written by the user, and grasp how to adjust the writing from the overall viewpoint.
Secondly, in the embodiment of the invention, when the writing loss score is greater than or equal to a preset loss score, writing positive evaluation information aiming at the written text is generated; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score; and then can enough carry out affirmation to the user when the user writes that the normalization is better, can write the user and just again when the normalization is relatively poor, help the user to promote and write the level.
Thirdly, in the embodiment of the invention, if the stroke loss information is not equal to zero, evaluating the stroke number normalization of the written text; and then when the user writes that the stroke number is wrong, the user is prompted. If the stroke sequence loss information is not equal to zero, evaluating stroke sequence normative of the written text; and then when the user writes the stroke error, prompting the user.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of an embodiment of the evaluation apparatus of the present invention is shown, and specifically, the block diagram may include the following modules:
an obtaining module 402, configured to obtain trajectory information of a writing stroke written by a user;
a matching module 404, configured to determine, according to the trajectory information of the writing stroke, a reference stroke that is correspondingly matched with the writing stroke from among reference strokes corresponding to a reference text;
a determining module 406, configured to determine first loss information between the written stroke and a reference stroke corresponding to the written stroke;
the evaluation module 408 is configured to evaluate the normalization of the user writing according to the first loss information.
Referring to fig. 5, a block diagram of an alternative embodiment of an evaluation device of the present invention is shown.
In an optional embodiment of the present invention, the track information includes coordinate information of a plurality of track points, and the matching module 404 is configured to obtain track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
In an optional embodiment of the present invention, the determining module 406 includes:
a first geometric information determination submodule 4062, configured to determine first geometric information of the written stroke according to trajectory information of the written stroke;
the second geometric information determining submodule 4064 is configured to determine, according to the trajectory information of the reference stroke correspondingly matched with the writing stroke, second geometric information of the reference stroke correspondingly matched with the writing stroke;
the first loss information determining sub-module 4066 is configured to determine, according to the first geometric information and the second geometric information, first loss information between the written stroke and a reference stroke that is correspondingly matched with the written stroke.
In an optional embodiment of the present invention, the track information includes coordinate information of a plurality of track points;
the first geometric information determining sub-module 4062 is configured to determine at least one of first position information, first length information, and first inclination angle information of the writing stroke according to coordinate information of each trace point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes;
the second geometric information determining sub-module 4064 is configured to determine, according to the coordinate information of each trace point corresponding to the reference stroke correspondingly matched with the writing stroke, at least one of second position information, second length information, and second inclination angle information of the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
In an optional embodiment of the present invention, the first loss information determining sub-module 4066 is configured to determine, according to the first position information and the second position information, first position loss information between the written stroke and a reference stroke that is correspondingly matched with the written stroke; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
In an alternative embodiment of the present invention, the evaluation module 408 includes:
the stroke evaluation sub-module 4082 is configured to evaluate normalization of the written stroke written by the user according to the first loss information.
In an optional embodiment of the present invention, the first loss information includes first position loss information, first length loss information, and first tilt angle information;
the stroke evaluation submodule 4082 is configured to evaluate the position normalization of the written stroke written by the user if the first position loss information exceeds a position loss range; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
In an alternative embodiment of the present invention, the writing stroke includes a plurality of strokes, and the evaluation module 408 includes:
the second loss information determining submodule 4084 is configured to determine, according to the first loss information between each writing stroke and the reference stroke correspondingly matched with each writing stroke, second loss information between the written text formed by all the writing strokes and the reference text;
the text evaluation sub-module 4086 is configured to evaluate normalization of a written text formed by the written strokes written by the user according to the second loss information.
In an optional embodiment of the present invention, the first loss information includes: first position loss information, first length loss information, and first tilt angle information;
the second loss information determining submodule 4084 is configured to calculate an average value of first position loss information of each written stroke, so as to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text; and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
In an alternative embodiment of the present invention, the text evaluation sub-module 4086 includes:
a loss score evaluation unit 40862 configured to determine, according to the second loss information, a writing loss score corresponding to the written text; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
In an alternative embodiment of the present invention,
the loss score evaluation unit 4082 is configured to generate writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
In an optional embodiment of the present invention, the second loss information comprises stroke loss information and/or stroke order loss information; the text evaluation sub-module 4086 includes:
a loss information evaluation unit 40864, configured to evaluate stroke number normalization of the written text if the stroke loss information is not equal to zero; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
In summary, in the embodiment of the present invention, in the writing process of the user, the track information of each writing stroke written by the user may be obtained; then according to the track information of the writing strokes, determining reference strokes which are correspondingly matched with the writing strokes from all reference strokes of a corresponding reference text, and determining first loss information between the writing strokes and the reference strokes which are correspondingly matched with the writing strokes; evaluating the writing normalization of the user according to the first loss information; compared with the prior art that the written text and the corresponding reference text are compared integrally, the method and the device for evaluating the writing standardization have the advantages that the compared granularity is finer, and the accuracy of the evaluation on the writing standardization can be improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 6 is a block diagram illustrating a structure of an electronic device 600 for evaluation according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, a smart wearable device, and the like.
Referring to fig. 6, electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of electronic device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the electronic device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 614 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 614 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the electronic device 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a method of evaluation, the method comprising: acquiring track information of writing strokes written by a user; according to the track information of the writing strokes, determining reference strokes correspondingly matched with the writing strokes from all reference strokes of the corresponding reference text; determining first loss information between the written stroke and a reference stroke corresponding to the written stroke; and evaluating the writing normalization of the user according to the first loss information.
Optionally, the track information includes coordinate information of a plurality of track points, and determining, according to the track information of the writing stroke, a reference stroke that is correspondingly matched with the writing stroke from each reference stroke of a corresponding reference text includes: acquiring track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
Optionally, the determining first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first geometric information of the writing strokes according to the track information of the writing strokes; determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
Optionally, the track information includes coordinate information of a plurality of track points; determining first geometric information of the written stroke according to the trajectory information of the written stroke, wherein the determining comprises: determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes; the determining, according to trajectory information of reference strokes correspondingly matched with the writing strokes, second geometric information of the reference strokes correspondingly matched with the writing strokes includes: determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
Optionally, the determining, according to the first geometric information and the second geometric information, first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first position loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
Optionally, the evaluating the normativity of the user writing according to the first loss information includes: and evaluating the normalization of the writing stroke written by the user according to the first loss information.
Optionally, the first loss information includes first position loss information, first length loss information, and first tilt angle information; evaluating the normativity of the written stroke written by the user according to the first loss information, wherein the evaluating comprises the following steps: if the first position loss information exceeds a position loss range, evaluating the position normalization of the writing stroke written by the user; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
Optionally, the writing stroke includes a plurality of strokes, and the evaluating the normative of the user writing according to the first loss information includes: determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes; and evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information.
Optionally, the first loss information includes: first position loss information, first length loss information, and first tilt angle information; the determining second loss information between the written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes comprises the following steps: calculating the average value of the first position loss information of each writing stroke to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text; and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information includes: determining a writing loss score corresponding to the written text according to the second loss information; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss score includes: generating writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
Optionally, the second loss information comprises stroke loss information and/or stroke order loss information; evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information, wherein the evaluation comprises the following steps: if the stroke loss information is not equal to zero, evaluating stroke number normalization of the written text; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
Fig. 7 is a schematic structural diagram of an electronic device 700 for evaluation according to another exemplary embodiment of the present invention. The electronic device 700 may be a server, which may vary significantly depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 722 (e.g., one or more processors) and memory 732, one or more storage media 730 (e.g., one or more mass storage devices) storing applications 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Further, the central processor 722 may be configured to communicate with the storage medium 730, and execute a series of instruction operations in the storage medium 730 on the server.
The server may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input-output interfaces 758, one or more keyboards 756, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
In an exemplary embodiment, the server is configured to execute the one or more programs by the one or more central processors 722 including instructions for: acquiring track information of writing strokes written by a user; according to the track information of the writing strokes, determining reference strokes correspondingly matched with the writing strokes from all reference strokes of the corresponding reference text; determining first loss information between the written stroke and a reference stroke corresponding to the written stroke; and evaluating the writing normalization of the user according to the first loss information.
Optionally, the track information includes coordinate information of a plurality of track points, and determining, according to the track information of the writing stroke, a reference stroke that is correspondingly matched with the writing stroke from each reference stroke of a corresponding reference text includes: acquiring track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
Optionally, the determining first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first geometric information of the writing strokes according to the track information of the writing strokes; determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
Optionally, the track information includes coordinate information of a plurality of track points; determining first geometric information of the written stroke according to the trajectory information of the written stroke, wherein the determining comprises: determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes; the determining, according to trajectory information of reference strokes correspondingly matched with the writing strokes, second geometric information of the reference strokes correspondingly matched with the writing strokes includes: determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
Optionally, the determining, according to the first geometric information and the second geometric information, first loss information between the written stroke and a reference stroke corresponding to the written stroke includes: determining first position loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
Optionally, the evaluating the normativity of the user writing according to the first loss information includes: and evaluating the normalization of the writing stroke written by the user according to the first loss information.
Optionally, the first loss information includes first position loss information, first length loss information, and first tilt angle information; evaluating the normativity of the written stroke written by the user according to the first loss information, wherein the evaluating comprises the following steps: if the first position loss information exceeds a position loss range, evaluating the position normalization of the writing stroke written by the user; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
Optionally, the writing stroke includes a plurality of strokes, and the evaluating the normative of the user writing according to the first loss information includes: determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes; and evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information.
Optionally, the first loss information includes: first position loss information, first length loss information, and first tilt angle information; the determining second loss information between the written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes comprises the following steps: calculating the average value of the first position loss information of each writing stroke to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text; and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information includes: determining a writing loss score corresponding to the written text according to the second loss information; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
Optionally, the evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss score includes: generating writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
Optionally, the second loss information comprises stroke loss information and/or stroke order loss information; evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information, wherein the evaluation comprises the following steps: if the stroke loss information is not equal to zero, evaluating stroke number normalization of the written text; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
In addition, the age (sex, identification number, passport number, and the like (adjusted as needed)) and the like according to the embodiment of the present application are not suitable for use of personal information, but are described in general.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for an evaluation method, an evaluation device and an electronic device, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (23)

1. An evaluation method, comprising:
acquiring track information of writing strokes written by a user;
according to the track information of the writing strokes, determining reference strokes correspondingly matched with the writing strokes from all reference strokes of the corresponding reference text;
determining first loss information between the written stroke and a reference stroke corresponding to the written stroke;
and evaluating the writing normalization of the user according to the first loss information.
2. The method according to claim 1, wherein the track information includes coordinate information of a plurality of track points, and determining a reference stroke corresponding to the writing stroke from reference strokes corresponding to a reference text according to the track information of the writing stroke includes:
acquiring track information of each reference stroke;
inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model;
the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation;
determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification;
wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
3. The method of claim 1, wherein determining first loss information between the written stroke and a reference stroke that corresponds to the written stroke comprises:
determining first geometric information of the writing strokes according to the track information of the writing strokes;
determining second geometric information of the reference strokes correspondingly matched with the writing strokes according to the track information of the reference strokes correspondingly matched with the writing strokes;
and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first geometric information and the second geometric information.
4. The method of claim 3, wherein the trajectory information includes coordinate information for a plurality of trajectory points; determining first geometric information of the written stroke according to the trajectory information of the written stroke, wherein the determining comprises:
determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes;
the determining, according to trajectory information of reference strokes correspondingly matched with the writing strokes, second geometric information of the reference strokes correspondingly matched with the writing strokes includes:
determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
5. The method of claim 4, wherein determining first loss information between the written stroke and a reference stroke corresponding to the written stroke based on the first geometric information and the second geometric information comprises:
determining first position loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information;
and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
6. The method of claim 1, wherein said evaluating the normalcy of said user writing based on said first loss information comprises:
and evaluating the normalization of the writing stroke written by the user according to the first loss information.
7. The method of claim 6, wherein the first loss information includes first position loss information, first length loss information, and first tilt angle information;
evaluating the normativity of the written stroke written by the user according to the first loss information, wherein the evaluating comprises the following steps:
if the first position loss information exceeds a position loss range, evaluating the position normalization of the writing stroke written by the user;
if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user;
and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
8. The method of claim 1, wherein the written stroke comprises a plurality of strokes, and wherein evaluating the normativity of the user writing based on the first loss information comprises:
determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes;
and evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information.
9. The method of claim 8, wherein the first loss information comprises: first position loss information, first length loss information, and first tilt angle information;
the determining second loss information between the written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes comprises the following steps:
calculating the average value of the first position loss information of each writing stroke to obtain second position loss information between the written text and the reference text; and/or calculating the average value of the first length loss information of each written stroke to obtain second length loss information between the written text and the reference text; and/or calculating the average value of the first inclination angle loss information of each written stroke to obtain second inclination angle loss information between the written text and the reference text; and/or acquiring stroke number loss information and/or stroke sequence loss information between the written text and the reference text; and/or acquiring the reference total stroke number corresponding to the reference text;
and determining second loss information between the written text formed by all the written strokes and the reference text according to at least one of the second position loss information, the second length loss information, the second inclination angle loss information, the stroke number loss information, the stroke sequence loss information and the reference total stroke number.
10. The method of claim 8, wherein evaluating the normativity of the written text formed by the written strokes written by the user based on the second loss information comprises:
determining a writing loss score corresponding to the written text according to the second loss information;
and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
11. The method of claim 10, wherein said evaluating the normalcy of written text formed by written strokes written by said user in accordance with said writing loss score comprises:
generating writing positive evaluation information for the written text when the writing loss score is greater than or equal to a preset loss score;
generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
12. The method of claim 8, wherein the second penalty information comprises stroke penalty information and/or stroke order penalty information;
evaluating the normativity of the written text formed by the written strokes written by the user according to the second loss information, wherein the evaluation comprises the following steps:
if the stroke loss information is not equal to zero, evaluating stroke number normalization of the written text;
and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
13. An evaluation device, comprising:
the acquisition module is used for acquiring the track information of the writing strokes written by the user;
the matching module is used for determining reference strokes which are correspondingly matched with the writing strokes from all the reference strokes of the corresponding reference text according to the track information of the writing strokes;
the determining module is used for determining first loss information between the writing strokes and reference strokes which are correspondingly matched with the writing strokes;
and the evaluation module is used for evaluating the writing normalization of the user according to the first loss information.
14. The apparatus of claim 13, wherein the trajectory information includes coordinate information for a plurality of trajectory points,
the matching module is used for acquiring track information of each reference stroke; inputting the track information of the writing strokes and the track information of each reference stroke into a pre-trained point cloud mapping model; the point cloud mapping module determines a track relation based on coordinate information of track points in the track information, and outputs a reference stroke identifier of a reference stroke with the matching degree of the writing stroke in accordance with a preset range according to the track relation; determining a reference stroke which is correspondingly matched with the writing stroke based on the reference stroke identification; wherein the trajectory relationship comprises at least one of a first relationship, a second relationship, and a third relationship; the first relation includes writing stroke and reference stroke correspond the relation between the track point, the second relation includes the relation between each track point of writing stroke, the third relation includes the relation between each track point of reference stroke.
15. The apparatus of claim 13, wherein the trajectory information includes coordinate information of a plurality of trajectory points; the determining module includes:
the first geometric information determining submodule is used for determining at least one of first position information, first length information and first inclination angle information of the writing stroke according to the coordinate information of each track point corresponding to the writing stroke; determining first geometric information corresponding to the writing strokes according to at least one of first position information, first length information and first inclination angle information of the writing strokes;
the second geometric information determining submodule is used for determining at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke according to the coordinate information of each track point corresponding to the reference stroke correspondingly matched with the writing stroke; and determining second geometric information corresponding to the reference stroke correspondingly matched with the writing stroke according to at least one of second position information, second length information and second inclination angle information of the reference stroke correspondingly matched with the writing stroke.
16. The apparatus according to claim 15, wherein the determining module includes a first loss information determining submodule for determining first position loss information between the writing stroke and a reference stroke corresponding to the writing stroke, based on the first position information and the second position information; and/or determining first length loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to the first length information and the second length information; and/or determining first inclination angle loss information between the writing stroke and a reference stroke correspondingly matched with the writing stroke according to the first inclination angle information and the second inclination angle information; and determining first loss information between the writing stroke and a reference stroke which is correspondingly matched with the writing stroke according to at least one of the first position loss information, the first length loss information and the first inclination angle loss information.
17. The apparatus of claim 13, wherein the first loss information comprises first position loss information, first length loss information, and first tilt angle information; the evaluation module comprises:
the stroke evaluation submodule is used for evaluating the position normalization of the writing stroke written by the user if the first position loss information exceeds a position loss range; if the first length loss information exceeds a length loss range, evaluating the length normalization of the writing stroke written by the user; and if the first inclination angle loss information exceeds the inclination angle loss range, evaluating the inclination angle normalization of the writing stroke written by the user.
18. The apparatus of claim 13, wherein the written stroke comprises a plurality of strokes, and wherein the evaluation module comprises:
the second loss information determining submodule is used for determining second loss information between a written text formed by all the written strokes and the reference text according to the first loss information between the written strokes and the reference strokes correspondingly matched with the written strokes;
and the text evaluation submodule is used for evaluating the normalization of the written text formed by the written strokes written by the user according to the second loss information.
19. The apparatus of claim 18, wherein the text evaluation sub-module comprises:
the loss score evaluation unit is used for determining a writing loss score corresponding to the written text according to the second loss information; and evaluating the normativity of the written text formed by the written strokes written by the user according to the writing loss values.
20. The apparatus of claim 19,
the loss score evaluation unit is used for generating writing positive evaluation information aiming at the written text when the writing loss score is larger than or equal to a preset loss score; generating writing negative evaluation information for the written text when the writing loss score is less than a preset loss score.
21. The apparatus of claim 19, wherein the second penalty information comprises stroke penalty information and/or stroke order penalty information;
the text evaluation sub-module comprises:
the loss information evaluation unit is used for evaluating stroke number normalization of the written text if the stroke loss information is not equal to zero; and if the stroke sequence loss information is not equal to zero, evaluating the stroke sequence normalization of the written text.
22. An electronic device, comprising:
one or more processors; and
one or more readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the evaluation method of any of claims 1-12.
23. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the evaluation method of any of method claims 1-12.
CN202110461517.0A 2021-04-27 2021-04-27 Evaluation method and device and electronic equipment Active CN113222075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110461517.0A CN113222075B (en) 2021-04-27 2021-04-27 Evaluation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110461517.0A CN113222075B (en) 2021-04-27 2021-04-27 Evaluation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113222075A true CN113222075A (en) 2021-08-06
CN113222075B CN113222075B (en) 2024-03-08

Family

ID=77089402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110461517.0A Active CN113222075B (en) 2021-04-27 2021-04-27 Evaluation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113222075B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390358A (en) * 2013-07-03 2013-11-13 广东小天才科技有限公司 Method and device for judging normativity of character writing operation of electronic equipment
CN109472249A (en) * 2018-11-22 2019-03-15 京东方科技集团股份有限公司 A kind of method and device of determining script superiority and inferiority grade
CN111695539A (en) * 2020-06-17 2020-09-22 北京一起教育信息咨询有限责任公司 Evaluation method and device for handwritten Chinese characters and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390358A (en) * 2013-07-03 2013-11-13 广东小天才科技有限公司 Method and device for judging normativity of character writing operation of electronic equipment
CN109472249A (en) * 2018-11-22 2019-03-15 京东方科技集团股份有限公司 A kind of method and device of determining script superiority and inferiority grade
CN111695539A (en) * 2020-06-17 2020-09-22 北京一起教育信息咨询有限责任公司 Evaluation method and device for handwritten Chinese characters and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
刘源, 尹宝林: "电子计算机汉字信息处理中的编码问题和自动识别探讨", 北京航空航天大学学报, no. 02 *
叶锋;邓衍晨;汪敏;廖茜;郑子华;林晖;: "部分级联特征的离线手写体汉字识别方法", 计算机系统应用, no. 08 *
张文超;吕岳;文颖;黄志敏;: "几何信息与SIFT特征相结合的特定人手写关键词检测", 智能系统学报, no. 05 *
田清越;高志荣;熊承义;陈少波;: "联合边缘增强的MSER自然场景文本检测", 小型微型计算机系统, no. 11 *

Also Published As

Publication number Publication date
CN113222075B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN107436691B (en) Method, client, server and device for correcting errors of input method
CN106774970B (en) Method and device for sorting candidate items of input method
RU2642369C2 (en) Apparatus and method of recognizing fingerprint
US11138422B2 (en) Posture detection method, apparatus and device, and storage medium
CN109961791B (en) Voice information processing method and device and electronic equipment
US11749273B2 (en) Speech control method, terminal device, and storage medium
EP3790001B1 (en) Speech information processing method, device and storage medium
CN107564526B (en) Processing method, apparatus and machine-readable medium
CN109725736B (en) Candidate sorting method and device and electronic equipment
CN114154459A (en) Speech recognition text processing method and device, electronic equipment and storage medium
CN109521888B (en) Input method, device and medium
CN110968246A (en) Intelligent Chinese handwriting input recognition method and device
CN110858099B (en) Candidate word generation method and device
CN112579767A (en) Search processing method and device for search processing
CN112381091B (en) Video content identification method, device, electronic equipment and storage medium
CN110673753A (en) Key mis-touch error correction method and device
CN110554780A (en) sliding input method and device
US20230274565A1 (en) Image, pattern and character recognition
CN113222075B (en) Evaluation method and device and electronic equipment
CN111722727B (en) Model training method applied to handwriting input, handwriting input method and device
CN112083811B (en) Candidate item display method and device
CN109388252B (en) Input method and device
CN108345590B (en) Translation method, translation device, electronic equipment and storage medium
CN114115550A (en) Method and device for processing association candidate
CN109102810B (en) Voiceprint recognition method 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