CN111027647B - Text dictation method based on electronic equipment and electronic equipment - Google Patents

Text dictation method based on electronic equipment and electronic equipment Download PDF

Info

Publication number
CN111027647B
CN111027647B CN201910127108.XA CN201910127108A CN111027647B CN 111027647 B CN111027647 B CN 111027647B CN 201910127108 A CN201910127108 A CN 201910127108A CN 111027647 B CN111027647 B CN 111027647B
Authority
CN
China
Prior art keywords
writing
correct
characters
character
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910127108.XA
Other languages
Chinese (zh)
Other versions
CN111027647A (en
Inventor
朱文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910127108.XA priority Critical patent/CN111027647B/en
Publication of CN111027647A publication Critical patent/CN111027647A/en
Application granted granted Critical
Publication of CN111027647B publication Critical patent/CN111027647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/768Arrangements for image or video recognition or understanding using pattern recognition or machine learning using context analysis, e.g. recognition aided by known co-occurring patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The embodiment of the invention relates to the technical field of education, and discloses a text dictation method based on electronic equipment and the electronic equipment, wherein the electronic equipment is provided with a shooting module, and the method comprises the following steps: when the electronic equipment is detected to enter a dictation mode, broadcasting pronunciation corresponding to a preset word in a preset dictation material; detecting the writing content of a user according to the pronunciation through a shooting module, wherein the writing content comprises a last formed character and a writing stroke order corresponding to the last formed character; and when the writing order errors corresponding to the last formed characters are detected, marking the last formed characters as the order error types. By implementing the embodiment of the invention, whether the writing order of the last-formed characters is correct can be judged, and the correction of the writing order errors of the characters is facilitated.

Description

Text dictation method based on electronic equipment and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a text dictation method based on the electronic equipment and the electronic equipment.
Background
At present, when students write characters, the students write corresponding characters according to the written pronunciation. In practice, it is found that the text dictation method usually pays attention to whether the last formed text is correct or not, and it cannot be known whether the last formed text has a wrong stroke order or not.
Disclosure of Invention
The embodiment of the invention discloses a text dictation method based on electronic equipment and the electronic equipment, which can judge whether the writing stroke order of the last-formed text of dictation is correct or not, and is favorable for correcting the writing stroke order error of the text.
The first aspect of the embodiment of the invention discloses a text dictation method based on electronic equipment, wherein the electronic equipment is provided with a shooting module, and the method comprises the following steps:
when the electronic equipment is detected to enter a dictation mode, broadcasting pronunciation corresponding to a preset word in a preset dictation material;
Detecting writing contents of a user according to the pronunciation through the shooting module, wherein the writing contents comprise characters formed last and writing strokes corresponding to the characters formed last;
and when the writing order errors corresponding to the last formed characters are detected, marking the last formed characters as order error types.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the detecting, by the shooting module, the writing content of the user according to the pronunciation, the method further includes:
Detecting whether the font corresponding to the finally formed text is matched with the font corresponding to the preset word or not;
When the character pattern corresponding to the last formed character is detected to be unmatched with the character pattern corresponding to the preset word, marking the last formed character as a character pattern error class;
when the writing order errors corresponding to the last formed characters are detected, marking the last formed characters as order error classes, wherein the method comprises the following steps:
And when the character pattern corresponding to the last formed character is detected to be matched with the character pattern corresponding to the preset word, and the writing stroke order corresponding to the last formed character is wrong, marking the last formed character as a stroke order error class.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
outputting characters marked as character-pattern errors and correct characters corresponding to the characters marked as character-pattern errors when the end of the dictation mode is detected;
or outputting the characters marked as the wrong writing order and the correct writing order corresponding to the characters marked as the wrong writing order when the dictation mode is detected to be ended.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the end of the dictation mode is detected, outputting the text marked as the wrong order of writing and the correct writing order corresponding to the text marked as the wrong order of writing includes:
When the dictation mode is detected to be finished, generating a first animation video for reproducing the writing process of the characters marked as the error type of the strokes according to the writing strokes corresponding to the characters formed last;
generating a second animation video for showing the correct writing process corresponding to the characters marked as the wrong order according to the correct writing order corresponding to the characters marked as the wrong order;
outputting the characters marked as the order error class, the first animation video and the second animation video.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
When the electronic equipment is detected to enter an unlocking page, generating a character graph of the stroke to be complemented according to the characters marked as the error stroke order type; the character and graph of the stroke to be complemented comprises an existing stroke part and a stroke part to be complemented;
displaying the character and the graph of the stroke to be complemented on the unlocking page;
Detecting whether the writing stroke order input by a user aiming at the part to be complemented is correct;
And if the electronic equipment is correct, unlocking the electronic equipment.
The second aspect of the embodiment of the invention discloses an electronic device, which is provided with a shooting module, and comprises:
The broadcasting unit is used for broadcasting pronunciation corresponding to a preset word in a preset dictation material when the electronic equipment is detected to enter a dictation mode;
The first detection unit is used for detecting the writing content of a user according to the pronunciation through the shooting module, wherein the writing content comprises characters formed last and writing strokes corresponding to the characters formed last;
and the first marking unit is used for marking the last formed character as a writing order error class when the writing order error corresponding to the last formed character is detected.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the second detection unit is used for detecting whether the font corresponding to the finally formed word is matched with the font corresponding to the preset word or not after the first detection unit detects the writing content of the user according to the pronunciation through the shooting module;
The second marking unit is used for marking the last formed character as a character shape error class when the second detection unit detects that the character shape corresponding to the last formed character is not matched with the character shape corresponding to the preset word;
The first marking unit is specifically configured to mark the last formed text as a pen order error class when the second detecting unit detects that the font corresponding to the last formed text matches the font corresponding to the preset word and the writing pen order corresponding to the last formed text is wrong.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
The first output unit is used for outputting the characters marked as the wrong writing orders and the correct writing orders corresponding to the characters marked as the wrong writing orders when the end of the dictation mode is detected;
And the second output unit is used for outputting the characters marked as the character shape error type and the correct characters corresponding to the characters marked as the character shape error type when the end of the dictation mode is detected.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first output unit includes:
a first generation subunit, configured to generate, when the dictation mode is detected to end, a first animated video for reproducing a writing process of the text marked as a wrong type of the stroke order by a user according to a writing stroke order corresponding to the last formed text;
a second generation subunit, configured to generate a second animated video for showing a correct writing procedure corresponding to the text marked as a wrong class according to the correct writing order corresponding to the text marked as a wrong class;
and the output subunit is used for outputting the characters marked as the order error class, the first animation video and the second animation video.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
The graph generating unit is used for generating a word graph of the strokes to be complemented according to the words marked as the stroke order error types when the electronic equipment is detected to enter the unlocking page; the character and graph of the stroke to be complemented comprises an existing stroke part and a stroke part to be complemented;
The display unit is used for displaying the text and the graphics of the strokes to be complemented on the unlocking page;
The third detection unit is used for detecting whether the writing stroke order input by the user aiming at the stroke part to be complemented is correct;
And the unlocking unit is used for unlocking the electronic equipment when the third detection unit detects that the writing stroke order input by the user aiming at the stroke part to be complemented is correct.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
A memory storing executable program code;
A processor coupled to the memory;
The processor invokes the executable program code stored in the memory to execute the text dictation method based on the electronic device disclosed in the first aspect of the embodiment of the invention.
A fourth aspect of the embodiment of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute a text dictation method based on an electronic device disclosed in the first aspect of the embodiment of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the embodiments of the present invention discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
In the embodiment of the invention, in the dictation mode, the shooting module arranged on the electronic equipment detects the writing content of the pronunciation corresponding to the preset word by the user, so that whether the writing stroke order of the finally formed characters dictated by the user is correct can be judged; and the writing error of the writing is corrected by marking the writing with the wrong writing order as the writing order error class, so that the learning effect of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a text dictation method based on an electronic device according to an embodiment of the present invention;
FIG. 2 is a flow chart of another text dictation method based on an electronic device according to an embodiment of the present invention;
FIG. 3 is a flow chart of another text dictation method based on an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another electronic device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another electronic device according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present invention are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a text dictation method based on electronic equipment and the electronic equipment, which can judge whether the writing stroke order of the last-formed text of dictation is correct or not, and is favorable for correcting the writing stroke order error of the text. The following detailed description refers to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a text dictation method based on an electronic device according to an embodiment of the invention. As shown in fig. 1, the text dictation method based on the electronic device may include the following steps.
101. When the electronic equipment is detected to enter a dictation mode, the electronic equipment broadcasts pronunciations corresponding to preset words in preset dictation materials.
The text dictation method based on the electronic equipment disclosed by the embodiment of the invention is suitable for the electronic equipment such as a learning tablet, a learning mobile phone, a learning machine, a home education machine, a click-to-read machine and the like used by a user, and is particularly suitable for Web application, APP or special software in the electronic equipment. The shooting module for shooting the image in the embodiment of the invention can be arranged on one side of the electronic equipment provided with the display screen.
In the embodiment of the invention, before entering the dictation mode, the electronic device may provide a learning database, detect a preset dictation material selected by a user from the learning database, and also receive a preset dictation material remotely designated by an authorized user terminal (such as a parent terminal and a teacher terminal), for example, after a teacher terminal places a dictation task, the teacher terminal may issue the dictation task, so that a user terminal corresponding to the electronic device derives the preset dictation material designated by the dictation task (such as a three-grade Chinese textbook-a first unit-unit dictation exercise of a primary school) from the learning database according to the dictation task issued by the teacher terminal, where the user terminal corresponding to the electronic device has a binding relationship with the authorized user terminal.
Optionally, the electronic device may shoot an image of a learning page (such as a text, an exercise book) through the shooting module, and determine a target exercise teaching material corresponding to the learning page image from the learning resource library according to the content (such as a teaching material cover, a teaching material name, etc. included in the image) of the learning page image; further, a specified position (such as a position specified by a finger of a user in the teaching material) is identified from the learning page image, and dictation content corresponding to the specified position is identified from the target practice teaching material according to the specified position as a preset dictation material. Therefore, the dictation material appointed by the user can be automatically identified through the shooting module, the user does not need to manually search the dictation material, and the user experience is improved.
102. The electronic equipment detects the writing content of the user according to the pronunciation through the shooting module; the writing content comprises characters formed last and writing strokes corresponding to the characters formed last.
In the embodiment of the invention, after the pronunciation corresponding to the preset word is reported once, the electronic equipment detects the writing process of the user through the shooting module, so that the writing stroke sequence corresponding to the finally formed word can be obtained when the finally formed word is detected.
103. And when the electronic equipment detects the writing order errors corresponding to the last formed characters, marking the last formed characters as order error types.
Therefore, implementing the method described in fig. 1, in the dictation mode, the shooting module provided in the electronic device detects the writing content of the pronunciation corresponding to the preset word by the user, so as to determine whether the writing order of the finally formed text dictated by the user is correct; and the writing error of the writing is corrected by marking the writing with the wrong writing order as the writing order error class, so that the learning effect of the user is improved.
Example two
Referring to fig. 2, fig. 2 is a flow chart of another text dictation method based on an electronic device according to an embodiment of the invention. As shown in fig. 2, the text dictation method based on the electronic device may include the following steps.
201. When the electronic equipment is detected to enter a dictation mode, the electronic equipment broadcasts pronunciations corresponding to preset words in preset dictation materials.
202. The electronic equipment detects the writing content of the user according to the pronunciation through the shooting module; the writing content comprises characters formed last and writing strokes corresponding to the characters formed last.
203. The electronic equipment detects whether the character pattern corresponding to the finally formed character is matched with the character pattern corresponding to the preset word, if not, the steps 204-205 are executed; if yes, go to step 206 to step 207.
204. The electronic device marks the last formed text as a glyph error class.
205. When the electronic device detects that the dictation mode is finished, the electronic device outputs the characters marked as the character pattern error type and the correct character pattern corresponding to the characters marked as the character pattern error type.
206. And when the electronic equipment detects the writing order errors corresponding to the last formed characters, marking the last formed characters as order error types.
It can be seen that, by implementing the steps 203, 204 and 206, whether the font corresponding to the last formed text is correct or not is detected, the last formed text can be marked as a font error class when the font corresponding to the last formed text is wrong, so as to facilitate the subsequent targeted font correction; and on the basis of correct character patterns, the writing order errors in the text dictation are further corrected, so that understanding of the user on the character patterns is deepened, and the learning effect of the user is scientifically improved.
207. When the electronic device detects that the dictation mode is finished, outputting the characters marked as the wrong strokes and the correct writing strokes corresponding to the characters marked as the wrong strokes.
It can be seen that, when the steps 205 and 207 are implemented, based on the two mark types of the font error type and the order error type, after the dictation is finished, the user can learn the font error/order error in the writing content by outputting the text marked as the font error type and the correct font thereof, or by outputting the text marked as the order error type and the correct writing order thereof, so as to effectively correct the font error/order error of the user.
As an alternative implementation, the electronic device may further obtain an interest tag of the user, and output a learning resource associated with the text marked as the font error class/the stroke error class according to the interest tag of the user, where a category of the learning resource may include a song, a reputation, a poem, and the like. For example, if it is known that the preference of the user is the ancient poetry, the electronic device may push the ancient poetry containing the characters marked as the font error type/the stroke order error type to the user, and mark the characters marked as the font error type/the stroke order error type in the pushed ancient poetry, so as to combine the character learning with the user's own interests, and improve the interest of the character learning.
It can be seen that, when implementing the method described in fig. 2, the last formed text can be marked as a font error class when the font error corresponding to the last formed text, so as to facilitate the subsequent targeted font correction; on the basis of correct fonts, the writing with wrong writing order is marked as the writing order error type, so that the writing order error of a user in the text dictation is corrected, the understanding of the user on the fonts is deepened, and the learning effect of the user is scientifically improved; in addition, by outputting the characters marked as the character pattern error class and the correct characters thereof, or by outputting the characters marked as the stroke order error class and the correct writing stroke order thereof, the user can be informed of the character pattern error/writing stroke order error in the writing content, and the character pattern error/writing stroke order error of the user can be effectively corrected.
Example III
Referring to fig. 3, fig. 3 is a flowchart of another text dictation method based on an electronic device according to an embodiment of the invention. As shown in fig. 3, the text dictation method based on the electronic device may include the following steps.
Step 301 to step 306; for the description of steps 301 to 306, please refer to the detailed description of steps 201 to 206 in the second embodiment, and the description of the embodiment of the present invention is omitted.
307. When the electronic equipment detects that the dictation mode is finished, generating a first animation video for reproducing the writing process of the characters marked as the error type of the strokes according to the writing strokes corresponding to the characters formed last.
308. The electronic device generates a second animation video for displaying the correct writing process corresponding to the words marked as the wrong-order type according to the correct writing strokes corresponding to the words marked as the wrong-order type.
309. The electronic device outputs text, a first animated video, and a second animated video labeled as a stroke order error class.
It can be seen that, by implementing the steps 307 to 309, the correct writing process corresponding to the text with the wrong pen order is played, and the writing process of the user on the text is reproduced, so that the error point of the user can be displayed more intuitively, the memory of the user is facilitated to be deepened, and a better correction effect is achieved.
310. When the electronic equipment detects that the electronic equipment enters an unlocking page, generating characters and figures of strokes to be complemented according to the characters marked as the stroke order error types.
In the embodiment of the invention, the character and the graph of the stroke to be complemented comprise the existing stroke part and the stroke part to be complemented. For example, for the Chinese character "tsuki", a single person can be used as an existing stroke part, a "field" can be used as a stroke part to be complemented, and the unlocking operation of the electronic device can be controlled by detecting the writing order input by the user for the "field" character part.
311. And the electronic equipment displays the text and the graph of the stroke to be complemented on the unlocking page.
312. The electronic device detects whether the user has correct writing strokes for the portion of the stroke to be complemented, and if so, performs step 313.
In the embodiment of the invention, optionally, when detecting that the writing stroke order input by the user aiming at the part to be complemented is wrong, the electronic device can output the prompt animation video according to the correct writing stroke order corresponding to the part to be complemented, and then, when detecting that the writing stroke order input by the user aiming at the part to be complemented is correct again, unlocking the electronic device.
313. The electronic device unlocks the electronic device.
It can be seen that, when the electronic device enters the unlock page, the steps 310 to 313 are implemented, and the text and graphics of the strokes to be complemented are randomly generated based on the text marked as the error type of the stroke order, and by detecting the writing stroke order input by the user for the part of the strokes to be complemented, the effect of correcting the stroke order of the user can be checked at any time, and the flexibility and the interest of the text stroke order exercise can be improved.
As an optional implementation manner, when the electronic device detects that the electronic device enters the unlock page, generating a plurality of font options (for example, for Chinese characters, such as ' five ', five, and army ' words which are not easy to distinguish on the fonts, etc.), according to the words marked as the font error types, wherein the plurality of font options at least comprise the correct font corresponding to the words marked as the font error types and the historical writing fonts of the user for the words marked as the font error types; and the electronic equipment displays the plurality of font options on the unlocking page, and unlocks the electronic equipment when detecting that the user selects the correct font from the plurality of font options. It can be seen that, when the electronic device enters the unlock page, the optional implementation manner is implemented, and based on the text marked as the stroke order error, the effect of correcting the character pattern of the user can be checked at any time by detecting whether the user can select the correct character pattern from the plurality of character pattern options.
It can be seen that, when implementing the method described in fig. 3, the last formed text can be marked as a font error class when the font error corresponding to the last formed text, so as to facilitate the subsequent targeted font correction; on the basis of correct fonts, the writing with wrong writing order is marked as the writing order error type, so that the writing order error of a user in the text dictation is corrected, the understanding of the user on the fonts is deepened, and the learning effect of the user is scientifically improved; in addition, by outputting the characters marked as the character pattern error type and the correct characters thereof or by outputting the characters marked as the stroke order error type and the correct writing stroke order thereof, the user can be informed of the character pattern error/writing stroke order error in the writing content, and the character pattern error/writing stroke order error of the user can be effectively corrected; further, through the form of the animation video, the correct writing process corresponding to the text with the wrong stroke order is played, and the writing process of the text by the user is reproduced, so that the error point of the user can be displayed more intuitively, the memory of the user is facilitated to be deepened, and a better correcting effect is achieved; still further, can also verify user's stroke order at any time and correct the effect, promote flexibility and the interest of characters stroke order exercise.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention. In the electronic device described in fig. 4, the electronic device is provided with a photographing module. As shown in fig. 4, the electronic device may include:
and the broadcasting unit 401 is configured to broadcast a pronunciation corresponding to a preset word in the preset dictation material when the electronic device is detected to enter the dictation mode.
The first detecting unit 402 is configured to detect, by using the photographing module, writing content of the user according to the pronunciation, where the writing content includes a last formed text and a writing order corresponding to the last formed text.
The first marking unit 403 is configured to mark the last formed text as a pen order error class when a writing pen order error corresponding to the last formed text is detected.
Optionally, the electronic device may further include a content recognition unit, where the content recognition unit is configured to capture an image of a learning page (such as a text, an exercise book) through the capturing module, and determine, according to content of the image of the learning page (such as a teaching material cover, a teaching material name, etc. included in the image), a target exercise teaching material corresponding to the image of the learning page from the learning resource library; and identifying a specified position (such as a position specified by a finger of a user in the teaching material page) from the learning page image, and identifying dictation content corresponding to the specified position from the target practice teaching material according to the specified position as a preset dictation material. Therefore, the dictation material appointed by the user can be automatically identified through the shooting module, the user does not need to manually search the dictation material, and the user experience is improved.
As can be seen, implementing the electronic device described in fig. 4, in the dictation mode, the photographing module provided in the electronic device detects the writing content of the pronunciation corresponding to the preset word by the user, so as to determine whether the writing order of the finally formed text dictated by the user is correct; and the writing error of the writing is corrected by marking the writing with the wrong writing order as the writing order error class, so that the learning effect of the user is improved.
Example five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device shown in fig. 5 is obtained by optimizing the electronic device shown in fig. 4. The electronic device shown in fig. 5 may further include a second detecting unit 404, as compared with the electronic device shown in fig. 4,
A second marking unit 405, a first output unit 406, and a second output unit 407, wherein:
The second detecting unit 404 is configured to detect whether the font corresponding to the finally formed text matches the font corresponding to the preset word after the first detecting unit 402 detects the writing content of the user according to the pronunciation through the shooting module.
And a second marking unit 405, configured to mark the last formed text as a font error class when the second detecting unit 404 detects that the font corresponding to the last formed text does not match the font corresponding to the preset word.
The first marking unit 403 is specifically configured to mark the last formed text as a pen order error class when the second detecting unit 405 detects that the font corresponding to the last formed text matches the font corresponding to the preset word and the writing pen order corresponding to the last formed text is wrong.
The first output unit 406 is configured to output, when the end of the dictation mode is detected, a text marked as a wrong-order type and a correct writing order corresponding to the text marked as the wrong-order type.
The second output unit 407 is configured to output, when the end of the dictation mode is detected, a character marked as a character-pattern error type and a correct character pattern corresponding to the character marked as the character-pattern error type.
As an optional implementation manner, the electronic device may further include a pushing unit, where the pushing unit is configured to obtain an interest tag of the user, and output, according to the interest tag of the user, a learning resource associated with a word marked as a font error class/a stroke error class, where a category of the learning resource may include a song, a famous sentence, a poem, and the like. For example, if it is known that the preference of the user is the ancient poetry, the electronic device may push the ancient poetry containing the characters marked as the font error type/the stroke order error type to the user, and mark the characters marked as the font error type/the stroke order error type in the pushed ancient poetry, so as to combine the character learning with the user's own interests, and improve the interest of the character learning.
As can be seen, implementing the electronic device described in fig. 5 can mark the last formed text as a font error class when the font error corresponding to the last formed text, so as to facilitate the subsequent targeted font correction; on the basis of correct fonts, the writing with wrong writing order is marked as the writing order error type, so that the writing order error of a user in the text dictation is corrected, the understanding of the user on the fonts is deepened, and the learning effect of the user is scientifically improved; in addition, by outputting the characters marked as the character pattern error class and the correct characters thereof, or by outputting the characters marked as the stroke order error class and the correct writing stroke order thereof, the user can be informed of the character pattern error/writing stroke order error in the writing content, and the character pattern error/writing stroke order error of the user can be effectively corrected.
Example six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device shown in fig. 6 is obtained by optimizing the electronic device shown in fig. 5. Compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 may further include a graphic generation unit 408, a display unit 409, a third detection unit 410, and an unlocking unit 411, wherein:
the first output unit 406 includes:
The first generation subunit 4061 is configured to generate, when the dictation mode is detected to end, a first animated video for reproducing the writing process of the text marked as the wrong type of the writing order by the user according to the writing order corresponding to the last formed text.
The second generation subunit 4062 is configured to generate, according to the correct writing order corresponding to the text marked as the order error class, a second animated video for showing the correct writing process corresponding to the text marked as the order error class.
An output subunit 4063 for outputting the text, the first animated video, and the second animated video marked as the order error class.
A graph generating unit 408, configured to generate a text graph of the to-be-complemented stroke according to the text marked as the error class of the stroke order when the electronic device is detected to enter the unlock page; the character graph of the stroke to be complemented comprises an existing stroke part and the stroke part to be complemented.
And a display unit 409, configured to display text and graphics to be complemented on the unlock page.
The third detecting unit 410 is configured to detect whether the writing order input by the user for the portion of the strokes to be complemented is correct.
The unlocking unit 411 is configured to unlock the electronic device when the third detecting unit 410 detects that the writing order input by the user for the portion to be complemented is correct.
As an optional implementation manner, the electronic device may further include an option generating unit, where the option generating unit is configured to generate, according to the text marked as the font error class when the electronic device is detected to enter the unlock page, a plurality of font options (for example, for a Chinese character, "xu", a text which is not easily distinguished on a font such as "pentane, xu, and kong" may be included in the plurality of font options), where the plurality of font options includes at least a correct font corresponding to the text marked as the font error class and a historical written font of the user for the text marked as the font error class; the display unit is also used for displaying the plurality of font options on the unlocking page; and the unlocking unit is also used for unlocking the electronic equipment when detecting that the user selects the correct font from the plurality of font options. It can be seen that, when the electronic device enters the unlock page, the optional implementation manner is implemented, and based on the text marked as the stroke order error, the effect of correcting the character pattern of the user can be checked at any time by detecting whether the user can select the correct character pattern from the plurality of character pattern options.
As can be seen, implementing the electronic device described in fig. 6 can mark the last formed text as a font error class when the font error corresponding to the last formed text, so as to facilitate the subsequent targeted font correction; on the basis of correct fonts, the writing with wrong writing order is marked as the writing order error type, so that the writing order error of a user in the text dictation is corrected, the understanding of the user on the fonts is deepened, and the learning effect of the user is scientifically improved; in addition, by outputting the characters marked as the character pattern error type and the correct characters thereof or by outputting the characters marked as the stroke order error type and the correct writing stroke order thereof, the user can be informed of the character pattern error/writing stroke order error in the writing content, and the character pattern error/writing stroke order error of the user can be effectively corrected; further, through the form of the animation video, the correct writing process corresponding to the text with the wrong stroke order is played, and the writing process of the text by the user is reproduced, so that the error point of the user can be displayed more intuitively, the memory of the user is facilitated to be deepened, and a better correcting effect is achieved; still further, can also verify user's stroke order at any time and correct the effect, promote flexibility and the interest of characters stroke order exercise.
Example seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the invention. As shown in fig. 7, the electronic device may include:
a memory 701 storing executable program code;
A processor 702 coupled with the memory 701;
The processor 702 invokes executable program codes stored in the memory 701 to execute any of the text dictation methods based on the electronic device shown in fig. 1 to 3.
The embodiment of the invention discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the text dictation methods based on electronic equipment shown in fig. 1-3.
The embodiments of the present invention also disclose a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the method embodiments above.
The embodiment of the invention also discloses an application release platform which is used for releasing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps of the method in the method embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including read-only memory (ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-only memory, PROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable read-only memory (OTPROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (Compact Disc Read-only memory, CD-ROM) or other optical disk memory, magnetic disk memory, tape memory, or any other medium that can be used for carrying or storing data.
The text dictation and electronic device based on the electronic device disclosed in the embodiments of the present invention are described in detail, and specific examples are applied to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. The text dictation method based on the electronic equipment is characterized in that the electronic equipment is provided with a shooting module, and the method comprises the following steps:
when the electronic equipment is detected to enter a dictation mode, broadcasting pronunciation corresponding to a preset word in a preset dictation material;
Detecting writing contents of a user according to the pronunciation through the shooting module, wherein the writing contents comprise characters formed last and writing strokes corresponding to the characters formed last;
detecting whether the font corresponding to the finally formed text is matched with the font corresponding to the preset word or not; when the character pattern corresponding to the last formed character is detected to be unmatched with the character pattern corresponding to the preset word, marking the last formed character as a character pattern error class;
when the character pattern corresponding to the last formed character is detected to be matched with the character pattern corresponding to the preset word, and the writing stroke order corresponding to the last formed character is wrong, marking the last formed character as a stroke order error class;
when the electronic equipment is detected to enter an unlocking page, generating a character graph of the stroke to be complemented according to the characters marked as the stroke order error type; the character and graph of the stroke to be complemented comprises an existing stroke part and a stroke part to be complemented; displaying the character and the graph of the stroke to be complemented on the unlocking page; detecting whether the writing stroke order input by the user aiming at the stroke part to be complemented is correct or not; and unlocking the electronic equipment if the writing stroke order input by the user aiming at the stroke part to be complemented is correct.
2. The method according to claim 1, wherein the method further comprises:
When the electronic equipment is detected to enter an unlocking page, generating a plurality of font options according to the characters marked as font error types; wherein the plurality of font options at least comprise correct fonts corresponding to the characters marked as font error types and historical writing fonts of the user aiming at the characters marked as font error types; and displaying the plurality of glyph options on the unlocking page; and detecting whether the user selects a correct glyph from the plurality of glyph options;
If the writing order input by the user for the to-be-complemented stroke part is correct, unlocking the electronic device, including:
And if the writing stroke order input by the user aiming at the part to be complemented is correct and the correct character form is selected, unlocking the electronic equipment.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
outputting characters marked as character-pattern errors and correct characters corresponding to the characters marked as character-pattern errors when the end of the dictation mode is detected;
or outputting the characters marked as the wrong writing order and the correct writing order corresponding to the characters marked as the wrong writing order when the dictation mode is detected to be ended.
4. A method according to claim 3, wherein outputting the text marked as a wrong-order type and the correct written order corresponding to the text marked as a wrong-order type when the end of the dictation mode is detected comprises:
When the dictation mode is detected to be finished, generating a first animation video for reproducing the writing process of the characters marked as the error type of the strokes according to the writing strokes corresponding to the characters formed last;
generating a second animation video for showing the correct writing process corresponding to the characters marked as the wrong order according to the correct writing order corresponding to the characters marked as the wrong order;
outputting the characters marked as the order error class, the first animation video and the second animation video.
5. An electronic device, characterized in that, the electronic device is equipped with shooting module, the electronic device includes:
The broadcasting unit is used for broadcasting pronunciation corresponding to a preset word in a preset dictation material when the electronic equipment is detected to enter a dictation mode;
The first detection unit is used for detecting the writing content of a user according to the pronunciation through the shooting module, wherein the writing content comprises characters formed last and writing strokes corresponding to the characters formed last;
the second detection unit is used for detecting whether the font corresponding to the finally formed text is matched with the font corresponding to the preset word or not;
The second marking unit is used for detecting whether the fonts corresponding to the finally formed characters are matched with the fonts corresponding to the preset words or not;
The first marking unit is used for marking the last formed character as a pen order error class when the second detection unit detects that the font corresponding to the last formed character is matched with the font corresponding to the preset word and the writing pen order corresponding to the last formed character is wrong;
the image generating unit is used for generating a character image of the strokes to be complemented according to the characters marked as the error strokes when the electronic equipment is detected to enter the unlocking page; the character and graph of the stroke to be complemented comprises an existing stroke part and a stroke part to be complemented;
The display unit is used for displaying the text and the graphics of the strokes to be complemented on the unlocking page;
The third detection unit is used for detecting whether the writing order input by the user aiming at the stroke part to be complemented is correct;
And the unlocking unit is used for unlocking the electronic equipment when the third detection unit detects that the writing stroke order input by the user aiming at the stroke part to be complemented is correct.
6. The electronic device of claim 5, wherein the graphics-generating unit is further configured to generate a plurality of glyph options based on the text marked as glyph-error class when the electronic device is detected to enter an unlock page; the plurality of font options at least comprise correct fonts corresponding to the characters marked as font error types, and the user writes the fonts aiming at the characters marked as the font error types;
the display unit is further used for displaying the plurality of font options on the unlocking page;
the third detecting unit is further configured to detect whether the user selects a correct font from the plurality of font options;
The unlocking unit is configured to unlock the electronic device when the third detection unit detects that the writing order input by the user for the to-be-completed stroke part is correct, where the method specifically includes:
The unlocking unit is used for unlocking the electronic equipment when the third detection unit detects that the writing order input by the user aiming at the stroke part to be complemented is correct and the correct character pattern is selected.
7. The electronic device of claim 5 or 6, wherein the electronic device further comprises:
The first output unit is used for outputting the characters marked as the wrong writing orders and the correct writing orders corresponding to the characters marked as the wrong writing orders when the end of the dictation mode is detected;
And the second output unit is used for outputting the characters marked as the character shape error type and the correct characters corresponding to the characters marked as the character shape error type when the end of the dictation mode is detected.
8. The electronic device of claim 7, wherein the first output unit comprises:
a first generation subunit, configured to generate, when the dictation mode is detected to end, a first animated video for reproducing a writing process of the text marked as a wrong type of the stroke order by a user according to a writing stroke order corresponding to the last formed text;
a second generation subunit, configured to generate a second animated video for showing a correct writing procedure corresponding to the text marked as a wrong class according to the correct writing order corresponding to the text marked as a wrong class;
and the output subunit is used for outputting the characters marked as the order error class, the first animation video and the second animation video.
9. An electronic device, the electronic device comprising:
A memory storing executable program code;
A processor coupled to the memory;
the processor invokes the executable program code stored in the memory for performing an electronic device-based text dictation method as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the text dictation method based on the electronic device as claimed in any one of claims 1 to 4.
CN201910127108.XA 2019-02-20 2019-02-20 Text dictation method based on electronic equipment and electronic equipment Active CN111027647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910127108.XA CN111027647B (en) 2019-02-20 2019-02-20 Text dictation method based on electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910127108.XA CN111027647B (en) 2019-02-20 2019-02-20 Text dictation method based on electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN111027647A CN111027647A (en) 2020-04-17
CN111027647B true CN111027647B (en) 2024-04-19

Family

ID=70203465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910127108.XA Active CN111027647B (en) 2019-02-20 2019-02-20 Text dictation method based on electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN111027647B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240865A (en) * 1997-02-27 1998-09-11 Takayuki Mizuno Method for processing stroke order for handwritten character recognition and device for recognizing handwritten character
CN103646582A (en) * 2013-12-04 2014-03-19 广东小天才科技有限公司 Method and device for prompting writing errors
CN103778818A (en) * 2014-01-20 2014-05-07 广东小天才科技有限公司 Method and device for prompting spelling errors
CN103903491A (en) * 2014-02-14 2014-07-02 广东小天才科技有限公司 Method and device for achieving writing inspection
CN204288563U (en) * 2014-12-25 2015-04-22 佳木斯大学 Japanese character dictation and order of strokes observed in calligraphy exercising machine
CN107301803A (en) * 2017-06-29 2017-10-27 广东小天才科技有限公司 A kind of order of strokes observed in calligraphy correcting method, device, terminal device and computer-readable storage medium
CN107862024A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 The learning method and electronic equipment of a kind of Chinese character

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240865A (en) * 1997-02-27 1998-09-11 Takayuki Mizuno Method for processing stroke order for handwritten character recognition and device for recognizing handwritten character
CN103646582A (en) * 2013-12-04 2014-03-19 广东小天才科技有限公司 Method and device for prompting writing errors
CN103778818A (en) * 2014-01-20 2014-05-07 广东小天才科技有限公司 Method and device for prompting spelling errors
CN103903491A (en) * 2014-02-14 2014-07-02 广东小天才科技有限公司 Method and device for achieving writing inspection
CN204288563U (en) * 2014-12-25 2015-04-22 佳木斯大学 Japanese character dictation and order of strokes observed in calligraphy exercising machine
CN107301803A (en) * 2017-06-29 2017-10-27 广东小天才科技有限公司 A kind of order of strokes observed in calligraphy correcting method, device, terminal device and computer-readable storage medium
CN107862024A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 The learning method and electronic equipment of a kind of Chinese character

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
洪洋等.基于模板匹配的移动设备手写汉字笔画识别.《计算机工程与应用》.2017,第105-110页. *

Also Published As

Publication number Publication date
CN111027647A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
US11417234B2 (en) Interactive multisensory learning process and tutorial device
US9031493B2 (en) Custom narration of electronic books
CN111027537B (en) Question searching method and electronic equipment
JP2017219718A (en) Programming learning device and program
CN103632169A (en) Method and equipment for automatic character writing error correction
CN111077996A (en) Information recommendation method based on point reading and learning equipment
CN109410984B (en) Reading scoring method and electronic equipment
CN111079501B (en) Character recognition method and electronic equipment
CN111081117A (en) Writing detection method and electronic equipment
CN111045585A (en) Courseware editing method and system
CN111079494A (en) Learning content pushing method and electronic equipment
CN111079499B (en) Writing content identification method and system in learning environment
CN111027647B (en) Text dictation method based on electronic equipment and electronic equipment
CN112991848A (en) Remote education method and system based on virtual reality
CN114661196B (en) Problem display method and device, electronic equipment and storage medium
CN111077988A (en) Dictation content acquisition method based on user behavior and electronic equipment
CN110766997A (en) Copy display method, device and storage medium
CN111079413A (en) Dictation detection method and electronic equipment
CN111079486B (en) Method for starting dictation detection and electronic equipment
CN111091120B (en) Dictation correction method and electronic equipment
US20210134177A1 (en) System and method for displaying voice-animated multimedia content
CN111028590B (en) Method for guiding user to write in dictation process and learning device
KR101333532B1 (en) Leaning device and method for using the same
CN111081083A (en) Method for dictating, reporting and reading and electronic equipment
CN104182061A (en) Multiword input method and equipment

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