Method and device for determining reading prompt information, storage medium and electronic device

Through image and audio collection and recognition technology, combined with image recognition and speech recognition, the user's pronunciation and the material to be collected are compared to generate reading prompt information, which solves the problem of low error correction accuracy in the existing technology and improves the accuracy of reading prompt information. accuracy.

CN118658163APending Publication Date: 2024-09-17QINGDAO HAIER TECH +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410755547.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology is difficult to provide accurate reading prompt information during the reading process, and the error correction accuracy is not high, relying on manual inspection or a single error correction method.

Method used

The reading image is obtained through the image acquisition device, image recognition is performed and text information is extracted; the audio acquisition device obtains the reading audio, speech recognition is performed and text information is extracted, the two are combined for comparison, and reading prompt information is generated and sent.

Benefits of technology

It improves the accuracy of reading error correction, improves the user's reading ability and language level, and provides more accurate reading prompt information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658163A
    Figure CN118658163A
Patent Text Reader

Abstract

The invention discloses a reading prompt information determination method and device, a storage medium and an electronic device, and relates to the technical field of smart home, and the reading prompt information determination method comprises the steps: obtaining a reading image obtained by carrying out the image collection of a to-be-collected material through an image collection device, extracting first text information corresponding to the to-be-collected material from a first recognition result obtained by performing image recognition on the reading image; acquiring a reading audio obtained by performing audio acquisition on the target object by an audio acquisition device, and extracting second text information corresponding to the reading audio from a second recognition result obtained by performing voice recognition on the reading audio; the reading prompt information is determined according to the comparison result of the first text information and the second text information, and the reading prompt information is sent to the target object, and by adopting the technical scheme, the technical problem of how to provide accurate reading prompt information in the reading process is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a method, device, storage medium and electronic device for determining reading prompt information. Background Art

[0002] In the process of learning a language, users often make mistakes in pronunciation or inaccurate reading. Traditional error correction methods rely on manual inspection or playback comparison after recording, which is inefficient and inconvenient to operate. At present, there are some solutions on the market that prompt users with reading results.

[0003] For example, there is an intelligent reading assistance system that recognizes and analyzes the user's voice to determine whether the pronunciation is accurate, and provides pronunciation demonstrations or correction suggestions when necessary. In addition, there is a text comparison and correction system that compares the differences between the text entered by the user and the standard text to identify and correct errors. However, these systems provide correction suggestions in a single correction manner, and the accuracy of the correction is not high.

[0004] Therefore, in the related art, there is a technical problem of how to provide accurate reading prompt information during the reading process.

[0005] In the related art, there is no effective solution to the technical problem of how to provide accurate reading prompt information during the reading process. Summary of the invention

[0006] The embodiments of the present application provide a method, device, storage medium and electronic device for determining reading prompt information, so as to at least solve the technical problem of how to provide accurate reading prompt information during the reading process in the related art.

[0007] According to an embodiment of the embodiments of the present application, a method for determining reading prompt information is provided, including: obtaining a reading image obtained by an image acquisition device performing image acquisition on a material to be acquired, and extracting first text information corresponding to the material to be acquired from a first recognition result of image recognition of the reading image; obtaining a reading audio obtained by an audio acquisition device performing audio acquisition on a target object, and extracting second text information corresponding to the reading audio from a second recognition result of voice recognition of the reading audio; determining reading prompt information based on a comparison result of the first text information and the second text information, and sending the reading prompt information to the target object.

[0008] In an exemplary embodiment, extracting first text information corresponding to the material to be collected from a first recognition result of image recognition of the reading image includes: performing image processing on the recognition image in the first recognition result to obtain a processed image, wherein difficulty in extracting information from the processed image is lower than difficulty in extracting information from the reading image; extracting all text from the processed image, and generating the first text information based on all the text, wherein the first text information supports editing operations.

[0009] In an exemplary embodiment, image processing is performed on the recognition image of the first recognition result to obtain a processed image, including: using an image filtering method to perform image denoising on the recognition image to obtain a filtered image; performing image enhancement on the filtered image to obtain an enhanced image; dividing image pixels of the enhanced image according to pixel value sizes to obtain foreground pixels and background pixels, and obtaining a binary image of the enhanced image based on the foreground pixels and the background pixels, wherein the pixel value of the foreground pixel is greater than or equal to a preset pixel threshold, and the pixel value of the background pixel is less than the preset pixel threshold; and saving the binary image in a preset format to obtain the processed image.

[0010] In an exemplary embodiment, extracting second text information corresponding to the reading audio from a second recognition result of speech recognition of the reading audio includes: determining an audio signal in the second recognition result, wherein the audio signal has been preprocessed; inputting an audio feature vector corresponding to the audio signal into a trained neural network model to obtain a text sequence output by the neural network model, wherein the neural network model is trained using a historical audio signal with labeled information as an input sample and a historical text sequence corresponding to the historical audio signal as an output sample; and generating the second text information based on the text sequence.

[0011] In an exemplary embodiment, generating the second text information based on the text sequence includes: obtaining verification results of spelling and grammar verification of the text sequence; and determining the text sequence as the second text information when it is determined that the verification results indicate that the text sequence passes the spelling and grammar verification.

[0012] In an exemplary embodiment, reading prompt information is determined based on a comparison result of the first text information and the second text information, including: determining multiple groups of comparison objects from the comparison results, wherein each group of comparison objects includes at least a first comparison object and a second comparison object, wherein the first comparison object belongs to the first text information, the second comparison object belongs to the second text information, and there is a positional correspondence between the first comparison object and the second comparison object; when it is determined that a first character string corresponding to the first comparison object and a second character string corresponding to the second comparison object are inconsistent, generating an error prompt word corresponding to the second character string, and determining the error prompt word as the reading prompt information.

[0013] In an exemplary embodiment, sending the reading prompt information to the target object includes: obtaining a prompt level set for the reading prompt information; when it is determined that the prompt level is higher than a default prompt level, determining an error text from the comparison result, and modifying a display format of the error text from a first display format to a second display format; sending the error text, a standard text corresponding to the error text, and the reading prompt information to the target object, wherein the error text is displayed in the second display format and the standard text is displayed in the first display format.

[0014] According to another aspect of an embodiment of the present application, a device for determining reading prompt information is also provided, including: a first extraction module, used to obtain a reading image obtained by an image acquisition device performing image acquisition on a material to be acquired, and extract first text information corresponding to the material to be acquired from a first recognition result of image recognition of the reading image; a second extraction module, used to obtain a reading audio obtained by an audio acquisition device performing audio acquisition on a target object, and extract second text information corresponding to the reading audio from a second recognition result of voice recognition of the reading audio; a determination module, used to determine the reading prompt information according to a comparison result of the first text information and the second text information, and send the reading prompt information to the target object.

[0015] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for determining reading prompt information when running.

[0016] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for determining the reading prompt information through the computer program.

[0017] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0018] In an embodiment of the present application, a reading image is obtained by acquiring an image acquisition device through image acquisition of a material to be acquired, and first text information corresponding to the material to be acquired is extracted from a first recognition result of image recognition of the reading image; a reading audio is obtained by acquiring an audio of a target object through audio acquisition device, and second text information corresponding to the reading audio is extracted from a second recognition result of voice recognition of the reading audio; reading prompt information is determined based on a comparison result of the first text information and the second text information, and the reading prompt information is sent to the target object. By combining image recognition and voice recognition technology, the user's pronunciation is compared with the material to be acquired, so that the user's pronunciation errors can be corrected through reading prompt information during the reading process, thereby improving the accuracy of error correction, helping to improve the user's reading ability and language level, and thereby solving the technical problem of how to provide accurate reading prompt information during the reading process in the related technology, thereby improving the accuracy of the reading prompt information. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 It is a hardware environment diagram of a method for determining reading prompt information in an embodiment of the present application;

[0022] Figure 2 is a flowchart of a method for determining reading prompt information according to an embodiment of the present application;

[0023] Figure 3 is a timing diagram of a process for determining reading prompt information according to an embodiment of the present application;

[0024] Figure 4 It is a structural block diagram of a device for determining reading prompt information according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] According to one aspect of an embodiment of the present application, a method for determining reading prompt information is provided. The method for determining reading prompt information is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned method for determining reading prompt information can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0028] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0029] In this embodiment, a method for determining reading prompt information is provided, which is applied to the above terminal device. Figure 2 : is a flowchart of a method for determining reading prompt information according to an embodiment of the present application, the process includes the following steps:

[0030] Step S202, obtaining a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extracting first text information corresponding to the material to be acquired from a first recognition result of image recognition performed on the reading image;

[0031] It should be noted that this application does not limit the specific form of the collected materials.

[0032] It can be understood that the materials to be collected include, for example, paper documents, electronic documents and other text materials that support scanning. For example, when a user reads aloud, an image of the text object read by the user (such as the book "My Altai") can be collected to obtain a reading image of the text object, and then the text in the reading image can be extracted.

[0033] Optionally, the material to be collected includes, for example, streaming media materials that support frame-by-frame capture or collection, such as video stream data. For example, when a user reads an electronic text displayed on an electronic computer, the electronic text is photographed and recognized.

[0034] In this step, the features in the image are extracted and analyzed using image recognition technology, and a first recognition result can be obtained to achieve automatic understanding and recognition of the image. For example, an image recognition model such as deep learning can be used to perform image recognition on the reading image. By using annotated image training to obtain a deep learning model, the deep learning model can learn the high-level feature representation in the image, thereby achieving image recognition. By converting the material to be collected into editable text information, the required text information can be provided in the subsequent reading error correction.

[0035] Step S204, obtaining a reading audio obtained by the audio collection device through audio collection of the target object, and extracting second text information corresponding to the reading audio from a second recognition result of voice recognition of the reading audio;

[0036] In this step, the sound signal is converted into text information based on speech recognition technology, which can be compared with the text information obtained by image recognition in subsequent reading error correction, and then the reading prompt information is determined according to the comparison result. Among them, speech recognition technology is, for example, Automatic Speech Recognition (ASR) technology.

[0037] Step S206: determining reading prompt information according to the comparison result of the first text information and the second text information, and sending the reading prompt information to the target object.

[0038] It can be understood that the solution of step S206 corresponds to the situation where the first text information and the second text information are inconsistent.

[0039] The reading prompt information may include information such as the user's misreading of content, the user's non-standard pronunciation, etc., and may also include correction suggestions for these information. Furthermore, the reading prompt information may also include personalized correction suggestions based on the user's reading habits and level.

[0040] Through the above steps, a reading image is obtained by an image acquisition device when the image acquisition device acquires the image of the material to be acquired, and the first text information corresponding to the material to be acquired is extracted from the first recognition result of image recognition of the reading image; a reading audio is obtained by an audio acquisition device when the audio acquisition device acquires the audio of the target object, and the second text information corresponding to the reading audio is extracted from the second recognition result of voice recognition of the reading audio; reading prompt information is determined according to the comparison result of the first text information and the second text information, and the reading prompt information is sent to the target object, and by combining image recognition and voice recognition technology, the user's pronunciation is compared with the material to be acquired, so that the user's pronunciation errors can be corrected through the reading prompt information during the reading process, thereby improving the accuracy of error correction, helping to improve the user's reading ability and language level, and thus solving the technical problem of how to provide accurate reading prompt information during the reading process in the related technology, thereby improving the accuracy of the reading prompt information.

[0041] Among them, the above-mentioned step S202 can be executed before or after step S204, and this application does not limit the execution order of step S202 and step S204.

[0042] In an exemplary embodiment, the implementation process of extracting the first text information corresponding to the material to be collected from the first recognition result of image recognition of the reading image in the above-mentioned step S202 specifically includes: performing image processing on the recognition image in the first recognition result to obtain a processed image, wherein the difficulty of extracting information from the processed image is lower than the difficulty of extracting information from the reading image; extracting all text from the processed image, and generating the first text information based on all the text, wherein the first text information supports editing operations.

[0043] In the above embodiment, an image acquisition device is used to capture an image containing text, and then the text in the image is converted into editable text information through an image recognition algorithm, which can provide text information corresponding to the image for the subsequent comparison process of reading and error correction.

[0044] In an exemplary embodiment, a technical solution is further proposed for performing image processing on the recognition image of the first recognition result to obtain a processed image, and the steps are as follows: using an image filtering method to perform image denoising on the recognition image to obtain a filtered image; performing image enhancement on the filtered image to obtain an enhanced image; dividing the image pixels of the enhanced image according to the pixel value size to obtain foreground pixels and background pixels, and obtaining a binary image of the enhanced image based on the foreground pixels and the background pixels, wherein the pixel value of the foreground pixel is greater than or equal to a preset pixel threshold, and the pixel value of the background pixel is less than the preset pixel threshold; saving the binary image in a preset format to obtain the processed image. This embodiment reduces the difficulty of extracting text information from an image and improves the efficiency of image processing by performing denoising, enhancement and other processing on the image.

[0045] The image filtering method includes but is not limited to median filtering, Gaussian filtering, and bilateral filtering. The image enhancement method includes but is not limited to histogram equalization and contrast-limited adaptive histogram equalization.

[0046] Furthermore, after image enhancement, each pixel value in the image can be further linearly transformed to scale it to the target range, that is, to achieve a normalization operation.

[0047] It can be understood that the above-mentioned image binarization is a process of converting an image into an image containing only two pixel values ​​(usually black and white). Binarization is a key step in many image processing tasks, such as edge detection, feature recognition, and pattern recognition. Through the binarization operation, the processing difficulty can be simplified and the processing efficiency can be improved.

[0048] In an exemplary embodiment, the extraction of the second text information corresponding to the reading audio from the second recognition result of speech recognition of the reading audio in the above-mentioned step S204 is further explained through the following steps: determining the audio signal in the second recognition result, wherein the audio signal has been preprocessed; inputting the audio feature vector corresponding to the audio signal into a trained neural network model to obtain a text sequence output by the neural network model, wherein the neural network model is trained using historical audio signals with labeled information as input samples and historical text sequences corresponding to the historical audio signals as output samples; and generating the second text information based on the text sequence.

[0049] This embodiment acquires the user's voice in real time through an audio acquisition device, and converts the voice into text using speech recognition technology, which can provide text information corresponding to the user's reading audio for the subsequent comparison process of reading error correction.

[0050] The audio collection device is, for example, a sound collection device such as a microphone, or may be other devices equipped with these sound collection devices.

[0051] In an exemplary embodiment, for an implementation scheme for generating the second text information based on the text sequence, the specific steps include: obtaining a verification result of performing a spelling check and a grammar check on the text sequence; and determining the text sequence as the second text information when the verification result indicates that the text sequence passes the spelling check and the grammar check. By verifying the second text information in this embodiment, the accuracy of the second text information is improved.

[0052] Further, it is determined that the text sequence passes the spelling check in the following manner:

[0053] For all words appearing in the text sequence, if it is determined that all the words belong to a preset vocabulary library, it is determined that the spelling check has passed.

[0054] Wherein, it is determined that the text sequence passes the grammar check in the following manner:

[0055] For all words appearing in the text sequence, if it is determined that all the words have no grammatical errors (part of speech error, word order error, subject-verb agreement error), then the verification is passed;

[0056] If it is determined that there is a word with a grammatical error among all the words, the word with a grammatical error is modified according to the error type of the grammatical error. For example, for the error type of part of speech error, the word with a grammatical error is replaced with a synonym or related vocabulary with a correct part of speech. For the error type of word order error, the word order in the sentence is changed to comply with grammatical rules.

[0057] Furthermore, considering data security, the present application may further encrypt the transmission process of the first text message and the second text message, thereby improving security.

[0058] In an exemplary embodiment, the following technical solution is further provided for determining reading prompt information based on the comparison results of the first text information and the second text information, specifically including: determining multiple groups of comparison objects from the comparison results, wherein each group of comparison objects includes at least a first comparison object and a second comparison object, wherein the first comparison object belongs to the first text information, the second comparison object belongs to the second text information, and there is a positional correspondence between the first comparison object and the second comparison object; when it is determined that a first character string corresponding to the first comparison object and a second character string corresponding to the second comparison object are inconsistent, generating an error prompt word corresponding to the second character string, and determining the error prompt word as the reading prompt information.

[0059] The position correspondence between the first comparison object and the second comparison object can be understood as, for example, for the same word, it is the first comparison object in the first text information and the second comparison object in the second text information, and both are located in the same paragraph at the same position.

[0060] In this embodiment, the first text information and the second text information may be compared to identify the user's pronunciation errors or inaccurate readings, and error correction feedback may be provided through a visual interface or voice prompts.

[0061] It should be noted that the above embodiment corresponds to the situation where the first text information is correct and the second text information is corrected based on the first text information.

[0062] The process of determining that the first text information is correct may include, when determining that the first character string corresponding to the first comparison object and the second character string corresponding to the second comparison object are inconsistent, if the first character string is consistent with the preset character string, generating an error prompt corresponding to the second character string, and determining the error prompt as the reading prompt information. The preset character string is generated based on the text information of the material to be collected.

[0063] Alternatively, if the second character string is consistent with the preset character string, an error prompt corresponding to the first character string is generated, and the error prompt is determined as the reading prompt information. In this case, the second text information is correct, and the first text information is corrected based on the second text information.

[0064] In an exemplary embodiment, a technical solution is further proposed for implementing the sending of the reading prompt information to the target object in step S206: obtaining a prompt level set for the reading prompt information; when it is determined that the prompt level is higher than the default prompt level, determining an error text from the comparison result, and modifying the display format of the error text from a first display format to a second display format; sending the error text, the standard text corresponding to the error text, and the reading prompt information to the target object, wherein the error text is displayed in the second display format and the standard text is displayed in the first display format.

[0065] The first display format is different from the second display format, but both are basic display modes in the text editing process.

[0066] In this embodiment, by displaying the error text and the standard text to the user in different display formats, the text readability can be improved, thereby improving the user experience. For example, the display format of the error text is changed from a non-highlighted display format to a highlighted display format, or the display format of the error text is changed from a non-bold display format to a bold display format, etc.

[0067] In order to better understand the process of the method for determining the above reading prompt information, the implementation method flow of the determination of the above reading prompt information is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0068] Furthermore, in one embodiment, a reading error correction system to which the above-mentioned method for determining reading prompt information can be applied is proposed. The reading error correction system includes a camera, a microphone, an image recognition module, a speech recognition module, a text comparison and error correction module, and an error correction feedback module.

[0069] The image recognition module is connected to the camera to convert the image data captured by the camera into text data. The speech recognition module is connected to the microphone to convert the sound data captured by the microphone into text data. The text comparison and error correction module is connected to the image recognition module and the speech recognition module respectively, receives the output data of the two modules, then compares and corrects the data, and sends the error correction results to the error correction feedback module. The error correction feedback module generates a corresponding feedback signal based on the error correction results and displays it to the user through output devices such as a display or speaker.

[0070] It can be seen that the above-mentioned reading error correction system realizes real-time analysis, comparison and error correction of reading content by combining image recognition technology, voice recognition technology, data processing technology and error correction feedback technology, and promptly feeds back the error correction results to users.

[0071] Further, combined with Figure 3 The data exchange and collaborative working process between the various modules of the above reading error correction system is described as follows:

[0072] Step 1: Image recognition and text extraction.

[0073] The image recognition module uses an image acquisition device such as a camera to capture an image containing the material to be collected, uses an image recognition algorithm to preprocess the captured image (such as denoising, binarization, etc.), and then extracts the text information in the image and converts it into text information in an editable text format (i.e., the first text information mentioned above).

[0074] like Figure 3 As shown, step one specifically includes the following steps:

[0075] Step S301, the camera captures the image of the material to be collected;

[0076] Step S302: image preprocessing, extracting text information.

[0077] Step 2: Speech recognition and text conversion.

[0078] The voice recognition module can capture the user's voice through a microphone or other sound pickup device, and use a voice recognition algorithm to perform feature extraction, pattern matching and other processing on the sound signal to convert the sound signal into text information (ie, the second text information).

[0079] like Figure 3 As shown, step 2 specifically includes the following steps:

[0080] Step S303, the microphone records the sound;

[0081] Step S304, recognizing the sound and obtaining text information.

[0082] Step 3: Text comparison and error correction.

[0083] The text comparison and error correction module compares the text obtained by image recognition with the text obtained by speech recognition. During the comparison process, natural language processing technology and error correction algorithms can be used to identify the differences between the two and determine whether these differences are errors. For the identified errors, they are classified and recorded according to the error type and severity.

[0084] like Figure 3 As shown, step three further specifically includes the following steps for the case where the user continues to read:

[0085] Step S305: the comparison is completed, and error correction information is generated and fed back.

[0086] Step 4: Error correction feedback.

[0087] The error correction feedback module provides error correction feedback information (equivalent to reading prompt information) to the user through a visual interface or voice prompts based on the error correction results. The error correction feedback information may include but is not limited to the indication of the error location, the display of the error content, and the correct text or pronunciation demonstration.

[0088] like Figure 3 As shown, step 4 specifically includes the following steps:

[0089] Step S306: display the error correction information to the user in an audio-visual manner.

[0090] Through the above steps, the user's voice and image are captured in real time in combination with image recognition technology and speech recognition technology, improving the real-time nature of data, thereby achieving real-time error correction of collected materials. In addition, the application can also use advanced encryption technology and data protection measures during the reading and error correction process to ensure that user data is not leaked or abused.

[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0092] Figure 4 is a structural block diagram of a device for determining reading prompt information according to an embodiment of the present application, such as Figure 4 As shown, including:

[0093] A first extraction module 42 is used to obtain a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extract first text information corresponding to the material to be acquired from a first recognition result of image recognition performed on the reading image;

[0094] The second extraction module 44 is used to obtain the reading audio obtained by the audio collection device through the audio collection of the target object, and extract the second text information corresponding to the reading audio from the second recognition result of the speech recognition of the reading audio;

[0095] The determination module 46 is used to determine reading prompt information according to the comparison result of the first text information and the second text information, and send the reading prompt information to the target object.

[0096] Through the above-mentioned device, a reading image obtained by an image acquisition device through image acquisition of a to-be-collected material is obtained, and first text information corresponding to the to-be-collected material is extracted from a first recognition result of image recognition of the reading image; a reading audio obtained by an audio acquisition device through audio acquisition of a target object is obtained, and second text information corresponding to the reading audio is extracted from a second recognition result of voice recognition of the reading audio; reading prompt information is determined according to a comparison result of the first text information and the second text information, and the reading prompt information is sent to the target object. By combining image recognition and voice recognition technology, the user's pronunciation is compared with the to-be-collected material, so that the user's pronunciation errors can be corrected through reading prompt information during the reading process, thereby improving the accuracy of error correction, helping to improve the user's reading ability and language level, and thereby solving the technical problem of how to provide accurate reading prompt information during the reading process in the related technology, thereby improving the accuracy of reading prompt information.

[0097] In an exemplary embodiment, the above-mentioned first extraction module 42 is also used to: perform image processing on the recognition image in the first recognition result to obtain a processed image, wherein the difficulty of information extraction of the processed image is lower than the difficulty of information extraction of the reading image; extract all texts from the processed image, and generate the first text information based on all the texts, wherein the first text information supports editing operations.

[0098] In an exemplary embodiment, the first extraction module 42 is further used to: perform image denoising on the identified image using an image filtering method to obtain a filtered image; perform image enhancement on the filtered image to obtain an enhanced image; divide the image pixels of the enhanced image according to the pixel value to obtain foreground pixels and background pixels, so as to obtain a binary image of the enhanced image based on the foreground pixels and the background pixels, wherein the pixel value of the foreground pixel is greater than or equal to a preset pixel threshold, and the pixel value of the background pixel is less than the preset pixel threshold; and save the binary image in a preset format to obtain the processed image.

[0099] In an exemplary embodiment, the above-mentioned second extraction module 44 is also used to further illustrate the extraction of second text information corresponding to the reading audio from the second recognition result of speech recognition of the reading audio through the following steps: determining the audio signal in the second recognition result, wherein the audio signal has completed preprocessing; inputting the audio feature vector corresponding to the audio signal into a trained neural network model to obtain a text sequence output by the neural network model, wherein the neural network model is trained using historical audio signals with labeled information as input samples and historical text sequences corresponding to the historical audio signals as output samples; and generating the second text information based on the text sequence.

[0100] In an exemplary embodiment, the second extraction module 44 is further used to: obtain the verification results of spelling and grammar checking of the text sequence; and when it is determined that the verification results indicate that the text sequence passes the spelling and grammar checking, determine the text sequence as the second text information.

[0101] In an exemplary embodiment, the above-mentioned determination module 46 is also used to: determine multiple groups of comparison objects from the comparison results, wherein each group of comparison objects includes at least a first comparison object and a second comparison object, wherein the first comparison object belongs to the first text information, the second comparison object belongs to the second text information, and there is a position correspondence between the first comparison object and the second comparison object; when it is determined that the first character string corresponding to the first comparison object and the second character string corresponding to the second comparison object are inconsistent, generate an error prompt word corresponding to the second character string, and determine the error prompt word as the reading prompt information.

[0102] In an exemplary embodiment, the above-mentioned determination module 46 is also used to: obtain the prompt level set for the reading prompt information; when it is determined that the prompt level is higher than the default prompt level, determine the error text from the comparison result, and change the display format of the error text from the first display format to the second display format; send the error text, the standard text corresponding to the error text and the reading prompt information to the target object, wherein the error text is displayed in the second display format and the standard text is displayed in the first display format.

[0103] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0104] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0105] S1, obtaining a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extracting first text information corresponding to the material to be acquired from a first recognition result of image recognition performed on the reading image;

[0106] S2, obtaining a reading audio obtained by an audio collection device through audio collection of a target object, and extracting second text information corresponding to the reading audio from a second recognition result of speech recognition of the reading audio;

[0107] S3: Determine reading prompt information according to a comparison result of the first text information and the second text information, and send the reading prompt information to the target object.

[0108] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0109] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0110] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0111] S1, obtaining a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extracting first text information corresponding to the material to be acquired from a first recognition result of image recognition performed on the reading image;

[0112] S2, obtaining a reading audio obtained by an audio collection device through audio collection of a target object, and extracting second text information corresponding to the reading audio from a second recognition result of speech recognition of the reading audio;

[0113] S3: Determine reading prompt information according to a comparison result of the first text information and the second text information, and send the reading prompt information to the target object.

[0114] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0115] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0116] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0117] The embodiments of the present application also provide a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.

[0118] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0119] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0120] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining reading prompt information, characterized in that: include: Acquire a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extract first text information corresponding to the material to be acquired from a first recognition result of image recognition of the reading image; Acquire a reading audio obtained by performing audio collection on a target object by an audio collection device, and extract second text information corresponding to the reading audio from a second recognition result of performing speech recognition on the reading audio; Reading prompt information is determined according to a comparison result between the first text information and the second text information, and the reading prompt information is sent to the target object.

2. The method for determining reading prompt information according to claim 1, characterized in that: Extracting first text information corresponding to the material to be collected from a first recognition result of image recognition of the reading image includes: Performing image processing on the recognition image in the first recognition result to obtain a processed image, wherein the difficulty of extracting information from the processed image is lower than the difficulty of extracting information from the read image; All characters in the processed image are extracted, and the first text information is generated according to all the characters, wherein the first text information supports editing operations.

3. The method for determining reading prompt information according to claim 2, characterized in that: Performing image processing on the recognition image of the first recognition result to obtain a processed image includes: Perform image denoising on the recognition image using an image filtering method to obtain a filtered image; Performing image enhancement on the filtered image to obtain an enhanced image; Dividing the image pixels of the enhanced image according to the pixel values ​​to obtain foreground pixels and background pixels, so as to obtain a binary image of the enhanced image based on the foreground pixels and the background pixels, wherein the pixel value of the foreground pixels is greater than or equal to a preset pixel threshold, and the pixel value of the background pixels is less than the preset pixel threshold; The binarized image is saved in a preset format to obtain the processed image.

4. The method for determining reading prompt information according to claim 1, characterized in that: Extracting second text information corresponding to the reading audio from a second recognition result of voice recognition of the reading audio includes: Determining an audio signal in the second recognition result, wherein the audio signal has been pre-processed; Inputting the audio feature vector corresponding to the audio signal into a trained neural network model to obtain a text sequence output by the neural network model, wherein the neural network model is trained using a historical audio signal with labeled information as an input sample and a historical text sequence corresponding to the historical audio signal as an output sample; The second text information is generated based on the text sequence.

5. The method for determining reading prompt information according to claim 4, characterized in that: Generating the second text information based on the text sequence includes: Obtaining spelling and grammar checking results for the text sequence; In a case where it is determined that the verification result indicates that the text sequence passes the spelling check and the grammar check, the text sequence is determined as the second text information.

6. The method for determining reading prompt information according to claim 1, characterized in that: Determining reading prompt information according to a comparison result of the first text information and the second text information includes: Determine a plurality of groups of comparison objects from the comparison results, wherein each group of comparison objects includes at least a first comparison object and a second comparison object, wherein the first comparison object belongs to the first text information, the second comparison object belongs to the second text information, and there is a position correspondence relationship between the first comparison object and the second comparison object; When it is determined that the first character string corresponding to the first comparison object and the second character string corresponding to the second comparison object are inconsistent, an error prompt word corresponding to the second character string is generated, and the error prompt word is determined as the reading prompt information.

7. The method for determining reading prompt information according to claim 1, characterized in that: Sending the reading prompt information to the target object includes: Obtaining a prompt level set for the reading prompt information; When it is determined that the prompt level is higher than the default prompt level, an error text is determined from the comparison result, and the display format of the error text is changed from a first display format to a second display format; the error text, the standard text corresponding to the error text, and the reading prompt information are sent to the target object, wherein the error text is displayed in the second display format, and the standard text is displayed in the first display format.

8. A device for determining reading prompt information, characterized in that: include: A first extraction module is used to obtain a reading image obtained by an image acquisition device through image acquisition of a material to be acquired, and extract first text information corresponding to the material to be acquired from a first recognition result of image recognition performed on the reading image; A second extraction module is used to obtain a reading audio obtained by an audio collection device through audio collection of a target object, and extract second text information corresponding to the reading audio from a second recognition result of speech recognition of the reading audio; The determination module is used to determine the reading prompt information according to the comparison result of the first text information and the second text information, and send the reading prompt information to the target object.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • Voice information feedback method, device and apparatus, server and storage medium

    CN111524507A

  • Speech recognition neural network model and training method thereof, and speech recognition method

    CN112687263A

  • Method and device for assisting reading, server and storage medium

    CN114186021A

  • Classroom composition exercise intelligent reviewing method and system

    CN118153548A