CN111079729B - Dictation detection method, electronic equipment and computer readable storage medium - Google Patents

Dictation detection method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111079729B
CN111079729B CN201910686664.0A CN201910686664A CN111079729B CN 111079729 B CN111079729 B CN 111079729B CN 201910686664 A CN201910686664 A CN 201910686664A CN 111079729 B CN111079729 B CN 111079729B
Authority
CN
China
Prior art keywords
content
dictation
invalid
initial image
unit
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
CN201910686664.0A
Other languages
Chinese (zh)
Other versions
CN111079729A (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 CN201910686664.0A priority Critical patent/CN111079729B/en
Publication of CN111079729A publication Critical patent/CN111079729A/en
Application granted granted Critical
Publication of CN111079729B publication Critical patent/CN111079729B/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/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B7/00Electrically-operated teaching apparatus or devices working with questions and answers
    • G09B7/02Electrically-operated teaching apparatus or devices working with questions and answers of the type wherein the student is expected to construct an answer to the question which is presented or wherein the machine gives an answer to the question presented by a student

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Studio Devices (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The embodiment of the application relates to the technical field of education, and discloses a dictation detection method, electronic equipment and a computer readable storage medium. The method comprises the following steps: shooting the content on one side of the paper to obtain an initial image; detecting whether invalid content exists in an initial image; if yes, adding a preset invalid mark for the invalid content in the initial image to generate a target image; detecting the content in the target image, and removing the invalid content from the detected content of the target image according to the invalid mark to obtain dictation content; and correcting the dictation content according to the newspaper reading content to obtain dictation results. By implementing the embodiment of the application, the accuracy of dictation detection can be improved.

Description

Dictation detection method, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of education technologies, and in particular, to a dictation detection method, an electronic device, and a computer readable storage medium.
Background
At present, a dictation detection mode generally shoots contents written by students, and identifies image contents from shot images as dictation contents; and then, further correcting the dictation content according to the newspaper reading content to obtain a dictation result. In practice, it is found that some invalid content irrelevant to dictation content may exist in the shot image, for example, words scratched by the student in the dictation process are the invalid content, and the invalid content causes interference to dictation detection, so as to affect accuracy of dictation detection.
Disclosure of Invention
The embodiment of the application discloses a dictation detection method and electronic equipment, which can improve the accuracy of dictation detection.
The first aspect of the embodiment of the application discloses a dictation detection method, which comprises the following steps:
shooting the content on one side of the paper to obtain an initial image;
detecting whether invalid content exists in the initial image;
if yes, adding a preset invalid mark for the invalid content in the initial image to generate a target image;
detecting the content in the target image, and removing the invalid content from the detected content of the target image according to the invalid mark to obtain dictation content;
and correcting the dictation content according to the newspaper reading content to obtain a dictation result.
A second aspect of an embodiment of the present application discloses an electronic device, including:
the shooting unit is used for shooting the content on one side of the paper to obtain an initial image;
a first detection unit configured to detect whether invalid content exists in the initial image;
a generating unit, configured to add a preset invalid mark to the invalid content in the initial image when the first detecting unit detects that the invalid content exists in the initial image, so as to generate a target image;
a second detection unit configured to detect content in the target image, and exclude the invalid content from the detected content of the target image according to the invalid flag, so as to obtain dictation content;
and the correcting unit is used for correcting the dictation content according to the newspaper reading content so as to obtain a dictation result.
A third aspect of an embodiment of the present application discloses another 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 perform all or part of the steps in any of the dictation detection methods disclosed in the first aspect of the embodiments of the present application.
A fourth aspect of the embodiment of the present application discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute all or part of the steps in any one of the dictation detection methods disclosed in the first aspect of the embodiment of the present application.
A fifth aspect of the embodiments of the present application discloses a computer program product which, when run on a computer, causes the computer to perform all or part of the steps of any one of the dictation detection methods of the first aspect of the embodiments of the present application.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, after capturing the content on one side of the paper to obtain the initial image, if the invalid content is detected to exist in the initial image, a preset invalid mark can be added to the invalid content in the initial image to generate a target image; on the basis, the content in the target image can be detected, and invalid content is further excluded from the detected content of the target image according to the invalid mark, so that dictation content is obtained; finally, the dictation content is modified according to the newspaper reading content to obtain dictation results. Therefore, by implementing the embodiment of the application, the interference of invalid content on dictation detection can be reduced, so that the accuracy of dictation detection can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application, 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 dictation detection method according to an embodiment of the present application;
FIG. 2 is a flow chart of another dictation detection method according to an embodiment of the present application;
FIG. 3 is a flow chart of a dictation detection method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another electronic device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of still another electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application 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 application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in embodiments of the application, 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 that are expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a dictation detection method and electronic equipment, which can improve the accuracy of dictation detection. The following detailed description is made with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flow chart of a dictation detection method according to an embodiment of the application. As shown in fig. 1, the dictation detection method may include the following steps.
101. The electronic device shoots the content on one side of the paper to obtain an initial image.
By way of example, the electronic device may include various devices or systems (e.g., home education machine, point-to-read machine, etc.) having dictation function, and embodiments of the present application are not limited in particular.
In one embodiment, the electronic device may capture the content on one side of the paper through a capturing module of the electronic device itself or an external capturing module, to obtain the initial image.
For example, the electronic device may control the photographing module to photograph the mirror image of the mirror mounted on the electronic device, where the mirror image is an image of the content on a certain side of the paper in the mirror, so as to photograph the content on a certain side of the paper and obtain the initial image.
For another example, the electronic device may control the photographing module on the smart watch worn by the user to photograph the content on one side of the paper, so as to obtain the initial image, thereby reducing the power consumption of the electronic device.
102. The electronic equipment detects whether invalid content exists in the initial image, if not, step 103 is executed; if yes, executing the steps 104-106;
illustratively, the invalid content may include, but is not limited to, crossed content, slashed content, painted trace content, or print. In one embodiment, the invalid content may also include content printed through the other side (e.g., the reverse side) of the paper.
103. The electronic device detects the content in the initial image to obtain dictation content and performs step 106.
104. The electronic device adds a preset invalid mark to the invalid content in the initial image to generate a target image.
105. The electronic device detects the content in the target image and excludes the invalid content from the detected content of the target image according to the invalid flag to obtain dictation content.
106. And the electronic equipment corrects the dictation content according to the newspaper reading content so as to obtain a dictation result.
Therefore, by implementing the embodiment of the application described in fig. 1, the interference of invalid content on dictation detection can be reduced, so that the accuracy of dictation detection can be improved.
Referring to fig. 2, fig. 2 is a flow chart of another dictation detection method according to an embodiment of the application. As shown in fig. 2, the dictation detection method may include the following steps.
201. The electronic equipment detects whether a preset dictation result detection condition is met, and if yes, steps 202-203 are executed; if not, the process is ended.
In one embodiment, the electronic device detecting whether the preconfigured dictation result detection condition is satisfied may include:
the electronic equipment detects whether information for triggering the detection of the dictation result is heard in an ultrasonic mode, and if so, the electronic equipment determines that the detection condition of the dictation result is met; if not, determining that the preset dictation result detection condition is not met.
For example, the electronic device may be an electronic device disposed in a dictation environment, and accordingly, the service device of the dictation environment may transmit information for triggering detection of a dictation result in an ultrasonic manner, and the electronic device may detect whether the information for triggering detection of a dictation result is heard in an ultrasonic manner, and if so, the electronic device may determine that a preconfigured dictation result detection condition is satisfied; if not, determining that the preset dictation result detection condition is not met.
Optionally, the information for triggering the detection of the dictation result, which is transmitted by the service device in the dictation environment in an ultrasonic manner, may also carry the device identifier of the service device, and accordingly, after the electronic device detects that the information for triggering the detection of the dictation result is heard in an ultrasonic manner, the electronic device may further verify whether the device identifier of the service device carried by the information belongs to the device identifier of the service device in the dictation environment where the electronic device is located, if yes, the electronic device determines that the preconfigured detection condition of the dictation result is met, so that other devices outside the dictation environment can be prevented from interfering with the electronic device.
In another embodiment, the electronic device detecting whether the preconfigured dictation result detection condition is satisfied may include:
the electronic equipment detects whether a written specified symbol used for triggering the detection of the dictation result is written in a specified non-writing area on one side of the paper, if so, the preset dictation result detection condition is determined to be met; if so, it is determined that the preset dictation result detection condition is not satisfied.
202. The electronic device shoots the content on one side of the paper to obtain an initial image.
203. The electronic device detects whether invalid content exists in the initial image, and if not, step 204 is executed; if so, steps 205 to 207 are performed.
Illustratively, the invalid content may include, but is not limited to, crossed content, slashed content, painted trace content, or print. In one embodiment, the invalid content may also include content printed through the other side (e.g., the reverse side) of the paper.
204. The electronic device detects the content in the initial image to obtain dictation content and performs step 207.
205. The electronic device adds a preset invalid mark to the invalid content in the initial image to generate a target image.
206. The electronic device detects the content in the target image and excludes the invalid content from the detected content of the target image according to the invalid flag to obtain dictation content.
207. And the electronic equipment corrects the dictation content according to the newspaper reading content so as to obtain a dictation result.
Therefore, by implementing the embodiment of the application described in fig. 2, the interference of invalid content on dictation detection can be reduced, so that the accuracy of dictation detection can be improved.
Referring to fig. 3, fig. 3 is a flow chart of another dictation detection method according to an embodiment of the application. As shown in fig. 3, the dictation detection method may include the following steps.
301. The electronic equipment detects whether a locked application program is started or not, and if the application program is not started, the process is ended; if activated, steps 302 to 304 are performed.
302. The electronic equipment determines the starting times of the application program in a specified historical period, and acquires the corresponding number of new words in inverse proportion relation with the starting times from a new word database as newspaper reading content.
303. And the electronic equipment broadcasts the audio corresponding to the broadcasting and reading content so that the user can dictate according to the audio.
304. The electronic equipment detects whether a preset dictation result detection condition is met, and if so, steps 305-306 are executed; if not, the process is ended.
Exemplary, the electronic device detecting whether a preconfigured dictation result detection condition is satisfied includes:
the electronic equipment detects whether a written specified symbol used for triggering the detection of the dictation result is written in a specified non-writing area on one side of the paper, if so, the preset dictation result detection condition is determined to be met; if not, determining that the preset dictation result detection condition is not met; when the user writes the dictation content in the specified writing area on one side of the paper according to the audio, if the user writes the dictation content in the specified writing area, the user may further write a specified symbol (e.g., specified symbol O) for triggering the detection of the dictation result in the specified non-writing area on one side of the paper, thereby triggering the electronic device to detect that the preset dictation result detection condition is met, and executing steps 305 to 306.
305. The electronic device shoots the content on one side of the paper to obtain an initial image.
The electronic device may capture content on a surface of the paper, and obtaining the initial image may include:
the electronic device shoots the content in the appointed writing area on one side of the paper to obtain an initial image.
306. The electronic device detects whether invalid content exists in the initial image, and if not, step 307 is executed; if so, steps 308 to 311 are performed.
Illustratively, the invalid content may include, but is not limited to, crossed content, slashed content, painted trace content, or print. In one embodiment, the invalid content may also include content printed through the other side (e.g., the reverse side) of the paper.
In one embodiment, the electronic device detecting whether invalid content exists in the initial image may include:
the electronic device detects whether the initial image contains the cross content, the painted trace content or the printing body, if not, the electronic device can compare the handwriting depth of each content unit contained in the initial image with the handwriting depth collected in advance, and if the handwriting depth of the content unit is smaller than the handwriting depth collected in advance and the difference value between the handwriting depth of the content unit and the handwriting depth collected in advance is not in the specified range, the electronic device can consider that the content unit is the content which is printed from the other side (such as the reverse side) of the paper to the one side (such as the front side) of the paper, and accordingly, the electronic device can take the content unit as the invalid content.
For example, when the content in the initial image is a chinese-form content, the content unit may be any chinese character; when the content in the initial image is the content in the English form, the content unit can be any word; when the content in the initial image is pinyin-type content, the content unit may be any pinyin.
In the embodiment of the application, the electronic equipment can collect a large number of handwriting of a certain user (such as a large number of handwriting of a certain user on the front surface of paper) in advance and analyze the handwriting depth of the large number of handwriting of the user so as to obtain the handwriting depth of the user; and taking the handwriting depth of the user as the handwriting depth collected in advance by the electronic equipment.
The accuracy of identifying invalid content on one side of the paper can be improved by implementing the mode.
307. The electronic device detects the content in the initial image to obtain dictation content and performs steps 310-311.
308. The electronic device adds a preset invalid mark to the invalid content in the initial image to generate a target image.
For example, the electronic device may add a preset invalidation flag to the invalidation content in the initial image to generate the target image, and may include:
the electronic device applies a preset color (belonging to a preset invalid mark) to the invalid content in the initial image to generate a target image.
309. The electronic device detects the content in the target image and excludes the invalid content from the detected content of the target image according to the invalid flag to obtain dictation content.
310. And the electronic equipment corrects the dictation content according to the dictation content so as to obtain dictation results comprising dictation scores.
311. And the electronic equipment judges whether the dictation score is equal to or higher than a target threshold value, and if so, the application program is unlocked.
Optionally, the dictation score is less than a target threshold, and the electronic device may prohibit unlocking the application.
As an optional implementation manner, after the electronic device modifies the dictation content according to the above-mentioned newspaper-reading content to obtain the dictation result including the dictation score, and before the electronic device performs step 311, the electronic device may further perform the following steps:
the electronic equipment can determine the threshold increment according to the starting times of the application program in the appointed historical period; wherein the threshold increase is inversely proportional to the number of starts, that is, the greater the number of starts, the greater the threshold increase; conversely, the smaller the number of starts, the smaller the threshold increase amount;
and the electronic device may accumulate the preset initial threshold value and the threshold value increment, and take the accumulated result as a target threshold value.
In the embodiment of the application, when the starting times are smaller, the user is less to use the application program (such as a learning application program), and accordingly, the larger the threshold increment determined according to the starting times is, the larger the target threshold obtained by further accumulating the preset initial threshold and the threshold increment is, so that the probability that the electronic equipment judges that the dictation score is equal to or higher than the target threshold is smaller, and accordingly, the smaller the success rate of the electronic equipment for unlocking the application program is. That is, to successfully unlock the application (e.g., a learning-class application), the user may use the application at ordinary times, thereby achieving the effect of stimulating the user to use the application at more times.
Therefore, by implementing the embodiment of the application described in fig. 3, the interference of invalid content on dictation detection can be reduced, so that the accuracy of dictation detection can be improved.
In addition, in the embodiment of the application described in fig. 3, unlocking and dictation of an application program can not only promote the interestingness of the unlocking process, but also exercise the dictation capability of a user; moreover, the user can be further stimulated to use the application program more, and when the application program is a learning application program, the effect of guiding the user to learn more can be achieved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 4, the electronic device may include:
a shooting unit 401 for shooting the content on one side of the paper to obtain an initial image;
a first detecting unit 402 for detecting whether invalid content exists in the initial image;
a generating unit 403 configured to, when the first detecting unit 402 detects that invalid content exists in the initial image, add a preset invalid flag to the invalid content in the initial image to generate a target image;
a second detection unit 404 for detecting contents in the target image and excluding invalid contents from the detected contents of the target image according to the invalid flag to obtain dictation contents;
and the correcting unit 405 is configured to correct the dictation content according to the newspaper reading content, so as to obtain a dictation result.
Illustratively, the invalid content may include, but is not limited to, crossed content, slashed content, painted trace content, or print. In one embodiment, the invalid content may also include content printed through the other side (e.g., the reverse side) of the paper.
Therefore, implementing the electronic device described in fig. 4 can reduce interference of invalid content to dictation detection, so as to improve accuracy of dictation detection.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the application. The electronic device shown in fig. 5 is obtained by optimizing the electronic device shown in fig. 4. Compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 further includes:
and a third detecting unit 406, configured to detect whether a preset dictation result detection condition is met before the photographing unit 401 photographs the content on one side of the paper to obtain the initial image, and if so, trigger the photographing unit 401 to perform the above-mentioned photographing of the content on one side of the paper to obtain the initial image.
In one embodiment, the third detection unit 406 detects whether the preconfigured dictation result detection condition is satisfied specifically by:
the third detecting unit 406 is configured to detect whether information for triggering the detection of the dictation result is heard through an ultrasonic manner, and if so, determine that a preconfigured dictation result detection condition is satisfied; if not, determining that the preset dictation result detection condition is not met.
For example, the electronic device may be an electronic device disposed in a dictation environment, and accordingly, the service device of the dictation environment may transmit information for triggering detection of a dictation result in an ultrasonic manner, and the third detection unit 406 may detect whether the information for triggering detection of a dictation result is heard in an ultrasonic manner, and if so, may determine that a preconfigured dictation result detection condition is satisfied; if not, determining that the preset dictation result detection condition is not met.
Optionally, the information for triggering the detection of the dictation result, which is transmitted by the service device in the dictation environment through the ultrasonic manner, may also carry the device identifier of the service device, and accordingly, after the third detection unit 406 detects that the information for triggering the detection of the dictation result is heard through the ultrasonic manner, it may further verify whether the device identifier of the service device carried by the information belongs to the device identifier of the service device in the dictation environment where the electronic device is located, if yes, the third detection unit 406 determines that the preconfigured detection condition of the dictation result is met, so that other devices outside the dictation environment may be prevented from interfering with the electronic device.
In another embodiment, the third detecting unit 406 detects whether the preconfigured dictation result detecting condition is satisfied in a specific manner:
the third detecting unit 406 is configured to detect whether or not a specified symbol for triggering detection of a dictation result is written in a specified non-writing area on a certain side of the sheet, and if so, determine that a preconfigured dictation result detection condition is satisfied.
As an alternative embodiment, the electronic device shown in fig. 5 may further include:
the broadcasting unit is configured to detect whether an application program locked by the electronic device is started before the third detection unit 406 detects whether a preconfigured dictation result detection condition is met, if so, determine the starting times of the application program in a specified history period, and obtain, from a raw word database, a corresponding number of raw words in inverse proportion to the starting times as broadcasting contents; and broadcasting the audio corresponding to the broadcasting and reading content so that the user can dictate according to the audio.
Accordingly, exemplary, the third detection unit 406 detecting whether the preconfigured dictation result detection condition is satisfied may be:
the third detection unit 406 detects whether or not a specified symbol for triggering detection of a dictation result is written in a specified non-writing area on a certain side of the sheet, and if so, determines that a preconfigured dictation result detection condition is satisfied; if not, determining that the preset dictation result detection condition is not met; when the user writes the dictation content in the specified writing area on one side of the paper according to the audio, if the user writes the dictation content in the specified writing area, the user may further write a specified symbol (e.g., a specified symbol O) for triggering detection of the dictation result in the specified non-writing area on one side of the paper, so as to trigger the third detection unit 406 to detect that the preset dictation result detection condition is satisfied.
Accordingly, the electronic device shown in fig. 5 may further include:
and the unlocking unit is used for judging whether the dictation score is equal to or higher than a target threshold value after the correcting unit 405 corrects the dictation content according to the newspaper reading content to obtain a dictation result comprising the dictation score, and unlocking the application program if the dictation score is equal to or higher than the target threshold value.
As an alternative embodiment, the electronic device shown in fig. 5 may further include:
a calculating unit, configured to determine, after the correcting unit 405 corrects the dictation content according to the read-out content to obtain a dictation result including a dictation score, and before the unlocking unit determines whether the dictation score is equal to or higher than a target threshold, a threshold increment according to the number of times the application program is started in a specified history period; wherein the threshold increase is inversely proportional to the number of starts, that is, the greater the number of starts, the greater the threshold increase; conversely, the smaller the number of starts, the smaller the threshold increase amount; and accumulating the preset initial threshold value and the threshold value increment, and taking the accumulated result as a target threshold value.
In the embodiment of the application, when the starting times are smaller, the user is less to use the application program (such as a learning application program), and accordingly, the larger the threshold increment determined according to the starting times is, the larger the target threshold obtained by further accumulating the preset initial threshold and the threshold increment is, so that the probability that the electronic equipment judges that the dictation score is equal to or higher than the target threshold is smaller, and accordingly, the smaller the success rate of the electronic equipment for unlocking the application program is. That is, to successfully unlock the application (e.g., a learning-class application), the user may use the application at ordinary times, thereby achieving the effect of stimulating the user to use the application at more times.
Therefore, implementing the electronic device described in fig. 5 can reduce interference of invalid content to dictation detection, thereby improving accuracy of dictation detection.
In addition, implementing the electronic device described in fig. 5, unlocking and dictation of a certain application program can not only promote the interestingness of the unlocking process, but also exercise the dictation capability of the user; moreover, the user can be further stimulated to use the application program more, and when the application program is a learning application program, the effect of guiding the user to learn more can be achieved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device may include:
a memory 601 in which executable program codes are stored;
a processor 602 coupled to the memory 601;
wherein the processor 602 invokes executable program code stored in the memory 601 to perform all or part of the steps of any one of the methods of fig. 1-3.
Further, the embodiment of the present application further discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute all or part of the steps of any one of the methods of fig. 1 to 3.
Furthermore, embodiments of the present application further disclose a computer program product that, when run on a computer, causes the computer to perform all or part of the steps of any of the methods of fig. 1-3.
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 that is readable by a computer.
The foregoing has described in detail the methods for detecting dictation, electronic devices, computer readable storage media, etc. disclosed in the embodiments of the present application, and specific examples have been provided herein to illustrate the principles and embodiments of the present application, the above description of the embodiments being only for aiding in the understanding of the methods of the present application and the core ideas thereof; 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 application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A dictation detection method, comprising:
shooting the content on one side of the paper to obtain an initial image;
detecting whether invalid content exists in the initial image; the invalid content comprises content printed on the other surface of the paper;
wherein the detecting whether invalid content exists in the initial image includes: comparing the handwriting depth of each content unit included in the content in the initial image with the handwriting depth collected in advance, and taking the content unit as invalid content if the handwriting depth of the content unit is smaller than the handwriting depth collected in advance and the difference value between the handwriting depth of the content unit and the handwriting depth collected in advance is not in a specified range;
if yes, adding a preset invalid mark for the invalid content in the initial image to generate a target image;
detecting the content in the target image, and removing the invalid content from the detected content of the target image according to the invalid mark to obtain dictation content;
and correcting the dictation content according to the newspaper reading content to obtain a dictation result.
2. The dictation detection method according to claim 1, wherein the invalid content includes any one or more of a crossed content, a slashed content, a painted trace content, or a printed matter.
3. The dictation detection method of claim 1 or 2, wherein before capturing the content on one side of the paper, the method further comprises:
detecting whether a preset dictation result detection condition is met;
if yes, executing the shooting of the content on one side of the paper to obtain an initial image.
4. The dictation detection method of claim 3, wherein the detecting whether a preconfigured dictation result detection condition is satisfied comprises:
and detecting whether information for triggering the dictation result detection is heard through an ultrasonic mode, and if so, determining that the preset dictation result detection condition is met.
5. The dictation detection method of claim 3, wherein the detecting whether a preconfigured dictation result detection condition is satisfied comprises:
and detecting whether a written specified symbol used for triggering the dictation result detection is written in a specified non-writing area on one side of the paper, and if so, determining that a preset dictation result detection condition is met.
6. An electronic device, comprising:
the shooting unit is used for shooting the content on one side of the paper to obtain an initial image;
a first detection unit configured to detect whether invalid content exists in the initial image; the invalid content comprises content printed on the other surface of the paper; wherein the detecting whether invalid content exists in the initial image includes: comparing the handwriting depth of each content unit included in the content in the initial image with the handwriting depth collected in advance, and taking the content unit as invalid content if the handwriting depth of the content unit is smaller than the handwriting depth collected in advance and the difference value between the handwriting depth of the content unit and the handwriting depth collected in advance is not in a specified range;
a generating unit, configured to add a preset invalid mark to the invalid content in the initial image when the first detecting unit detects that the invalid content exists in the initial image, so as to generate a target image;
a second detection unit configured to detect content in the target image, and exclude the invalid content from the detected content of the target image according to the invalid flag, so as to obtain dictation content;
and the correcting unit is used for correcting the dictation content according to the newspaper reading content so as to obtain a dictation result.
7. The electronic device of claim 6, wherein the invalid content comprises any one or more of crossed content, cross-tapped content, painted trace content, or printed matter.
8. The electronic device of claim 6 or 7, wherein the electronic device further comprises:
and the third detection unit is used for detecting whether a preset dictation result detection condition is met before the shooting unit shoots the content on one side of the paper to obtain an initial image, and triggering the shooting unit to execute the shooting of the content on one side of the paper to obtain the initial image if the preset dictation result detection condition is met.
9. An 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, which causes a computer to execute the dictation detection method of any one of claims 1 to 5.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the dictation detection method of any one of claims 1 to 5.
CN201910686664.0A 2019-07-29 2019-07-29 Dictation detection method, electronic equipment and computer readable storage medium Active CN111079729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910686664.0A CN111079729B (en) 2019-07-29 2019-07-29 Dictation detection method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910686664.0A CN111079729B (en) 2019-07-29 2019-07-29 Dictation detection method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111079729A CN111079729A (en) 2020-04-28
CN111079729B true CN111079729B (en) 2023-09-26

Family

ID=70310112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910686664.0A Active CN111079729B (en) 2019-07-29 2019-07-29 Dictation detection method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111079729B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264517A (en) * 2013-05-20 2016-01-20 微软技术许可有限责任公司 Ink to text representation conversion
CN107666550A (en) * 2016-07-28 2018-02-06 京瓷办公信息系统株式会社 Image processing system and document electronic method
CN109887349A (en) * 2019-04-12 2019-06-14 广东小天才科技有限公司 Dictation auxiliary method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102240279B1 (en) * 2014-04-21 2021-04-14 삼성전자주식회사 Content processing method and electronic device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264517A (en) * 2013-05-20 2016-01-20 微软技术许可有限责任公司 Ink to text representation conversion
CN107666550A (en) * 2016-07-28 2018-02-06 京瓷办公信息系统株式会社 Image processing system and document electronic method
CN109887349A (en) * 2019-04-12 2019-06-14 广东小天才科技有限公司 Dictation auxiliary method and device

Also Published As

Publication number Publication date
CN111079729A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN110956138B (en) Auxiliary learning method based on home education equipment and home education equipment
CN110287854B (en) Table extraction method and device, computer equipment and storage medium
CN103778818B (en) Method and device for prompting writing errors
CN110232340B (en) Method and device for establishing video classification model and video classification
CN111191067A (en) Picture book identification method, terminal device and computer readable storage medium
CN109656465B (en) Content acquisition method applied to family education equipment and family education equipment
CN103632169A (en) Method and equipment for automatic character writing error correction
CN111027537B (en) Question searching method and electronic equipment
CN110598686A (en) Invoice identification method, system, electronic equipment and medium
CN110458014A (en) Answering card reading method, device and computer readable storage medium
CN113762274B (en) Answer sheet target area detection method, system, storage medium and equipment
CN112464845A (en) Bill recognition method, equipment and computer storage medium
CN110210040A (en) Text interpretation method, device, equipment and readable storage medium storing program for executing
CN115690815A (en) Paper job processing method, device, equipment and storage medium
CN111079726B (en) Image processing method and electronic equipment
CN103810507A (en) Automatic error correction equipment and method for word writing
CN111081093B (en) Dictation content identification method and electronic equipment
CN111079729B (en) Dictation detection method, electronic equipment and computer readable storage medium
CN111078179A (en) Control method for dictation and reading progress and electronic equipment
CN111078983B (en) Method for determining page to be identified and learning equipment
CN109783679B (en) Learning auxiliary method and learning equipment
US11682220B2 (en) Overlap-aware optical character recognition
CN111026839B (en) Method for detecting mastering degree of dictation word and electronic equipment
CN111090989B (en) Prompting method based on character recognition and electronic equipment
CN111078890B (en) Raw word collection method and electronic 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