A prompting method, an electronic device and a computer readable storage medium

By acquiring images for text recognition and using target element numbering prompts, the problems of writing errors and inability to write text are solved, thus improving writing efficiency.

CN114973256BActive Publication Date: 2026-02-13MIGU DIGITAL MEDIA CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210531105.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2026-02-13
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

In existing technologies, methods for correcting writing errors and finding characters that cannot be written are time-consuming, resulting in low writing efficiency.

Method used

By acquiring images and performing text recognition, the target text and its associated correct or incorrect text can be identified, and prompts can be provided using the target element numbers of the text, thereby improving writing efficiency.

Benefits of technology

It enables quick correction of writing errors and finding characters that cannot be written, thus improving writing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114973256B_ABST
    Figure CN114973256B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of information processing, and provides a prompting method, an electronic device and a computer readable storage medium, to solve the problem of low writing efficiency. The method comprises the following steps: acquiring a first image; performing character recognition on the first image to obtain first characters; determining target characters based on the first characters, wherein the target characters comprise characters associated with the first characters and / or correct characters corresponding to error characters in the first characters; and prompting the target characters according to the number of target elements of the target characters. The number of target elements of the characters associated with the first characters and / or the number of target elements of the correct characters corresponding to the error characters in the first characters can be used to prompt the characters associated with the first characters and / or the correct characters corresponding to the error characters in the first characters, so that the user writes the characters associated with the first characters and / or the correct characters corresponding to the error characters in the first characters, and the writing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of information processing, and in particular to a prompting method, an electronic device and a computer readable storage medium. BACKGROUND

[0002] In the process of writing content, it is inevitable to make writing errors or encounter characters that cannot be written. In this case, the correct characters need to be corrected for the wrong characters or the characters that cannot be written need to be found.

[0003] At present, the common way is to find the dictionary to determine the correct characters of the wrong characters and the characters that cannot be written. However, this way is time-consuming and easy to cause low efficiency of writing correct characters and characters that cannot be written. SUMMARY

[0004] The embodiments of the present application provide a prompting method, an electronic device and a computer readable storage medium to solve the problem of low efficiency of character writing.

[0005] In order to solve the above technical problems, the present application is implemented as follows:

[0006] In a first aspect, the embodiments of the present application provide a prompting method, comprising:

[0007] obtaining a first image;

[0008] performing character recognition on the first image to obtain first characters;

[0009] determining target characters based on the first characters, the target characters including characters associated with the first characters and / or correct characters corresponding to wrong characters in the first characters;

[0010] prompting the target characters according to the number of target elements of the target characters.

[0011] In a second aspect, the embodiments of the present application provide a prompting device, comprising:

[0012] a first image obtaining module configured to obtain a first image;

[0013] a first recognition module configured to perform character recognition on the first image to obtain first characters;

[0014] a character determining module configured to determine target characters based on the first characters, the target characters including characters associated with the first characters and / or correct characters corresponding to wrong characters in the first characters;

[0015] a prompting module configured to prompt the target characters according to the number of target elements of the target characters.

[0016] In a third aspect, an embodiment of the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the prompting method as described above when executing the computer program.

[0017] In a fourth aspect, an embodiment of the present application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executable on a processor to implement the steps of the prompting method as described above.

[0018] In the prompting method of the embodiment, the first text associated text and / or the correct text corresponding to the error text in the first text can be determined by the first text recognized from the first image, and the first text associated text and / or the correct text corresponding to the error text in the first text can be prompted by the number of the target element of the first text associated text and / or the number of the target element of the correct text corresponding to the error text in the first text, so as to improve the writing efficiency of the user for the first text associated text and / or the correct text corresponding to the error text in the first text. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0020] Figure 1 is one of the flowcharts of the prompting method provided by the embodiments of the present application;

[0021] Figure 2 is the second flowchart of the prompting method provided by the embodiments of the present application;

[0022] Figure 3 is the third flowchart of the prompting method provided by the embodiments of the present application;

[0023] Figure 4 is the module schematic diagram of the prompting device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0024] The technical solutions of the embodiments of the present application will be described clearly and completely in the following with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0025] Referring to Figure 1 , Figure 1 is a flowchart of a prompting method provided by an embodiment of the present application, which can be executed by an electronic device, which can be a terminal device or a server device, as shown in Figure 1 , comprising the following steps:

[0026] Step 101: obtaining a first image.

[0027] In the writing process, the writing content can be photographed to obtain a first image. It can be understood that the first image photographed is obtained. In an example, the first image can be obtained by photographing through a device with a photographing function, which can be, but is not limited to, a camera, a mobile device, etc.

[0028] Step 102: performing character recognition on the first image to obtain first characters.

[0029] The first characters are obtained by performing character recognition on the first image by using a character recognition technology, for example, an Optical Character Recognition (OCR) technology.

[0030] Step 103: determining target characters based on the first characters, the target characters including characters associated with the first characters and / or correct characters corresponding to incorrect characters in the first characters.

[0031] In the writing process, it is inevitable to encounter situations that characters cannot be written or characters are written incorrectly. After the first characters are obtained by recognizing the first image, the characters associated with the first characters and / or the correct characters corresponding to the incorrect characters in the first characters can be determined by using the recognized first characters. The characters associated with the first characters can be understood as characters that the user cannot write based on the written first characters.

[0032] Step 104: prompting the target characters according to the number of target elements of the target characters.

[0033] In an example, the target element can be any at least one of the plurality of character elements, for example, the plurality of character elements can include at least one of the following: a radical, an initial, a final, and a pinyin. In an example, the number can be a multi-ary number, for example, can be but not limited to a binary number, a decimal number, etc. After determining the target character, the target character can be prompted according to the number of the target element of the target character. Even if the user cannot write the character associated with the first character and / or the character with a writing error in the first character, the character associated with the first character and / or the correct character corresponding to the error character in the first character can be prompted by the number of the target element of the character associated with the first character and / or the number of the target element of the correct character corresponding to the error character in the first character, so as to facilitate the user to write the character associated with the first character and / or the correct character corresponding to the error character in the first character, and improve the writing efficiency.

[0034] In the prompting method of the present embodiment, the character associated with the first character and / or the correct character corresponding to the error character in the first character can be determined by the first character recognized from the first image. The character associated with the first character and / or the correct character corresponding to the error character in the first character can be prompted by the number of the target element of the character associated with the first character and / or the number of the target element of the correct character corresponding to the error character in the first character, so as to facilitate the user to write the character associated with the first character and / or the correct character corresponding to the error character in the first character, and improve the writing efficiency.

[0035] Referring to Figure 2 In an embodiment, before the step 104 of prompting the target character according to the number of the target element of the target character, the method further includes: encoding the plurality of character elements according to a preset number rule to obtain the numbers of the plurality of character elements.

[0036] The step 104 of prompting the target character according to the number of the target element of the target character includes:

[0037] The step 1041 of obtaining the number of the target element of the target character from the numbers of the plurality of character elements includes:

[0038] The step 1042 of prompting the target character according to the number of the target element of the target character.

[0039] That is, in the embodiment, the plurality of character elements can be encoded in advance to obtain the number of each character element, and subsequently, in the process of prompting the target character, the number of the target element of the target character can be obtained from the numbers of the plurality of character elements, and the target character is prompted by the number of the target element of the target character, so as to improve the writing efficiency of the user in writing the character associated with the first character and / or the correct character corresponding to the error character in the first character.

[0040] In one embodiment, based on the first character, the target character is determined, comprising:

[0041] Obtaining voice information of the user;

[0042] Based on the voice information, the character associated with the first character is determined.

[0043] After the first image is recognized to obtain the written first character, the user may encounter a character that cannot be written, and in the embodiment, the user can be reminded of the character that cannot be written through the voice mode to determine the character associated with the first character, that is, the voice information input by the user is obtained, the voice information is recognized, and the character associated with the first character is determined by using the voice recognition result, so as to determine the character that cannot be written by the user. For example, the user needs to write “Wanglai Wu Baiding”, and writes the first character “Wanglai Wu Baiding”, and is not sure whether the latter is “Ding” or “Ding”. The user can call the auxiliary program through voice, input voice information such as “Wanglai Wu Baiding Ding character what to write”, and recognize the voice information. The character associated with “Wanglai Wu Baiding” can be determined by the voice recognition result, that is, the “Ding” character can be determined. Subsequently, the character associated with the first character can be prompted by the number of the component of the character, so as to improve the writing efficiency of the character associated with the first character.

[0044] In one embodiment, based on the first character, the target character is determined, comprising:

[0045] Finding a text matched with the first character in a preset text database;

[0046] According to the matched text, the character associated with the first character is determined.

[0047] In this embodiment, the preset text database can include multiple texts, the first character can be matched in the preset text database, the text matched with the first character is determined, and the character that the user cannot write is determined through the matched text, i.e., the character associated with the first character is determined. For example, the user needs to write "Wanglai Wu Baiding", writes the first character "Wanglai Wu Baiding", and the character "Ding" cannot be written. The text matched with "Wanglai Wu Baiding" can be searched in the preset text database, for example, the matched text "Wanglai Wu Baiding" is searched, and thus it can be determined that the character associated with "Wanglai Wu Baiding" is "Ding". Subsequently, the character associated with the first character can be prompted through the number of the character associated with the first character, so as to write the character associated with the first character, and improve the character writing efficiency.

[0048] It should be noted that the correct character corresponding to the error character of the first character can be determined through matching of the preset text database, i.e., the correct character corresponding to the error character of the first character can be obtained according to the matched text.

[0049] In one embodiment, the method further comprises

[0050] obtaining an image sequence, the image sequence including multiple second images;

[0051] performing character recognition on each second image to obtain text content of each second image;

[0052] comparing the text content of each adjacent image in the multiple second images to obtain modification content;

[0053] recording the modification content.

[0054] In this embodiment, not only can the character associated with the first character in the first image and / or the correct character corresponding to the error character in the first character be prompted to write the character associated with the first character and / or correct the error character in the first character, but also in the writing process, it is inevitable that the writing content needs to be modified. In the writing process, multiple second images can be continuously captured and character recognition can be performed, the text content of each adjacent image in the multiple second images is compared to determine the modification content, and the modification content is recorded for subsequent viewing of the modification record.

[0055] In an embodiment, after obtaining the modified content, statistics can be performed based on the modified content to obtain an error content set, the number of times of modification of content in the error content set exceeding a preset number of times and / or the number of characters exceeding a preset number, and a test question can be output based on the error content set, i.e., a test of related content is performed to help the user reduce the error situation. For example, for content with an error number exceeding a predetermined number of times in each month, a test question is generated to test the user, and for content with an error number exceeding a predetermined number of times in a certain hour period of each day, a test question is generated to be tested in the time period. The test mode can be in the form of voice content, which allows the user to write the content again by using the writing pen, and the written content is detected, and finally a score sheet is generated.

[0056] In an embodiment, after obtaining the image sequence, the method further includes:

[0057] generating a target video and / or a dynamic picture based on the image sequence;

[0058] outputting the target video and / or the dynamic picture.

[0059] In the embodiment, the image sequence can be used to generate the target video and / or the dynamic picture, and the target video and / or the dynamic picture is outputted, so that the user can view the writing process of the user and retrieve the deleted content.

[0060] In an embodiment, the target text is prompted according to the number of the target element of the target text, including:

[0061] the number is prompted by vibration and / or flashing;

[0062] wherein the number of vibrations and / or the number of flashes are the same as the number of digits of the number.

[0063] The number can be prompted by vibration and / or flashing, and the vibration and / or flashing prompt is related to the number of the target element of the target text, i.e., the number of vibrations and / or the number of flashes are the same as the number of digits of the number. For example, the number is 8 digits, and the number of vibrations and / or the number of flashes is 8 times in the prompting process.

[0064] In the embodiment, the number is prompted by vibration and / or flashing, and the number of vibrations and / or the number of flashes are the same as the number of digits of the number, which can improve the accuracy of the prompt and improve the prompt effect of the target text.

[0065] In an embodiment, the number is prompted by vibration and / or flashing, including:

[0066] determining a matching target prompt intensity level sequence according to the number;

[0067] prompting by means of vibration and / or flashing light based on the target prompt intensity level sequence;

[0068] wherein the number is an N-bit number, N is a positive integer, the length of the target prompt intensity level sequence is N, different bit values in the number correspond to different intensity levels, and the bit values in the number are positively correlated with the intensity levels.

[0069] It can be understood that in the present embodiment, the intensity of vibration and / or flashing light each time is related to the bit value of the number, and the value of each bit determines the intensity of the corresponding vibration and / or flashing light, for example, the 8-bit number 11000011 (8-bit binary number) corresponds to the target prompt intensity level sequence {strong-weak-weak-weak-weak-weak-strong-strong}, and the intensity of 8 times of vibration and / or flashing light is strong-weak-weak-weak-weak-weak-strong-strong.

[0070] That is, in the present embodiment, the target prompt intensity level sequence is related to the number of the target element of the target text, that is, the intensity of vibration and / or flashing light is related to the number of the target element of the target text, so that the prompting effect can be improved.

[0071] In one embodiment, prompting the target text according to the number of the target element of the target text can be prompting the target text according to the number of the target element of the target text in the prompting mode, and in the error correction mode, the above method can further include: in the case that the first text includes an error text, prompting the user by means of vibration to write the error text, and displaying the correct text corresponding to the error text in the first text, so as to facilitate the user to write the correct text.

[0072] The process of the above prompting method will be described in detail in specific embodiments as follows: Figure 3 The prompting method flow of the present embodiment is as follows:

[0073] The camera captures the written content to obtain a captured image;

[0074] Text recognition is performed on the captured image, and error detection is performed on the recognized text;

[0075] In the case that an error text is detected, the corresponding text is matched from the preset text database, and the correct text corresponding to the error text in the recognized text is determined according to the matched text;

[0076] Selecting the working mode, that is, selecting the prompting mode or the error correction mode;

[0077] In the case that the error correction mode is selected, the user can be prompted by means of vibration to write the error text, and the correct text corresponding to the error text in the first text is displayed;

[0078] In the case that the prompting mode is selected, the following process can be performed:

[0079] obtaining a radical of the correct character corresponding to the error character and a number of the radical;

[0080] selecting a vibration prompt mode, a flash prompt mode, or a vibration and flash prompt mode;

[0081] In the case of selecting the vibration prompt mode, determining a target prompt intensity level sequence matched according to the number of the radical of the correct character, and performing vibration prompt according to the determined target prompt intensity level sequence, in the case of selecting the flash prompt mode, determining a target prompt intensity level sequence matched according to the number of the radical of the correct character, and performing flash prompt according to the determined target prompt intensity level sequence, and in the case of selecting the vibration and flash prompt mode, determining a target prompt intensity level sequence matched according to the number of the radical of the correct character, and performing vibration and flash prompt according to the determined target prompt intensity level sequence.

[0082] For example, during the writing process, the writing content can be captured by the camera on the terminal device, and the captured image can be uploaded to the server, and the server can determine the target character and obtain the number of the target element of the target character, etc. Alternatively, the terminal device can execute each step of the above method. For example, when a user is practicing writing or writing some articles such as famous works silently, some characters or sentences may not be consistent with the original text. The captured image can be uploaded to the server, and the server can perform character recognition on the captured image, and match the recognized character (i.e. the content written by the user) with the preset text database in the cloud. For example, when the user writes “harrow at noon”, the server can match the text “The Farmer” that the user is writing. After the text is matched successfully, the content written by the user is compared with the matched text in real time. When it is detected that there is an error in the content, it indicates that the content written by the user is incorrect. The correct character corresponding to the error character can be obtained, and the correct character is sent to the terminal device. The terminal device can start the error correction mode. When the user starts the error correction mode, the user is reminded of the error in the written content by vibration, and the correct character is displayed. The user can view the displayed correct character through the display device to determine the error in the written content, thereby facilitating the user to correct the error.

[0083] For the prompt scene, for example, the Xinhua Dictionary includes 201 radicals, according to the index of the radicals in the dictionary, the radicals with 1 stroke include,,,,,,,,, etc., numbered as 1-8, because 201 radicals need 8-bit binary identification, so the number can be converted to binary number, respectively 00000001, 00000010, 000000011, 00000100, 00000101, 00000110, 00000111, 000010000, the above numbering process is performed on each radical, so that the binary number of each radical can be obtained. The terminal device can be provided with a vibrator and / or a flash lamp, which can vibrate and / or flash at two intensities, weak vibration and / or weak flash correspond to the middle value 0 in the number, strong vibration and / or strong flash correspond to the middle value 1 in the number, for example, the radical " " corresponds to the vibration and / or flash intensity "weak weak weak weak weak weak weak strong". When the user writes, if he encounters a word he cannot write, he can determine the word he cannot write by any of the following two ways:

[0084] By association: for example, after the user writes " " in the poem " ", the last word cannot be written, in this case, the system matches the last word to " ", and the radical of " " is " ", the corresponding binary number is 00000101, the terminal device can vibrate and / or flash in the form of "weak weak weak weak weak strong weak strong", the user feels the vibration and / or flash, and through the prompt of vibration and / or flash, it is clear that the last word is the word with the radical " ", at this time, to some extent, it helps the user to associate the word " ".

[0085] Voice recognition: when the user wants to write " ", he is not sure whether the last " " is " " or " ", he can call the auxiliary program by voice, for example, input voice information: " ", at this time, the system recognizes the user's voice, finds the " ", and gets the number corresponding to the radical of " ", which is 00000101, then vibrates and / or flashes in the form of "weak weak weak weak weak strong weak strong" to prompt the user.

[0086] In the application of the embodiment prompt method in the eraser scenario, the terminal device can be placed on the eraser, and the camera of the terminal device is used to scan the written content in real time. When the text is wiped using the eraser, the camera uploads the scanned image to the server in real time. After receiving the uploaded image, the server sorts the n (an integer greater than 1) images uploaded by the same device according to the upload time and marks 0-n, and performs OCR recognition on the images. Then, the contents recognized by the OCR of the i-th (i is a positive integer and less than n-1) image and the i+1-th image are compared, such as the content recognized by the i-th image is text_i, and the content recognized by the i+1-th image is text_i+1. Each character in text_i is compared with text_i+1 until the comparison is complete, so that the wiping content can be determined, recorded and stored in the database. The server analyzes the wiping content stored in the database, such as sorting by the number of deleted characters to help users find which content is commonly mistaken during handwriting practice, or analyze the influence of different time periods and different places on the written content.

[0087] In the application of the embodiment prompt method in the writing pen scenario, the speed and shaking of the writing pen are detected in real time through the gyroscope and the accelerator of the terminal device. The gyroscope can detect whether the writing pen is shaking, and the angle distance of translation can be calculated. The acceleration sensor can detect the direction of the shaking of the writing pen. When the shaking direction of the writing pen is detected to be back and forth for two times or more and the translation angle is greater than 20 degrees or more, it is determined that the writing pen is being used to erase the content. When the situation of erasing the content is detected, the written content is scanned through the camera, and the scanned image can be uploaded to the server. When the user's writing is detected to be normal, the written content can also be scanned and the scanned image can be uploaded. After the server receives the uploaded image, the images uploaded by the same device are sorted according to the upload time and marked 0-n, and the content is subjected to OCR recognition. For the erased text, there are generally two results of recognition, one is that the text cannot be recognized, and the other is that the text is recognized as another text. The recognized text is numbered from 0 to n, and then the OCR-recognized content of the ith image and the i+1th image is compared. For example, the content recognized by the ith image is text_i, and the content recognized by the i+1th image is text_i+1. Each character in text_i is compared with text_i+1 until the comparison is complete. In this case, there are two possible representations that the text is deleted. The first case is that the text cannot be found in text_i+1, which indicates that the text has been deleted. Until the comparison is complete, the deleted text is recorded and stored in the database. The second case is that the text is found in text_i+1. The text before and after the text in text_i is different from text_i+1, and the number of the text in text_i is less than the number of the text in text_i+1, which indicates that the text has been deleted.

[0088] In the application of the embodiment prompt method in the recording creation scenario, when the user writes or draws during the process, it is inevitable to erase the wrong or unsatisfactory content. After several times of erasing, the previously created content is deleted, and it is difficult to find back the deleted text or to make a certain part of the drawing. At this time, the user can start the recording mode of the terminal device. After the user starts the recording mode, the terminal device can be placed on the eraser. When the user's behavior of erasing the text is detected, the image is automatically captured, and the time, position and other information are uploaded to the server. The user can view the images of the entire creation process in time sequence through the display device, and can find back the content deleted by himself at any time. At the same time, the server can generate a video or GIF (Graphics Interchange Format) dynamic picture from all the images captured during the creation process, so as to be viewed and shared by the user.

[0089] Referring to Figure 4 A prompting device 400 comprises:

[0090] A first image acquisition module 401 is configured to acquire a first image.

[0091] A first recognition module 402 is configured to perform text recognition on the first image to obtain first text.

[0092] A text determination module 403 is configured to determine target text based on the first text, the target text comprising text associated with the first text and / or correct text corresponding to erroneous text in the first text.

[0093] A prompting module 404 is configured to prompt the target text according to the number of target elements of the target text.

[0094] In an embodiment, the device 400 further comprises:

[0095] An encoding module is configured to, before the prompting module 404 prompts the target text according to the number of target elements of the target text, encode a plurality of text elements according to a preset numbering rule to obtain the number of the plurality of text elements.

[0096] The prompting module 404 comprises:

[0097] A number acquisition module is configured to acquire the number of target elements of the target text from the number of the plurality of text elements.

[0098] A text prompting module is configured to prompt the target text according to the number of target elements of the target text.

[0099] In an embodiment, the text determination module 403 comprises:

[0100] A voice acquisition module is configured to acquire voice information of a user.

[0101] A first text determination module is configured to determine text associated with the first text based on the voice information.

[0102] In an embodiment, the text determination module 403 comprises:

[0103] A matching module is configured to find text matching the first text in a preset text database.

[0104] A second text determination module is configured to determine text associated with the first text according to the matching text.

[0105] In an embodiment, the device 400 further comprises

[0106] The second image acquisition module is configured to acquire an image sequence, the image sequence comprising a plurality of second images;

[0107] The second recognition module is configured to perform text recognition on each second image to obtain text content of each second image.

[0108] The comparison module is configured to compare the text content of each adjacent image in the plurality of second images to obtain modification content.

[0109] The recording module is configured to record the modification content.

[0110] In an embodiment, the apparatus 400 further comprises:

[0111] The generation module is configured to generate a target video and / or a dynamic picture based on the image sequence.

[0112] The output module is configured to output the target video and / or the dynamic picture.

[0113] In an embodiment, the prompt module is specifically configured to:

[0114] The prompt is performed in the form of vibration and / or flashing according to the number.

[0115] The number of vibrations and / or the number of flashes are the same as the number of digits of the number.

[0116] In an embodiment, the prompt module comprises:

[0117] The intensity determination module is configured to determine a target prompt intensity level sequence matched with the number.

[0118] The prompt submodule is configured to perform the prompt in the form of vibration and / or flashing based on the target prompt intensity level sequence.

[0119] The number is an N-digit number, N is a positive integer, the length of the target prompt intensity level sequence is N, different digits in the number correspond to different intensity levels, and the digits in the number are positively correlated with the intensity levels.

[0120] The technical features of the prompt apparatus 400 correspond to the technical features of the above-described prompt method applicable to the first terminal, and each process of the prompt method is implemented by the prompt apparatus 400 and the same effect can be achieved. To avoid repetition, no further description is given here.

[0121] The embodiment of the present application also provides an electronic device comprising a processor and a memory, the memory storing a computer program capable of running on the processor, the computer program being executed by the processor to implement each process in the above-described prompt method embodiment and achieve the same technical effect. To avoid repetition, no further description is given here.

[0122] The embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, the computer program is executed by a processor to realize each process of the prompting method embodiment and achieve the same technical effects, and details are not repeated here.

[0123] The computer readable storage medium is, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

[0124] It should be noted that in this paper, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0125] From the above description of the embodiments, those skilled in the art can clearly understand that the above embodiment method can be realized by software plus a general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solutions of the present application 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 plurality of instructions for making an electronic device (which can be a mobile phone, computer, server, air conditioner or network device) execute the method of each embodiment of the present application.

[0126] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, and the above specific embodiments are only illustrative and not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope of protection of the claims, which all belong to the protection of the present application.

Claims

1. A prompting method characterized by comprising: The method comprises: acquiring a first image; performing character recognition on the first image to obtain first characters; determining target characters based on the first characters, the target characters comprising characters associated with the first characters and / or correct characters corresponding to incorrect characters in the first characters; prompting the target characters according to the numbers of target elements of the target characters; before the prompting, the method further comprises: encoding a plurality of character elements according to a preset numbering rule to obtain numbers of the plurality of character elements; wherein the prompting the target characters according to the numbers of target elements of the target characters comprises: acquiring the numbers of target elements of the target characters from the numbers of the plurality of character elements; prompting the target characters according to the numbers of target elements of the target characters; the prompting the target characters according to the numbers of target elements of the target characters comprises: determining a target prompting intensity level sequence matched with the numbers according to the numbers; prompting by means of vibration and / or flashing based on the target prompting intensity level sequence; wherein the number of vibration times and / or the number of flashing times are the same as the number of digits in the numbers, wherein the numbers are N-digit numbers, N is a positive integer, the length of the target prompting intensity level sequence is N, different digits in the numbers correspond to different intensity levels, and the digits in the numbers are positively correlated with the intensity levels.

2. The method of claim 1, wherein, The determining the target characters based on the first characters comprises: acquiring voice information of a user; determining characters associated with the first characters based on the voice information.

3. The method of claim 1, wherein, The determining the target characters based on the first characters comprises: searching for a text matched with the first characters in a preset text database; determining characters associated with the first characters based on the matched text.

4. The method of claim 1, wherein, The method further comprises acquiring an image sequence, the image sequence comprising a plurality of second images; performing character recognition on each second image to obtain text content of each second image; comparing the text content of each adjacent image in the plurality of second images to obtain modification content; recording the modification content.

5. The method of claim 4, wherein, After the acquiring the image sequence, the method further comprises: generating a target video and / or a dynamic picture based on the image sequence; outputting the target video and / or the dynamic picture.

6. An electronic device comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps in the prompting method according to any one of claims 1-5 when executing the computer program. 7.A computer readable storage medium, the computer readable storage medium storing a computer program, wherein the computer program is executable on a processor to implement the steps in the prompting method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Voice input method, device, computer equipment and medium

    CN107785021A

  • Method for auxiliary correction of text, terminal and computer-readable medium

    CN107885345A

  • Prompting method based on character recognition and electronic equipment

    CN111090989A