Dictation optimization method, device, computer equipment and storage medium
By dynamically adjusting the time threshold of the dictation function on children's learning equipment, based on writing speed and content difficulty, the problem of low usage of the dictation function in the existing technology is solved, and students' learning experience and enthusiasm are improved.
Patent Information
- Application Number
- CN202210715630.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-06-22
AI Technical Summary
The dictation function of existing children's learning equipment has unreasonable time intervals, causing students to rush or wait when writing words, resulting in a decline in learning experience, low enthusiasm, and low usage rate.
By executing the dictation text entry operation, it is judged whether the dictator has entered the dictation state based on the book status and the humanoid template, and the playback moment of the target vocabulary is determined according to the preset method, and the time threshold is dynamically adjusted taking into account the number of words of the dictation content, the user's writing speed and difficulty , to prevent students from being anxious or wasting time.
It improves students' dictation experience and enthusiasm, makes full use of the dictation function of learning equipment, and increases the usage rate of the dictation function.
Smart Images

Figure CN115035763B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent desk lamps, and in particular to a dictation optimization method, device, computer equipment and storage medium. Background Art
[0002] Existing children's learning devices are equipped with a dictation function. However, when students use dictation, the time interval between the current word and the next word is the same. However, if the dictated word has multiple characters, the student may not be able to finish writing it within the set time interval, and will have to start writing the next word in a hurry. If the dictated word is one character, the student may finish writing it early within the time interval, but will not be able to start dictating the next word. This wastes students' study time, causes a decline in learning experience, and reduces their enthusiasm for learning. Ultimately, the dictation function in the learning device becomes a decoration with extremely low usage rate. Summary of the invention
[0003] The main purpose of the present invention is to provide a dictation optimization method, device, computer equipment and storage medium, which can solve the technical problem of low utilization rate of the dictation function of learning equipment in the prior art.
[0004] The present invention provides a dictation optimization method, the method comprising:
[0005] Perform dictation text input operation and obtain dictation text;
[0006] Based on the book status and human template, determine whether the dictator has entered the dictation state;
[0007] If the dictator enters the dictation state, the playback time of the target vocabulary in the dictation text is determined based on a preset method, and the dictation operation is performed based on the playback time.
[0008] Further, the step of determining the playback time of the target vocabulary in the dictation text based on a preset method includes:
[0009] After the target vocabulary is played, the time is recorded as the first time;
[0010] If the first time is less than or equal to a preset time threshold, a setting instruction is detected, and the first time is used as the playback time of the target vocabulary in the dictation text;
[0011] If the first time is greater than or equal to a preset time threshold, the time threshold is used as the playback time of the target vocabulary in the dictation text;
[0012] The preset time threshold is calculated based on the number of words in the dictation content, the average writing speed of the user, and the difficulty level of the dictation content.
[0013] Further, after the target vocabulary is played, the time is recorded as a first step, including:
[0014] After the target vocabulary is played, the current writing speed of the dictator is obtained, and it is determined whether the current writing speed is less than the average writing speed of the dictator, wherein the average writing speed of the dictation is set according to the usual writing speed of the dictator;
[0015] If so, replay the target vocabulary;
[0016] After the target vocabulary is played for the second time, a time record is made as the first time.
[0017] Further, the step of performing the dictation text entry operation and obtaining the dictation text includes:
[0018] Acquire dictation voice information, match and correct the dictation voice information, and obtain dictation text;
[0019] or,
[0020] Place the book containing the text to be dictated under the camera, and obtain the dictated text based on the image of the text and the student's gestures;
[0021] or,
[0022] Scan with the pen and get dictated text.
[0023] Furthermore, the step of judging whether the dictator has entered the dictation state based on the book state and the human-shaped template includes:
[0024] Determine whether the book is closed and whether the dictator is within the detection range of the human-shaped template;
[0025] If the book is not closed and the dictator is not in the detection range of the human-shaped template, the dictator is reminded to enter the detection range of the human-shaped template and to change the book to closed;
[0026] If the book is not closed and the dictator is in the detection range of the human template, remind the dictator to change the book to closed;
[0027] If the book is closed and the dictator is not in the detection range of the human-shaped template, remind the dictator to enter the detection range of the human-shaped template;
[0028] Until it is detected that the book is closed and the dictator is in the detection range of the human template, it is confirmed that the dictator has entered the dictation state.
[0029] Furthermore, the step of determining whether the book is closed comprises:
[0030] Obtaining a book status database, wherein the book status database includes positive and negative samples, the positive sample is that the book status is closed, and the negative sample is that the book status is not closed;
[0031] Inputting the book status database into a neural network for supervised training to obtain a book status judgment model;
[0032] Using the current desktop image as the input of the book state judgment model, and obtaining the probability value of the current desktop image through processing and analysis by the book state judgment model;
[0033] If the probability value is greater than a preset value, it meets the characteristics of the positive sample and is determined to be in the closed state; if the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined to be in the open state.
[0034] Furthermore, the method further comprises:
[0035] After the dictation end instruction is monitored, the dictation result is obtained, and the dictation result is compared with the dictation content in the database to obtain the wrong words;
[0036] The erroneous word is sent to the terminal for display.
[0037] A dictation optimization device, characterized by comprising:
[0038] The acquisition module performs the dictation text input operation and obtains the dictation text;
[0039] A judgment module, based on the book status and the human template, judges whether the dictator has entered the dictation state;
[0040] The execution module determines the playback time of the target vocabulary in the dictation text based on a preset method if the dictator enters the dictation state, and performs the dictation operation based on the playback time.
[0041] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0042] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0043] Compared with the prior art, the present invention provides a dictation optimization method, device, computer equipment and storage medium, which performs a dictation text input operation and obtains a dictation text; based on the book state and the human template, determines whether the dictator has entered the dictation state; if the dictator has entered the dictation state, determines the playback time of the target vocabulary in the dictation text based on a preset method, and performs the dictation operation based on the playback time. By obtaining a more humane playback time, students are neither in a hurry to write down the next word nor waste time waiting for the next word, thereby improving students' dictation experience and students' enthusiasm for dictation, thereby making full use of the dictation function in the learning device and improving the utilization rate of the dictation function. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of the steps of a dictation optimization method in one embodiment of the present application;
[0045] Figure 2 is a structural block diagram of a dictation optimization device in an embodiment of the present application;
[0046] Figure 3 This is a schematic block diagram of the structure of an embodiment of a computer device of the present application.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] Reference Figure 1 , a dictation optimization method according to an embodiment of the present invention, the method comprising:
[0051] S1. Execute a dictation text input operation and obtain a dictation text;
[0052] S2, judging whether the dictator has entered the dictation state based on the book state and the human-shaped template;
[0053] S3. If the dictator enters the dictation state, the playback time of the target vocabulary in the dictation text is determined based on a preset method, and the dictation operation is performed based on the playback time.
[0054] Specifically, the dictation text obtained in the above step S1 can be obtained in the following way:
[0055] Method 1: Acquire through voice input. Acquire dictation voice information, match and correct the dictation voice information, and obtain dictation text. Specifically, the student reads out the text that he wants to dictate, acquires dictation voice information, matches and corrects the dictation voice information, acquires dictation text, and stores the dictation text in a database. In some cases, students may mispronounce, and voice input can deepen students' impressions and improve learning effects.
[0056] Method 2: Acquire through gestures. Place the book containing the text to be dictated under the camera, obtain the image of the text and the student's gestures, and obtain the dictated text. Specifically, place the book containing the text to be dictated under the camera, obtain the image through the camera and the student's gestures to obtain the dictated text, and store the dictated text in the database. The above-mentioned gestures include circling, pointing, drawing straight lines, and descending lines;
[0057] Method 3: Scan with a scanning pen and get dictated text. You can use the scanning pen equipped with the smart desk lamp to scan, and the dictated text you get is faster and more accurate.
[0058] In the above step S2, the acquisition of the human-shaped template can be performed by obtaining an image of the student's standard sitting posture through a camera, assigning the boundary pixels between the human figure and the environment in the image to a set pixel color, and obtaining the human-shaped template; the human-shaped template can also be further expanded to a corresponding range to cope with errors. The purpose of determining the state of the book in the book image is to confirm whether the student has closed the book containing the dictation content, so as to prevent the student from seeing the dictation content in the book during the dictation process and losing the meaning of the dictation.
[0059] Existing children's learning equipment may be equipped with a dictation function, such as a desk lamp. While providing lighting, the smart desk lamp can assist children in dictation through the attached dictation function. In the above step S3, the playback time of the target vocabulary in the dictation text is determined by a preset method. This method of dynamic playback time setting is more humane, so that students are neither in a hurry to write down the next word nor waste time waiting for the next word. It is like a real teacher or parent dictating to students, improving students' dictation experience and students' enthusiasm for dictation, thereby further improving students' grades; or the experience and effect are better, and the utilization rate of the dictation function is increased.
[0060] Further, the step of determining the playback time of the target vocabulary in the dictation text based on a preset method includes:
[0061] S31, after the target vocabulary is played, the time is recorded as the first time;
[0062] S32: if the first time is less than or equal to a preset time threshold, a setting instruction is detected, and the first time is used as the playback time of the target vocabulary in the dictation text;
[0063] S33: if the first time is greater than or equal to a preset time threshold, use the time threshold as the playback time of the target vocabulary in the dictation text;
[0064] The preset time threshold is calculated based on the number of words in the dictation content, the average writing speed of the user, and the difficulty level of the dictation content.
[0065] Specifically, after the target vocabulary is played, the time is recorded as the first time; if the first time is less than or equal to the set time threshold, but the set instruction is detected within the first time. The set instruction can be a set action, such as making an OK gesture, a thumbs-up gesture, or gently touching a desk lamp, etc., and the first time is used as the playback time of the target vocabulary in the dictation text, and then the next word starts to be played. In addition, the set instruction can be a set voice, such as saying "next". The purpose of the above steps is to directly trigger the dictation of the next word by setting an action without wasting time waiting for the next word when the dictator finishes writing quickly. If the first time is greater than or equal to the set time threshold, the next word starts to be played. The purpose of the above steps is to avoid waiting indefinitely for the student to finish when the dictator cannot write the current word.
[0066] The above-mentioned time threshold changes dynamically. For example, the current word can be one word, two words, three words, or an idiom, ancient poem, or paragraph. The time threshold corresponding to different word counts cannot be the same, so the time threshold can be set according to the number of words in the dictation content stored in the database. In addition, since each student's average writing speed for the dictation content will be different, the average writing speed factor can be taken into account when setting the time threshold. In addition, the difficulty of different dictation contents is different. The corresponding difficulty level can be set for the dictation content based on the difficulty judged by humans, or the corresponding difficulty level can be set for the dictation content based on the learning situation of the students collected from big data, and then a fault tolerance time is obtained according to the level of difficulty. Taking the above factors into consideration, the time threshold is obtained by adaptive calculation.
[0067] Further, after the target vocabulary is played, the time is recorded as a first step, including:
[0068] S311, after the target vocabulary is played, the current writing speed of the dictator is obtained, and it is determined whether the current writing speed is less than the average writing speed of the dictator, wherein the average writing speed of the dictation is set according to the usual writing speed of the dictator;
[0069] S312: If yes, replay the target vocabulary;
[0070] S313: After playing the target vocabulary for the second time, record the time as the first time.
[0071] Specifically, after the target vocabulary is played, the time is recorded as the first time; if the first time is less than or equal to the set time threshold, but a set action is detected within the first time, such as making an OK gesture, making a thumbs-up gesture, or gently touching a desk lamp, etc., the first time is used as the playback time of the target vocabulary in the dictation text, and the next word is started. The purpose of the above steps is that when the dictator writes quickly, there is no need to waste time waiting for the next word, and the dictation of the next word is directly triggered by the set action. If the first time is greater than or equal to the set time threshold, the next word is started. The purpose of the above steps is to avoid waiting indefinitely for the student to finish when the dictator cannot write the current word.
[0072] Further, the step S2 of judging whether the dictator has entered the dictation state based on the book state and the human-shaped template includes:
[0073] S21, determining whether the book is closed and whether the dictator is within the detection range of the human-shaped template;
[0074] S22, if the book is not closed and the dictator is not in the detection range of the human-shaped template, reminding the dictator to enter the detection range of the human-shaped template and to change the book to closed;
[0075] S23, if the book is not closed and the dictator is in the detection range of the human template, reminding the dictator to change the book to closed;
[0076] S24, if the book is closed and the dictator is not in the detection range of the human-shaped template, remind the dictator to enter the detection range of the human-shaped template;
[0077] S25, until it is detected that the book is closed and the dictator is in the detection range of the human template, confirming that the dictator has entered the dictation state.
[0078] In the above steps, the purpose of judging whether the dictator is in the detection range of the human-shaped template is to confirm whether the dictator is ready for dictation, so as to prevent the dictator from dictating without being prepared, resulting in unsatisfactory dictation results and poor dictation effects. The purpose of judging the state of the book in the book image is to confirm whether the student has closed the book containing the dictation content, so as to prevent the student from seeing the dictation content in the book during the dictation process and losing the meaning of dictation. When the state of the book in the book image is not closed and the user is not in the detection range of the human-shaped template, it means that the user is not detected to be in place and ready for dictation, and the book is in an open state, and the student may see the dictation content on the book. At this time, the user is reminded to enter the detection range of the human-shaped template and to change the book state to closed; when the state of the book in the book image is not closed and the user is in the detection range of the human-shaped template, it means that the user is detected to be in place and ready for dictation, but the book is in an open state, and the student may see the book. The user needs to be reminded to change the book status to closed when the book status in the book image is closed and the user is not in the detection range of the human-shaped template, which means that the user is not yet in place and the user needs to be reminded to enter the detection range of the human-shaped template and prepare for dictation; when the book status in the book image is closed and the user is in the detection range of the human-shaped template, which means that the user is already in place and ready for dictation and the book is in a closed state, the student will not see the dictation content on the book, and the dictator is confirmed to enter the dictation state.
[0079] Further, the step S21 of determining whether the book is closed includes:
[0080] S211, obtaining a book status database, wherein the book status database includes positive and negative samples, the positive sample is that the book status is closed, and the negative sample is that the book status is not closed;
[0081] S212, inputting the book status database into a neural network for supervised training to obtain a book status judgment model;
[0082] S213, using the current desktop image as the input of the book state judgment model, and obtaining a probability value of the current desktop image through processing and analysis by the book state judgment model;
[0083] S214. If the probability value is greater than a preset value, it meets the characteristics of the positive sample and is determined as the book is closed; if the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined as the book is not closed.
[0084] In the above steps, the desktop image is input into a pre-trained book state judgment model to quickly obtain the probability value of the desktop image. The acquisition process is simple and convenient, and risk identification is achieved based on the desktop image. According to the probability value of the desktop image, the characteristics of the sample are determined. If the probability value is greater than the preset value, it meets the characteristics of the positive sample and is determined to be in a closed state. If the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined to be in an open state, thereby achieving identification of the book state. The book state is identified by the desktop image in the above manner to improve the accuracy of identification. In this embodiment, the preset value is preferably 0.5.
[0085] Furthermore, the method further comprises:
[0086] S4, after listening to the dictation end instruction, obtaining the dictation result, comparing the dictation result with the dictation content in the database, and obtaining the wrong words;
[0087] S5. Send the erroneous word to the terminal for display.
[0088] The terminal in the above steps can be a parent terminal, a teacher terminal, or various terminals used by children, such as smart watches, tablets, etc., to facilitate timely review. The display method of the wrong words in the above steps can be displayed in red, or other matching phrases of wrong characters can be displayed. In a preferred embodiment, after the dictation is completed, an image with the dictation result is captured by a camera, and then the writing result is identified from the image, and the dictation result is compared with the writing content to obtain the correction result; if the correction result shows that there is a dictation content with dictation errors in the writing result, the wrong words are obtained. The location information of the dictation content with dictation errors is determined in the display device, and a mark is projected to the location information in the writing page. Among them, the mark can be in the form of red bold or a prompt box.
[0089] Reference Figure 2 The present invention also provides a dictation optimization device, comprising:
[0090] Acquisition module 1, performs a dictation text input operation and obtains the dictation text;
[0091] The judgment module 2 judges whether the dictator has entered the dictation state based on the book state and the human template;
[0092] Execution module 3, if the dictator enters the dictation state, determines the playback time of the target vocabulary in the dictation text based on a preset method, and performs the dictation operation based on the playback time.
[0093] Reference Figure 3 In an embodiment of the present application, a computer device is also provided, the internal structure of which can be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display device and an input device connected through a system bus. Among them, the network interface of the computer device is used to communicate with an external terminal through a network connection. The display device of the computer device is used to display an interactive page. The input device of the computer device is used to receive user input. The processor designed for the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium. The non-volatile storage medium stores an operating system, a computer program and a database. The database of the computer device is used to store raw data. When the computer program is executed by the processor, a dictation optimization method is implemented.
[0094] The processor executes the dictation optimization method, performs the dictation text entry operation, and obtains the dictation text; based on the book state and the human-shaped template, determines whether the dictator has entered the dictation state; if the dictator has entered the dictation state, determines the playback time of the target vocabulary in the dictation text based on a preset method, and performs the dictation operation based on the playback time. By obtaining a more humane playback time, students are neither in a hurry to write down the next word nor waste time waiting for the next word, which improves the students' dictation experience and students' enthusiasm for dictation, thereby making full use of the dictation function in the learning device and improving the utilization rate of the dictation function.
[0095] Further, the step of determining the playback time of the target vocabulary in the dictation text based on a preset method includes:
[0096] After the target vocabulary is played, the time is recorded as the first time;
[0097] If the first time is less than or equal to a preset time threshold, a setting instruction is detected, and the first time is used as the playback time of the target vocabulary in the dictation text;
[0098] If the first time is greater than or equal to a preset time threshold, the time threshold is used as the playback time of the target vocabulary in the dictation text;
[0099] The preset time threshold is calculated based on the number of words in the dictation content, the average writing speed of the user, and the difficulty level of the dictation content.
[0100] Further, after the target vocabulary is played, the time is recorded as a first step, including:
[0101] After the target vocabulary is played, the current writing speed of the dictator is obtained, and it is determined whether the current writing speed is less than the average writing speed of the dictator, wherein the average writing speed of the dictation is set according to the usual writing speed of the dictator;
[0102] If so, replay the target vocabulary;
[0103] After the target vocabulary is played for the second time, a time record is made as the first time.
[0104] Further, the step of performing the dictation text entry operation and obtaining the dictation text includes:
[0105] Acquire dictation voice information, match and correct the dictation voice information, and obtain dictation text;
[0106] or,
[0107] Place the book containing the text to be dictated under the camera, and obtain the dictated text based on the image of the text and the student's gestures;
[0108] or,
[0109] Scan with the pen and get dictated text.
[0110] Furthermore, the step of judging whether the dictator has entered the dictation state based on the book state and the human-shaped template includes:
[0111] Determine whether the book is closed and whether the dictator is within the detection range of the human-shaped template;
[0112] If the book is not closed and the dictator is not in the detection range of the human-shaped template, the dictator is reminded to enter the detection range of the human-shaped template and to change the book to closed;
[0113] If the book is not closed and the dictator is in the detection range of the human template, remind the dictator to change the book to closed;
[0114] If the book is closed and the dictator is not in the detection range of the human-shaped template, remind the dictator to enter the detection range of the human-shaped template;
[0115] Until it is detected that the book is closed and the dictator is in the detection range of the human template, it is confirmed that the dictator has entered the dictation state.
[0116] Furthermore, the step of determining whether the book is closed comprises:
[0117] Obtaining a book status database, wherein the book status database includes positive and negative samples, the positive sample is that the book status is closed, and the negative sample is that the book status is not closed;
[0118] Inputting the book status database into a neural network for supervised training to obtain a book status judgment model;
[0119] Using the current desktop image as the input of the book state judgment model, and obtaining the probability value of the current desktop image through processing and analysis by the book state judgment model;
[0120] If the probability value is greater than a preset value, it meets the characteristics of the positive sample and is determined to be in the closed state; if the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined to be in the open state.
[0121] Furthermore, the method further comprises:
[0122] After the dictation end instruction is monitored, the dictation result is obtained, and the dictation result is compared with the dictation content in the database to obtain the wrong words;
[0123] The erroneous word is sent to the terminal for display.
[0124] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor, a dictation optimization method is implemented, a dictation text entry operation is performed, and a dictation text is obtained; based on the book state and the human-shaped template, whether the dictator enters the dictation state is determined; if the dictator enters the dictation state, the playback time of the target vocabulary in the dictation text is determined based on a preset method, and the dictation operation is performed based on the playback time. By obtaining a more humane playback time, students are neither in a hurry to write down the next word nor waste time waiting for the next word, which improves the student's dictation experience and the student's enthusiasm for dictation, thereby making full use of the dictation function in the learning device and improving the utilization rate of the dictation function.
[0125] Further, the step of determining the playback time of the target vocabulary in the dictation text based on a preset method includes:
[0126] After the target vocabulary is played, the time is recorded as the first time;
[0127] If the first time is less than or equal to a preset time threshold, a setting instruction is detected, and the first time is used as the playback time of the target vocabulary in the dictation text;
[0128] If the first time is greater than or equal to a preset time threshold, the time threshold is used as the playback time of the target vocabulary in the dictation text;
[0129] The preset time threshold is calculated based on the number of words in the dictation content, the average writing speed of the user, and the difficulty level of the dictation content.
[0130] Further, after the target vocabulary is played, the time is recorded as a first step, including:
[0131] After the target vocabulary is played, the current writing speed of the dictator is obtained, and it is determined whether the current writing speed is less than the average writing speed of the dictator, wherein the average writing speed of the dictation is set according to the usual writing speed of the dictator;
[0132] If so, replay the target vocabulary;
[0133] After the target vocabulary is played for the second time, a time record is made as the first time.
[0134] Further, the step of performing the dictation text entry operation and obtaining the dictation text includes:
[0135] Acquire dictation voice information, match and correct the dictation voice information, and obtain dictation text;
[0136] or,
[0137] Place the book containing the text to be dictated under the camera, and obtain the dictated text based on the image of the text and the student's gestures;
[0138] or,
[0139] Scan with the pen and get dictated text.
[0140] Furthermore, the step of judging whether the dictator has entered the dictation state based on the book state and the human-shaped template includes:
[0141] Determine whether the book is closed and whether the dictator is within the detection range of the human-shaped template;
[0142] If the book is not closed and the dictator is not in the detection range of the human-shaped template, the dictator is reminded to enter the detection range of the human-shaped template and to change the book to closed;
[0143] If the book is not closed and the dictator is in the detection range of the human template, remind the dictator to change the book to closed;
[0144] If the book is closed and the dictator is not in the detection range of the human-shaped template, remind the dictator to enter the detection range of the human-shaped template;
[0145] Until it is detected that the book is closed and the dictator is in the detection range of the human template, it is confirmed that the dictator has entered the dictation state.
[0146] Furthermore, the step of determining whether the book is closed comprises:
[0147] Obtaining a book status database, wherein the book status database includes positive and negative samples, the positive sample is that the book status is closed, and the negative sample is that the book status is not closed;
[0148] Inputting the book status database into a neural network for supervised training to obtain a book status judgment model;
[0149] Using the current desktop image as the input of the book state judgment model, and obtaining the probability value of the current desktop image through processing and analysis by the book state judgment model;
[0150] If the probability value is greater than a preset value, it meets the characteristics of the positive sample and is determined to be in the closed state; if the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined to be in the open state.
[0151] Furthermore, the method further comprises:
[0152] After the dictation end instruction is monitored, the dictation result is obtained, and the dictation result is compared with the dictation content in the database to obtain the wrong words;
[0153] The erroneous word is sent to the terminal for display.
[0154] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0155] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0156] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A dictation optimization method, characterized in that: The method comprises: Perform dictation text input operation and obtain dictation text; Based on the book status and human template, determine whether the dictator has entered the dictation state; If the dictator enters the dictation state, the playback time of the target vocabulary in the dictation text is determined based on a preset method, and the dictation operation is performed based on the playback time; The step of performing the dictation text entry operation and obtaining the dictation text comprises: Place the book containing the text to be dictated under the camera, and obtain the dictated text based on the image of the text and the student's gestures; The step of determining the playback time of the target vocabulary in the dictation text based on a preset method includes: After the target vocabulary is played, the time is recorded as the first time; If the first time is less than or equal to a preset time threshold, a setting instruction is detected, and the first time is used as the playback time of the target vocabulary in the dictation text; If the first time is greater than or equal to a preset time threshold, the time threshold is used as the playback time of the target vocabulary in the dictation text; The preset time threshold is calculated based on the number of words in the dictation content, the average writing speed of the user, and the difficulty level of the dictation content.
2. The dictation optimization method according to claim 1, characterized in that: After the target vocabulary is played, the time is recorded as a first step, including: After the target vocabulary is played, the current writing speed of the dictator is obtained, and it is determined whether the current writing speed is less than the average writing speed of the dictator, wherein the average writing speed of the dictation is set according to the usual writing speed of the dictator; If so, replay the target vocabulary; After the target vocabulary is played for the second time, a time record is made as the first time.
3. The dictation optimization method according to claim 1, characterized in that: The step of judging whether the dictator has entered the dictation state based on the book state and the human-shaped template includes: Determine whether the book is closed and whether the dictator is within the detection range of the human-shaped template; If the book is not closed and the dictator is not in the detection range of the human-shaped template, the dictator is reminded to enter the detection range of the human-shaped template and to change the book to closed; If the book is not closed and the dictator is in the detection range of the human template, remind the dictator to change the book to closed; If the book is closed and the dictator is not in the detection range of the human-shaped template, remind the dictator to enter the detection range of the human-shaped template; Until it is detected that the book is closed and the dictator is in the detection range of the human template, it is confirmed that the dictator has entered the dictation state.
4. The dictation optimization method according to claim 3, characterized in that: The step of determining whether the book is closed comprises: Obtaining a book status database, wherein the book status database includes positive and negative samples, the positive sample is that the book status is closed, and the negative sample is that the book status is not closed; Inputting the book status database into a neural network for supervised training to obtain a book status judgment model; Using the current desktop image as the input of the book state judgment model, and obtaining the probability value of the current desktop image through processing and analysis by the book state judgment model; If the probability value is greater than a preset value, it meets the characteristics of the positive sample and is determined to be in the closed state; if the probability value is less than the preset value, it meets the characteristics of the negative sample and is determined to be in the open state.
5. The dictation optimization method according to claim 1, characterized in that: The method further comprises: After the dictation end instruction is monitored, the dictation result is obtained, and the dictation result is compared with the dictation content in the database to obtain the wrong words; The erroneous word is sent to the terminal for display.
6. A dictation optimization device, characterized in that: The dictation optimization method according to claim 1 is applied, comprising: The acquisition module performs the dictation text input operation and obtains the dictation text; A judgment module, based on the book status and the human template, judges whether the dictator has entered the dictation state; The execution module determines the playback time of the target vocabulary in the dictation text based on a preset method if the dictator enters the dictation state, and performs the dictation operation based on the playback time.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
A vehicle bottom fault detection method, a device, an apparatus and a system based on artificial intelligence
CN109242835A
Dictation assistant method based on image recognition and home education device
CN109300347A
Intelligent device and control method thereof, computer-readable storage medium
CN109725545A
Dictation assisting method and device
CN109887349A
Dictation reading method based on writing progress and electronic equipment
CN111027358A
