Image processing method and device of dictionary pen, storage medium and electronic equipment
By collecting and processing images in real time on the dictionary pen, and automatically adjusting functions according to the scene selected by the user, the problem of cumbersome function switching in the existing technology is solved, and the usage efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410890988.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-15
AI Technical Summary
Existing dictionary pens have cumbersome steps when switching between different functions. Users need to exit the current function before opening another function, resulting in a poor user experience.
By displaying a graphical user interface on the display screen of the dictionary pen, responding to the shooting function controls, collecting the current picture in real time, and determining the corresponding processing function according to the target usage scenario selected by the user, automatically adjusting the shooting mode and rotating the image to match the posture of the device, it is achieved Target image processing.
It improves the efficiency of switching different functions of the dictionary pen, simplifies the user operation process, and enables users to flexibly select functions and preview and process images in real time.
Smart Images

Figure CN118779048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of dictionary pens, and in particular to an image processing method, device, storage medium and electronic device of a dictionary pen. Background Art
[0002] In the prior art, a dictionary pen is used as a learning tool for users, and learning software can be installed thereon. Through the learning software, images can be photographed and processed by the learning software, so as to translate, ask questions, etc. the photographed images.
[0003] However, when using the functions of the learning software, if you want to switch between different functions, you need to exit the current function first, then open another function, and then call the camera to shoot and recognize the picture under that function, which makes the switching steps cumbersome when using different functions of the dictionary pen. Summary of the invention
[0004] The present application provides an image processing method, device, storage medium and electronic device for a dictionary pen to solve the technical problem of complicated switching steps when using different functions of the dictionary pen.
[0005] In a first aspect, the present application provides an image processing method for a dictionary pen, wherein a first graphical user interface is displayed on a display screen of the dictionary pen, and a shooting function control is displayed on the first graphical user interface, the method comprising: in response to triggering the shooting function control, entering the shooting function of the dictionary pen, capturing a current picture through a camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface of the dictionary pen; when displaying the current picture, determining a target usage scenario of the current picture selected by a user, wherein the target usage scenario is used to determine a processing function of a target image obtained by capturing the current picture; determining a target processing function of the dictionary pen that matches the target usage scenario; after capturing the current picture to obtain the target image, entering the target processing function, and processing the target image by the target processing function.
[0006] As an optional example, the above-mentioned response to triggering the above-mentioned shooting function control to enter the shooting function of the above-mentioned dictionary pen, capturing the current picture through the camera of the above-mentioned dictionary pen, and displaying the above-mentioned current picture in real time on the above-mentioned first graphical user interface includes: when the above-mentioned shooting function is a full-screen shooting mode, detecting the edge screen content of the above-mentioned current picture at the edge of the above-mentioned first graphical user interface; when it is detected that there are a large number of blank spaces in the above-mentioned edge screen content, automatically adjusting the shooting function to a non-full-screen shooting mode; or, when the above-mentioned shooting function is a non-full-screen shooting mode, detecting the edge screen content of the above-mentioned current picture at the edge of the above-mentioned first graphical user interface; when it is detected that there are incomplete texts in the above-mentioned edge screen content, automatically adjusting the shooting function to a full-screen shooting mode; or, upon receiving an adjustment instruction from the user, adjusting the above-mentioned shooting function from the non-full-screen shooting mode to the full-screen shooting mode or from the full-screen shooting mode to the non-full-screen shooting mode.
[0007] As an optional example, the above-mentioned detection of the edge screen content of the above-mentioned current screen at the edge of the above-mentioned first graphical user interface includes: defining a preset distance from the edge of the above-mentioned first graphical user interface to the center of the above-mentioned first graphical user interface; determining the current screen within the defined range as the above-mentioned edge screen content; when it is detected that the proportion of the blank area in the above-mentioned edge screen content to the total area of the edge screen content exceeds a preset value, determining that the above-mentioned edge screen content includes a large amount of blank space; when it is detected that the above-mentioned edge screen content includes multiple lines, determining that incomplete text exists in the above-mentioned edge screen content.
[0008] As an optional example, in response to triggering the shooting function control to enter the shooting function of the dictionary pen, capturing the current picture through the camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface, the first graphical user interface includes: determining through the sensing device of the dictionary pen whether the current posture of the dictionary pen is a horizontal screen posture or a vertical screen posture; when the posture is the horizontal screen posture, displaying the prompt information on the first graphical user interface of the dictionary pen in a form perpendicular to the bottom edge of the dictionary pen, wherein the prompt information includes the prompt words on the first graphical user interface and the interactive controls on the first graphical user interface; or, when the posture is the vertical screen posture, displaying the prompt information on the first graphical user interface of the dictionary pen in a form horizontal to the bottom edge of the dictionary pen, wherein the prompt information includes the prompt words on the first graphical user interface and the interactive controls on the first graphical user interface.
[0009] As an optional example, after capturing the target image, the method further includes: detecting whether the direction of text in the target image is consistent with the posture of the dictionary pen; if the detection result is inconsistent, automatically rotating the target image to adjust the direction of the text to be consistent with the posture of the dictionary pen.
[0010] As an optional example, after photographing the current screen to obtain the target image, the target processing function is entered, and the target processing function processes the target image, including: when the target processing function is a photo taking function, saving the target image; or, when the target processing function is a translation function, a question and answer function, or an evaluation function, automatically selecting the target area in the target image, identifying the target area, and obtaining the target text; the target text is processed by the translation function, the question and answer function, or the evaluation function, and the processing result is displayed in the first graphical user interface.
[0011] As an optional example, when the target processing function is a translation function, a question-and-answer function, or an evaluation function, automatically selecting the target area in the target image includes: annotating the target image according to the target usage scenario; inputting the annotated target image into a recognition model, and annotating the target area by the recognition model, wherein the recognition model is a model pre-trained with sample data, and the sample data is a sample pair consisting of a sample image annotated with the target usage scenario and a positive sample of a sample area in the sample image that matches the target usage scenario, and the sample area selected in the sample image is different in different target usage scenarios; or, the target area is selected according to a received selection instruction.
[0012] As an optional example, before annotating the target image according to the target usage scenario, the method further includes: obtaining the sample image; adding a translation label or a question and answer label or an evaluation label to the sample image; when adding a translation label to the sample image, selecting the text characters in the sample image; when adding a question and answer label to the sample image, selecting the text segment in the sample image; when adding an evaluation label to the sample image, selecting the handwritten text in the sample image; and using the labeled sample image and the selected sample image as a pair of sample pairs to train the recognition model.
[0013] As an optional example, after photographing the current screen to obtain the target image, the target processing function is entered, and the target processing function processes the target image, including: when it is determined that the continuous shooting mode is turned on, when the target image is photographed, continue to capture the current screen through the camera of the dictionary pen, and display the current screen in real time on the first graphical user interface of the dictionary pen; when the continuous shooting mode is ended, obtain multiple target images captured; splice the multiple target images into a long picture; and process the long picture by the target processing function.
[0014] As an optional example, after the target image is obtained by photographing the current screen, the target processing function is entered, and the target processing function processes the target image, including: obtaining the target voice input after photographing the target image; when the target processing function is a translation function and the target voice includes a translation range, translating the text in the target text in the target image that is within the translation range; when the target processing function is a question-and-answer function and the target voice includes a target question, providing a reply result for the target text in the target image according to the target question; when the target processing function is an evaluation function and the target voice includes an evaluation standard, providing an evaluation result for the target text in the target image according to the evaluation standard.
[0015] As an optional example, the shooting function control of the dictionary pen is configured with a plug-in for the target processing function, and the shooting function control is used to shoot the target image and process the target image by calling the plug-in for the target processing function.
[0016] As an optional example, the dictionary pen includes a shooting camera and a scanning camera. The shooting function of the dictionary pen is entered in response to triggering the shooting function control. Capturing the current picture through the camera of the dictionary pen includes: capturing the current picture through the shooting camera.
[0017] In the second aspect, the present application provides an image processing device for a dictionary pen, wherein a first graphical user interface is displayed on the display screen of the dictionary pen, and a shooting function control is displayed on the first graphical user interface, the device comprising: an acquisition module, for entering the shooting function of the dictionary pen in response to triggering the shooting function control, acquiring the current picture through the camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface of the dictionary pen; a first determination module, for determining the target usage scenario of the current picture selected by the user when displaying the current picture, wherein the target usage scenario is used to determine the processing function of the target image obtained by photographing the current picture; a second determination module, for determining the target processing function of the dictionary pen that matches the target usage scenario; a processing module, for entering the target processing function after photographing the current picture to obtain the target image, and processing the target image by the target processing function.
[0018] As an optional example, the first determination module includes: a first determination unit, used to display multiple interactive items on the upper layer of the current screen, wherein each of the interactive items corresponds to a usage scenario; upon receiving the preset operation of the user, when a target interactive item is determined from the multiple interactive items, the usage scenario corresponding to the target interactive item is determined as the target usage scenario; and the plug-in of the target usage scenario in the shooting function control is called to enter the target usage scenario.
[0019] As an optional example, the acquisition module includes: a first acquisition unit, used to display the current picture of a first size through the full-screen interface of the shooting function when the shooting function is in a full-screen shooting mode, wherein the first size is the size of the full-screen interface; and to display the current picture of a second size through a partial interface of the shooting function when the shooting function is in a non-full-screen shooting mode, wherein one side of the second size is the same as the corresponding side of the first size, and the other side of the second size is shorter than the corresponding side of the first size.
[0020] As an optional example, the acquisition module includes: a second acquisition unit, which is used to detect the edge screen content of the current screen at the edge of the first graphical user interface when the shooting function is in the full-screen shooting mode; when it is detected that there are a large number of blank spaces in the edge screen content, automatically adjust the shooting function to a non-full-screen shooting mode; or, when the shooting function is in the non-full-screen shooting mode, detect the edge screen content of the current screen at the edge of the first graphical user interface; when it is detected that there are incomplete texts in the edge screen content, automatically adjust the shooting function to the full-screen shooting mode; or, when receiving an adjustment instruction from the user, adjust the shooting function from the non-full-screen shooting mode to the full-screen shooting mode or from the full-screen shooting mode to the non-full-screen shooting mode.
[0021] As an optional example, the second acquisition unit includes: an acquisition subunit, used to define a preset distance from the edge of the first graphical user interface to the center of the first graphical user interface; determine the current screen within the defined range as the edge screen content; when it is detected that the proportion of the blank area in the edge screen content to the total area of the edge screen content exceeds a preset value, determine that the edge screen content includes a large amount of blank space; when it is detected that the edge screen content includes multiple lines, determine that incomplete text exists in the edge screen content.
[0022] As an optional example, the above-mentioned acquisition module includes: a second determination unit, used to determine whether the current posture of the above-mentioned dictionary pen is a horizontal screen posture or a vertical screen posture through the sensing device of the above-mentioned dictionary pen; when the posture is the above-mentioned horizontal screen posture, the prompt information on the first graphical user interface of the above-mentioned dictionary pen is displayed in a form perpendicular to the bottom edge of the above-mentioned dictionary pen, wherein the above-mentioned prompt information includes the prompt words on the above-mentioned first graphical user interface and the interactive controls on the above-mentioned first graphical user interface; or, when the posture is the above-mentioned vertical screen posture, the prompt information on the first graphical user interface of the above-mentioned dictionary pen is displayed in a form horizontal to the bottom edge of the above-mentioned dictionary pen, wherein the above-mentioned prompt information includes the prompt words on the above-mentioned first graphical user interface and the interactive controls on the above-mentioned first graphical user interface.
[0023] As an optional example, the above-mentioned device also includes: a rotation module, which is used to detect whether the direction of the text in the above-mentioned target image is consistent with the posture of the above-mentioned dictionary pen after capturing the above-mentioned target image; if the detection result is inconsistent, the above-mentioned target image is automatically rotated to adjust the direction of the above-mentioned text to be consistent with the posture of the above-mentioned dictionary pen.
[0024] As an optional example, the above-mentioned processing module includes: a processing unit, which is used to save the above-mentioned target image when the above-mentioned target processing function is a photo taking function; or, when the above-mentioned target processing function is a translation function, a question and answer function, or an evaluation function, automatically select the target area in the above-mentioned target image, and identify the above-mentioned target area to obtain the target text; the above-mentioned translation function, the question and answer function, or the evaluation function processes the above-mentioned target text, and displays the processing result in the above-mentioned first graphical user interface.
[0025] As an optional example, the above-mentioned processing unit includes: a first processing sub-unit, used to translate the above-mentioned target text to obtain a translated text when the above-mentioned target processing function is the above-mentioned translation function; jump from the current page to the translation result display page in the above-mentioned first graphical user interface; and synchronously display the above-mentioned target text and the above-mentioned translated text in the above-mentioned translation result display page.
[0026] As an optional example, the above-mentioned processing unit includes: a second processing sub-unit, used to use the above-mentioned target text as a question when the above-mentioned target processing function is the above-mentioned question and answer function; jump from the current page to the question and answer display page in the above-mentioned first graphical user interface; raise the above-mentioned question in the form of a question and answer in the above-mentioned question and answer display page, and display the answer to the above-mentioned question.
[0027] As an optional example, the above-mentioned processing unit includes: a third processing sub-unit, used to use the above-mentioned target text as the text to be evaluated when the above-mentioned target processing function is the above-mentioned evaluation function; jump from the current page to the evaluation display page in the above-mentioned first graphical user interface; display the above-mentioned text to be evaluated and the evaluation result of the above-mentioned text to be evaluated in the above-mentioned evaluation display page.
[0028] As an optional example, the processing unit includes: a box selection subunit, used to annotate the target image according to the target usage scenario; input the annotated target image into a recognition model, and the recognition model annotates the target area, wherein the recognition model is a model pre-trained with sample data, and the sample data is a sample pair consisting of a sample image annotated with the target usage scenario and a positive sample of a sample area in the sample image that matches the target usage scenario, and the sample area selected in the sample image is different in different target usage scenarios; or, the target area is selected according to a received box selection instruction.
[0029] As an optional example, the processing unit further includes: a training subunit, used to obtain the sample image before annotating the target image according to the target usage scenario; add translation labels or question and answer labels or evaluation labels to the sample image; when adding translation labels to the sample image, select text characters in the sample image; when adding question and answer labels to the sample image, select text segments in the sample image; when adding evaluation labels to the sample image, select handwritten text in the sample image; and use the sample image after adding labels and the sample image after selecting as a pair of samples to train the recognition model.
[0030] As an optional example, the above-mentioned processing module includes: a stitching unit, which is used to, when it is determined that the continuous shooting mode is turned on, continue to capture the current picture through the camera of the above-mentioned dictionary pen when the above-mentioned target image is captured, and display the above-mentioned current picture in real time on the first graphical user interface of the above-mentioned dictionary pen; when the above-mentioned continuous shooting mode is ended, obtain multiple target images captured; stitch the above-mentioned multiple target images into a long picture; and process the above-mentioned long picture by the above-mentioned target processing function.
[0031] As an optional example, the above-mentioned processing module includes: a recording unit, used to obtain a target voice input after shooting the above-mentioned target image; when the above-mentioned target processing function is a translation function and the above-mentioned target voice includes a translation range, translating the text in the target text in the above-mentioned target image that is within the above-mentioned translation range; when the above-mentioned target processing function is a question-and-answer function and the above-mentioned target voice includes a target question, providing a reply result for the target text in the above-mentioned target image according to the above-mentioned target question; when the above-mentioned target processing function is an evaluation function and the above-mentioned target voice includes an evaluation standard, providing an evaluation result for the target text in the above-mentioned target image according to the above-mentioned evaluation standard.
[0032] As an optional example, the shooting function control of the dictionary pen is configured with a plug-in for the target processing function, and the shooting function control is used to shoot the target image and process the target image by calling the plug-in for the target processing function.
[0033] As an optional example, the dictionary pen includes a shooting camera and a scanning camera. The shooting function of the dictionary pen is entered in response to triggering the shooting function control. Capturing the current picture through the camera of the dictionary pen includes: capturing the current picture through the shooting camera.
[0034] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the memory stores a computer program, and the processor is configured to implement any one of the above-mentioned image processing methods for the dictionary pen when executing the computer program.
[0035] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the image processing method of the dictionary pen described in any one of the above items of the present application.
[0036] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the scheme provided by the embodiment of the present application, by responding to triggering the above-mentioned shooting function control to enter the shooting function of the above-mentioned dictionary pen, collects the current picture through the camera of the above-mentioned dictionary pen, and displays the above-mentioned current picture in real time on the first graphical user interface of the above-mentioned dictionary pen; when displaying the above-mentioned current picture, determines the target usage scenario of the above-mentioned current picture selected by the user, wherein the above-mentioned target usage scenario is used to determine the processing function of the target image obtained by shooting the above-mentioned current picture; determines the target processing function of the above-mentioned dictionary pen that matches the above-mentioned target usage scenario; after shooting the above-mentioned current picture to obtain the above-mentioned target image, enters the above-mentioned target processing function, and the above-mentioned target processing function processes the above-mentioned target image, so that the target usage scenario can be selected according to the function to be used in the shooting function space, and the target image is processed according to the target processing function of the target usage scenario, thereby improving the switching efficiency of different functions of the dictionary pen. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0038] In order to more clearly illustrate the embodiments of the present invention 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.
[0039] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0040] Figure 1 A flowchart of an image processing method of a dictionary pen provided in an embodiment of the present application;
[0041] Figure 2 A flowchart of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0042] Figure 3 An interactive diagram of an image processing method of a dictionary pen provided in an embodiment of the present application;
[0043] Figure 4 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0044] Figure 5 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0045] Figure 6 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0046] Figure 7 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0047] Figure 8 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0048] Fig. 9 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0049] Fig.10 An interactive diagram of another image processing method of a dictionary pen provided in an embodiment of the present application;
[0050] Fig.11 A schematic diagram of the structure of an image processing device of a dictionary pen provided in an embodiment of the present application;
[0051] Fig.12 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, 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 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 making creative work are within the scope of protection of this application.
[0053] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0054] In order to solve the technical problem of complicated switching steps when using different functions of a dictionary pen in the prior art, the present application provides an image processing method for a dictionary pen, which can achieve the effect of improving the function switching efficiency of the dictionary pen.
[0055] Figure 1 A flowchart of an image processing method of a dictionary pen provided in an embodiment of the present application. A first graphical user interface is displayed on the display screen of the dictionary pen, and a shooting function control is displayed on the first graphical user interface, such as Figure 1 As shown, the image processing method of the dictionary pen includes:
[0056] S102, in response to triggering the shooting function control to enter the shooting function of the dictionary pen, capturing the current picture through the camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface of the dictionary pen;
[0057] S104, when displaying the current picture, determining a target usage scenario of the current picture selected by the user, wherein the target usage scenario is used to determine a processing function of a target image obtained by photographing the current picture;
[0058] S106, determining a target processing function of the dictionary pen that matches the target usage scenario;
[0059] S108, after the current picture is photographed to obtain the target image, the target processing function is entered to process the target image.
[0060] The dictionary pen of this embodiment may include a camera and an interactive display screen. The camera is responsible for taking pictures. The display screen displays a first graphical user interface, which may be a foreground interface of the system. The first graphical user interface includes a shooting function control, which is a software application installed on the dictionary pen. When the shooting function control is started, the shooting function may be entered. The shooting function takes pictures by calling the camera.
[0061] The dictionary pen in this embodiment may include a shooting camera and a scanning camera, and the target image may be collected by the shooting camera. The scanning camera may be used for scanning, such as scanning written text.
[0062] In this embodiment, after entering the shooting function, the current picture is captured by the camera and displayed on the first graphical user interface. At this time, the shooting action has not been performed to obtain the target graphic. When the current picture is displayed, the user can select a target usage scenario, which is the usage scenario of the target image if the user takes a picture of the current picture to obtain the target image. The user can select a scene as the target usage scenario. When the target usage scenario is determined, the user can take a picture to obtain the target image. At this time, the target processing function of the target usage scenario can be used to process the target image.
[0063] That is to say, in this embodiment, when the shooting function displays the current picture, the user can select a scene. Whichever scene the user selects, the captured target image is processed by the function of the scene, so that the user can flexibly select the scene and flexibly switch the function to be used.
[0064] For example, Figure 2 As shown, Figure 2 In the video, after the user enters the shooting function control, he can choose from a variety of modes, such as shooting, question and answer, translation, and evaluation modes. The user can switch modes at will. In any mode, he can preview the current picture in real time to determine whether to shoot. After the target image is captured in one mode, if it is a shooting mode, the image can be directly stored. If it is a question and answer mode, a translation mode, or an evaluation mode, the target area in the target image can be selected and the target voice can be recorded. The target area is identified by the model to obtain the target text, and according to the question and answer, translation, or evaluation scene selected during shooting, the corresponding processing flow is entered, such as translating, evaluating, or giving answers to the target text.
[0065] The solution provided by the embodiment of the present application enters the shooting function of the dictionary pen in response to triggering the shooting function control, captures the current picture through the camera of the dictionary pen, and displays the current picture in real time on the first graphical user interface of the dictionary pen; when displaying the current picture, determines the target usage scenario of the current picture selected by the user, wherein the target usage scenario is used to determine the processing function of the target image obtained by shooting the current picture; determines the target processing function of the dictionary pen that matches the target usage scenario; after shooting the current picture to obtain the target image, enters the target processing function, and processes the target image by the target processing function, so that the target usage scenario can be selected in the shooting function space according to the function to be used, and the target image is processed according to the target processing function of the target usage scenario, thereby improving the switching efficiency of different functions of the dictionary pen.
[0066] As an optional example, when displaying the current screen, determining the target usage scenario of the current screen selected by the user includes: displaying multiple interactive items on the upper layer of the current screen, wherein each interactive item corresponds to a usage scenario; upon receiving a preset operation of the user and determining a target interactive item from multiple interactive items, determining the usage scenario corresponding to the target interactive item as the target usage scenario; and calling the plug-in of the target usage scenario in the shooting function control to enter the target usage scenario.
[0067] This embodiment provides a schematic diagram of a user selecting a target usage scenario. Figure 3 As shown, Figure 3 Shown in the figure is a schematic diagram of a shooting function control opened on the first graphical user interface of the dictionary pen. The shooting function control displays the current screen and displays multiple interactive items on the upper layer of the current screen, such as shooting, question and answer, translation, evaluation, etc. The user can select any interactive item and shoot through the circular virtual shooting button. The user enters the processing logic of the interactive item selected by the user.
[0068] As an optional example, in response to triggering a shooting function control to enter the shooting function of the dictionary pen, the current picture is captured through the camera of the dictionary pen, and the current picture is displayed in real time on the first graphical user interface, including: when the shooting function is in full-screen shooting mode, the current picture of a first size is displayed through the full-screen interface of the shooting function, wherein the first size is the size of the full-screen interface; when the shooting function is in non-full-screen shooting mode, the current picture of a second size is displayed through a partial interface of the shooting function, wherein one side of the second size is the same as the corresponding side of the first size, and the other side of the second size is shorter than the corresponding side of the first size.
[0069] In this embodiment, when the shooting function of the shooting function control is used, the shooting function has a full-screen shooting mode and a non-full-screen shooting mode, and the two modes can be flexibly switched. Figure 4 As shown, the left side is a full-screen shooting mode, in which the entire area 404 of the shooting function component displays the content of the current picture, while the right side is a non-full-screen shooting mode, in which only area 402 displays the content of the current picture.
[0070] As an optional example, in response to triggering a shooting function control to enter the shooting function of the dictionary pen, the current picture is captured through the camera of the dictionary pen, and the current picture is displayed in real time on the first graphical user interface, including: when the shooting function is in full-screen shooting mode, detecting the edge screen content of the current picture at the edge of the first graphical user interface; when it is detected that there are a large number of blank spaces in the edge screen content, automatically adjusting the shooting function to a non-full-screen shooting mode; or, when the shooting function is in a non-full-screen shooting mode, detecting the edge screen content of the current picture at the edge of the first graphical user interface; when it is detected that there are incomplete texts in the edge screen content, automatically adjusting the shooting function to a full-screen shooting mode; or, upon receiving an adjustment instruction from the user, adjusting the shooting function from the non-full-screen shooting mode to the full-screen shooting mode or from the full-screen shooting mode to the non-full-screen shooting mode.
[0071] Detecting edge screen content of the current screen at the edge of the first graphical user interface can be to define a preset distance from the edge of the first graphical user interface to the center of the first graphical user interface; determining the current screen within the defined range as the edge screen content; when it is detected that the proportion of blank areas in the edge screen content to the total area of the edge screen content exceeds a preset value, determining that the edge screen content includes a large amount of blank areas; when it is detected that the edge screen content includes multiple lines, determining that incomplete text exists in the edge screen content.
[0072] In this embodiment, whether to use the full-screen shooting mode or the non-full-screen shooting mode can be specified by the user, that is, the user adjusts it through an adjustment instruction, and can also be identified by the system. The system identifies which mode the current shooting function is, and then detects the edge screen content of the current screen in the current shooting mode. The edge screen content is the screen content in the area close to the edge of the first graphical user interface, and adjusts the shooting mode by identifying whether there is a large amount of blank space in the part of the content, or whether it includes incomplete text.
[0073] For example, in non-full-screen shooting mode, if incomplete text is detected in the edge screen content, it can be understood that the content of the current screen captured by the current shooting mode does not cover the content the user wants (since zooming in or out of the lens will cause the text content to be larger near and smaller far away, in order to ensure that the size of the text can be clearly identified, the lens cannot be infinitely zoomed out to include more content), and the full-screen shooting mode can be adjusted at this time. In full-screen shooting mode, if a large amount of blank space is detected in the edge screen content, it can be understood that the content to be shot is in the center area, and there is no content to be shot in the edge area. Therefore, the shooting mode can be adjusted to non-full-screen shooting mode.
[0074] As an optional example, in response to triggering a shooting function control to enter the shooting function of the dictionary pen, the current picture is captured through the camera of the dictionary pen, and the current picture is displayed in real time on the first graphical user interface. The first graphical user interface includes: determining through the sensing device of the dictionary pen whether the current posture of the dictionary pen is a horizontal screen posture or a vertical screen posture; when the posture is a horizontal screen posture, the prompt information on the first graphical user interface of the dictionary pen is displayed in a form perpendicular to the bottom edge of the dictionary pen, wherein the prompt information includes the prompt words on the first graphical user interface and the interactive controls on the first graphical user interface; or, when the posture is a vertical screen posture, the prompt information on the first graphical user interface of the dictionary pen is displayed in a form horizontal to the bottom edge of the dictionary pen, wherein the prompt information includes the prompt words on the first graphical user interface and the interactive controls on the first graphical user interface.
[0075] In this embodiment, when shooting through the shooting function control, the dictionary pen may have multiple postures, such as the user holding the dictionary pen and placing the dictionary pen in a horizontal screen posture or a vertical screen posture, such as Figure 5 As shown, in different postures, the prompt information in the first graphical user interface of the dictionary pen should meet the user's viewing needs, rather than being upside down or at a large angle. Therefore, the prompt information displayed on the first graphical user interface should be adjusted according to the posture of the dictionary pen. The prompt information includes prompt words and interactive controls. The prompt words can be words that prompt the user to take a photo or prompt the user to the current usage scenario. The interactive controls are virtual controls used by the user to select the usage scenario. Figure 5 As shown, in the horizontal screen state on the left, the interactive controls in the figure need to be rotated 90 degrees to match the user's perspective, and in the vertical screen state on the right, the interactive controls also match the user's perspective.
[0076] In this embodiment, regardless of whether the screen is in landscape or portrait mode, the direction of the font in the captured image must be determined. If the font direction does not match the user's perspective, the target image is rotated until it matches the user's perspective. When rotating the target image, the direction of the interactive control is adjusted at the same time.
[0077] As an optional example, after capturing the target image, the above method also includes: detecting whether the direction of text in the target image is consistent with the posture of the dictionary pen; if the detection result is inconsistent, automatically rotating the target image to adjust the direction of the text to be consistent with the posture of the dictionary pen.
[0078] In this embodiment, after capturing the target image, since the user is in landscape or portrait mode to capture the image, it is necessary to detect whether the direction of the text in the captured target image is consistent with the posture. If the posture changes, the direction of the target image is adjusted by rotating accordingly so that the direction of the text in the target image is consistent with the posture of the dictionary pen.
[0079] As an optional example, after the current screen is photographed to obtain the target image, the target processing function is entered, and the target processing function processes the target image including: when the target processing function is a photo taking function, saving the target image; or, when the target processing function is a translation function, a question and answer function, or an evaluation function, automatically selecting a target area in the target image, identifying the target area, and obtaining a target text; the translation function, the question and answer function, or the evaluation function processes the target text, and displays the processing result in the first graphical user interface.
[0080] In this embodiment, for different usage scenarios, the processing method of the target image after the target image is captured and the purpose of the target image are also different. For the shooting scene, the target image can be saved after it is captured. For the question-and-answer scene, the translation scene or the evaluation scene, the captured target image must first be framed to select the target area, the target area contains the target content, and then the target content is converted into text to obtain the target text, the target text is translated or question-and-answer or evaluation is processed, and the processing result is displayed.
[0081] For example, Figure 6 As shown, Figure 6 The left side is the shooting scene, and the current picture includes a part of text content, while the right side is the target image obtained by shooting. In the target image, the useful target area is selected through user annotation or model recognition, and the target content in the target area is converted into text to obtain the target text.
[0082] As an optional example, the target text is processed by a translation function, a question-and-answer function, or an evaluation function, and the processing result is displayed in a first graphical user interface, including: when the target processing function is a translation function, translating the target text to obtain a translated text; jumping from the current page to the translation result display page in the first graphical user interface; and synchronously displaying the target text and the translated text in the translation result display page.
[0083] In this embodiment, if the target text in the target image is translated, after the target image is captured and the target area is framed and the target text is identified, the page for displaying the translation result can be jumped to, and the target text and the translated text can be displayed on the page for displaying the translation result.
[0084] For example, Figure 7 A schematic diagram of an exemplary translation result. Figure 7 The Chinese dictionary pen is in landscape mode, so the translation results need to be flipped to match the user's perspective. When translating, the user can select the language to be translated, and the system can automatically identify it.
[0085] As an optional example, the target text is processed by a translation function, a question-and-answer function, or an evaluation function, and the processing results are displayed in a first graphical user interface, including: when the target processing function is a question-and-answer function, the target text is used as a question; in the first graphical user interface, the current page is jumped to a question-and-answer display page; questions are asked in the form of questions and answers in the question-and-answer display page, and the answers to the questions are displayed.
[0086] The current page in this embodiment may be a page where the target image is marked after the target image is photographed.
[0087] In this embodiment, if questions and answers are to be conducted on the target text in the target image, then after the target image is captured and the target area is framed and the target text is identified, the target text can be used as a question, and the answer to the question can be given by the system background, and the current page can be jumped to the question and answer display page, where the question and answer can be displayed.
[0088] For example, after a user takes a picture in the question-and-answer function and gets the content "The key to solving this question is, ...", Figure 8 As shown, ask questions to the Q&A function and the Q&A function gives answers.
[0089] As an optional example, the target text is processed by a translation function, a question-and-answer function, or an evaluation function, and the processing results are displayed in a first graphical user interface, including: when the target processing function is an evaluation function, the target text is used as the text to be evaluated; in the first graphical user interface, the current page is jumped to the evaluation display page; and the text to be evaluated and the evaluation results of the text to be evaluated are displayed in the evaluation display page.
[0090] In this embodiment, if the target text in the target image is to be evaluated, after the target image is captured and the target area is framed and the target text is identified, the target text can be used as the text to be evaluated, and the evaluation result can be given by the system background, and the current page can be jumped to the evaluation display page, and the text to be evaluated and the evaluation result can be displayed in the evaluation display page.
[0091] For example, Fig. 9 As shown, after the user takes a photo under the evaluation function and obtains the content "The key to solving this question is, ...", the system can give an evaluation.
[0092] As an optional example, when the target processing function is a translation function, a question-and-answer function, or an evaluation function, automatically selecting a target area in a target image includes: annotating the target image according to the target usage scenario; inputting the annotated target image into a recognition model, and having the recognition model annotate the target area, wherein the recognition model is a model pre-trained with sample data, and the sample data is a sample pair consisting of a sample image annotated with the target usage scenario and a positive sample of a sample area in the selected sample image that matches the target usage scenario, and the sample area selected in the sample image is different in different target usage scenarios; or, selecting the target area according to a received selection instruction.
[0093] The model in this embodiment can be trained using sample images. Sample images can be obtained; translation labels, question and answer labels, or evaluation labels can be added to the sample images; when translation labels are added to the sample images, text characters in the sample images can be framed; when question and answer labels are added to the sample images, text segments in the sample images can be framed; when evaluation labels are added to the sample images, handwritten text in the sample images can be framed; the sample images with labels added and the sample images with framed images can be used as a pair of sample pairs to train the recognition model.
[0094] In this embodiment, the target area in the target image can be manually selected by the user, or it can be recognized using a recognition model, and the recognition model can be pre-trained. The sample images used for pre-training can be labeled, such as adding a translation label to the sample image, and the sample image is framed, and the range of the frame is the range determined by the translation label. For example, if the text characters in the sample image are framed, the sample image with the translation label added and the framed sample image are used as sample pairs to train the model. If the sample image is added with a question and answer label, the text segment of the sample image can be framed. If the added label is an evaluation label, the framed part is the handwritten text in the sample image. By training the model with this sample, the model can give different frame ranges for different functions.
[0095] As an optional example, after the current picture is photographed to obtain the target image, the target processing function is entered, and the target processing function processes the target image, including: when it is determined that the continuous shooting mode is turned on, when the target image is photographed, continue to capture the current picture through the camera of the dictionary pen, and display the current picture in real time on the first graphical user interface of the dictionary pen; when the continuous shooting mode is ended, obtain multiple target images captured; splice the multiple target images into a long picture; and process the long picture by the target processing function.
[0096] In this embodiment, when shooting a target image, multiple target images can be shot, and the functions corresponding to the multiple target images are the same. For example, after selecting a certain function, the user can continuously shoot multiple images, and the multiple images are spliced to obtain a long image (or not spliced). The spliced long image is processed using the selected function, such as selecting the content in it for translation, evaluation, or question and answer, etc.
[0097] For example, Fig.10 As shown, Fig.10 In the example, images 1 to 3 have been taken, and the user can continue to take pictures. In this embodiment, the user can be prompted to take several more pictures. When the user has finished taking pictures, the pictures can be submitted. Multiple pictures are stitched into a long picture. In addition, voice can be input, and the input voice is submitted together with the pictures.
[0098] As an optional example, after the current screen is photographed to obtain the target image, the target processing function is entered, and the target processing function processes the target image including: obtaining the target voice input after the target image is photographed; when the target processing function is a translation function and the target voice includes a translation range, translating the text within the translation range in the target text in the target image; when the target processing function is a question-and-answer function and the target voice includes a target question, providing a response result for the target text in the target image according to the target question; when the target processing function is an evaluation function and the target voice includes an evaluation standard, providing an evaluation result for the target text in the target image according to the evaluation standard.
[0099] In this embodiment, after capturing the target image, the user can also input voice, and the purpose of the user inputting voice may be different depending on the scenario. For example, if it is a translation scenario, the input voice can be the translation scope, such as "Please translate a certain word to a certain word", and if it is a question-and-answer scenario, the voice can be the question raised, and the question raised is combined with the target text to seek an answer in the question-and-answer scenario. If it is an evaluation scenario, the voice can be an evaluation standard, or an evaluation point system, etc., so that the evaluation function can score the target text or give suggestions, etc. For example, if Fig.10 In this embodiment, voice can be input when a target image is selected for each function or after a target text is obtained by identifying a target image, thereby controlling the function.
[0100] As an optional example, a plug-in of a target processing function is configured in the shooting function control of the dictionary pen, and the shooting function control is used to shoot a target image and process the target image by calling the plug-in of the target processing function.
[0101] This embodiment uses plug-in development to integrate the photography needs of different applications by building a camera application. This architecture allows each application to configure parameters such as the shooting path, shooting resolution, and displayed text, and related functions can be dynamically configured, such as whether to support cropping, whether to support flipping, etc., thereby achieving a high degree of customization and flexibility. In this model, plug-in development reduces the coupling between components, allowing each application to be developed and tested independently without adversely affecting the overall system.
[0102] For example, if you want to register a new feature in a camera application, you only need to configure a json structure. The BuiltinFeatureList structure contains rich parameters. Register this structure to the camera application, and the camera application will dynamically add new features.
[0103] Through plug-in development, new camera functions can be integrated into existing systems more conveniently without large-scale modifications to existing code. This modular approach not only reduces development costs, but also improves the maintainability and scalability of the system. At the same time, this architecture also makes it possible to switch applications in different scenarios without interference, and users can smoothly switch between different camera modes, improving the user experience.
[0104] Since each other application function is an independent plug-in in the shooting application, it can be optimized and updated separately without affecting the normal operation of other plug-ins. Other applications in this mode can also better adapt to the changing market needs, thus more flexibly meeting the different photography needs of users.
[0105] In this framework, this embodiment proposes an application scenario in which multiple functions such as taking pictures, question and answer, translation, and evaluation can be switched. The user clicks the icon of the shooting application through the first graphical user interface of the dictionary pen to enter the shooting application, and the shooting application can display the following Figure 3 The screen shown (can be horizontal or vertical). After the shooting camera is awakened, the user can preview the shooting screen in real time. The real-time preview function has the following main features: First, it can realize one-touch quick switching of different scenes. Swipe left or right on the preview page or click to quickly switch between different usage scenarios, such as translation, question and answer, etc.; second, it can help users focus automatically; third, based on the size characteristics of the dictionary pen screen, it provides switching entrances for original size shooting and full-screen shooting, respectively dealing with large and small shooting scenes; fourth, based on the G-sensor sensor, it provides automatic recognition and switching of horizontal and vertical screens on the preview page to cope with the holding habits of different users when taking pictures, so as to obtain the best shooting effect.
[0106] After the shooting is completed, the system will automatically select the intended area of the shot content. Through advanced image recognition and optical character recognition (OCR) technology, the system can accurately identify text or image areas and automatically select the parts that the user needs to process. The system also supports manual adjustment of the selection area, and users can accurately select the content to be processed by dragging the selection box. In addition, the system can also intelligently identify different types of content according to different application scenarios, such as giving priority to paragraph text recognition in the "Writing Guidance" scenario, and giving priority to text characters in the "Photo Translation" scenario.
[0107] To meet the needs of users in complex scenarios, the system supports multi-page shooting. Users can shoot multiple pages of content in succession, and the system will automatically integrate and process them to ensure seamless connection and unified recognition of multiple pages. During the shooting process, users can learn the number of pages currently shot and the number of remaining pages through the prompt information on the interface. The multi-page shooting function is particularly suitable for scenes that need to process a large number of documents, such as books, test papers, etc.
[0108] For different functions, after completing data processing, the system will send the processed images, text and other data to the corresponding application process and automatically jump to the corresponding function landing page. For example, the text content captured by the user in the photo translation scene will be automatically recognized and displayed on the translation page, and the user can view the translation results immediately; in the "writing guidance" scene, the captured text content will be sent to the writing guidance module to provide corresponding writing suggestions and revision opinions.
[0109] Fig.11 This is a schematic diagram of the structure of an image processing device of a dictionary pen provided in an embodiment of the present application. Fig.11 As shown, the image processing device of the dictionary pen includes:
[0110] The acquisition module 1102 is used to enter the shooting function of the dictionary pen in response to triggering the shooting function control, capture the current picture through the camera of the dictionary pen, and display the current picture in real time on the first graphical user interface of the dictionary pen;
[0111] A first determination module 1104 is used to determine a target usage scenario of the current picture selected by the user when displaying the current picture, wherein the target usage scenario is used to determine a processing function of a target image obtained by photographing the current picture;
[0112] The second determination module 1106 is used to determine the target processing function of the dictionary pen that matches the target usage scenario;
[0113] The processing module 1108 is used to enter the target processing function after capturing the current picture to obtain the target image, and the target processing function processes the target image.
[0114] For other examples of this embodiment, please refer to the above examples and will not be described in detail here.
[0115] like Fig.12 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0116] Memory 113, used for storing computer programs;
[0117] In one embodiment of the present application, the processor 111 is used to implement the image processing method of the dictionary pen provided by any one of the aforementioned method embodiments when executing the program stored in the memory 113.
[0118] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the image processing method of the dictionary pen provided in any of the aforementioned method embodiments is implemented.
[0119] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0121] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0122] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An image processing method for a dictionary pen, wherein a first graphical user interface is displayed on a display screen of the dictionary pen, and a shooting function control is displayed on the first graphical user interface. It is characterized in that include: In response to triggering the shooting function control to enter the shooting function of the dictionary pen, a current picture is captured through the camera of the dictionary pen, and the current picture is displayed in real time on the first graphical user interface of the dictionary pen; When displaying the current picture, determining a target usage scenario of the current picture selected by a user, wherein the target usage scenario is used to determine a processing function of a target image obtained by photographing the current picture; Determining a target processing function of the dictionary pen that matches the target usage scenario; After the current picture is photographed to obtain the target image, the target processing function is entered, and the target image is processed by the target processing function.
2. The method according to claim 1, It is characterized in that When displaying the current screen, determining the target usage scenario of the current screen selected by the user includes: Displaying a plurality of interactive items on an upper layer of the current screen, wherein each of the interactive items corresponds to a usage scenario; Upon receiving the preset operation of the user and determining a target interactive item from the multiple interactive items, determining a usage scenario corresponding to the target interactive item as the target usage scenario; A plug-in of the target usage scenario in the shooting function control is called to enter the target usage scenario.
3. The method according to claim 1, It is characterized in that In response to triggering the shooting function control to enter the shooting function of the dictionary pen, capturing the current picture through the camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface includes: When the shooting function is in full-screen shooting mode, displaying the current picture of a first size through a full-screen interface of the shooting function, wherein the first size is a size of the full-screen interface; When the shooting function is in a non-full-screen shooting mode, the current screen of a second size is displayed through a partial interface of the shooting function, wherein one side of the second size is the same as the corresponding side of the first size, and the other side of the second size is shorter than the corresponding side of the first size.
4. The method according to claim 1, It is characterized in that After the current picture is photographed to obtain the target image, the target processing function is entered, and the target processing function processes the target image, including: When the target processing function is a photographing function, saving the target image; or, When the target processing function is a translation function, a question-and-answer function, or an evaluation function, a target area in the target image is automatically selected, and the target area is identified to obtain a target text; the target text is processed by the translation function, the question-and-answer function, or the evaluation function, and the processing result is displayed in the first graphical user interface.
5. The method according to claim 4, It is characterized in that The processing of the target text by the translation function, the question-and-answer function, or the evaluation function, and displaying the processing result in the first graphical user interface includes: When the target processing function is the translation function, translating the target text to obtain a translated text; Jumping from the current page to the translation result display page in the first graphical user interface; The target text and the translated text are synchronously displayed in the translation result display page.
6. The method according to claim 4, It is characterized in that The processing of the target text by the translation function, the question-and-answer function, or the evaluation function, and displaying the processing result in the first graphical user interface includes: When the target processing function is the question-answering function, using the target text as a question; Jumping from the current page to the question and answer display page in the first graphical user interface; The question is asked in the form of a question and answer on the question and answer display page, and the answer to the question is displayed.
7. The method according to claim 4, It is characterized in that The processing of the target text by the translation function, the question-and-answer function, or the evaluation function, and displaying the processing result in the first graphical user interface includes: When the target processing function is the evaluation function, the target text is used as the text to be evaluated; Jumping from the current page to the evaluation display page in the first graphical user interface; The text to be evaluated and the evaluation result of the text to be evaluated are displayed on the evaluation display page.
8. An image processing device for a dictionary pen, wherein a first graphical user interface is displayed on a display screen of the dictionary pen, and a shooting function control is displayed on the first graphical user interface. It is characterized in that include: A collection module, for responding to triggering the shooting function control to enter the shooting function of the dictionary pen, collecting the current picture through the camera of the dictionary pen, and displaying the current picture in real time on the first graphical user interface of the dictionary pen; A first determination module, used to determine a target usage scenario of the current picture selected by a user when displaying the current picture, wherein the target usage scenario is used to determine a processing function of a target image obtained by photographing the current picture; A second determination module is used to determine a target processing function of the dictionary pen that matches the target usage scenario; The processing module is used to enter the target processing function after the target image is obtained by shooting the current picture, and the target image is processed by the target processing function.
9. An electronic device, It is characterized in that include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the memory stores a computer program, and when the processor executes the computer program, the image processing method of the dictionary pen described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing computer-executable instructions for executing the image processing method of the dictionary pen described in any one of claims 1 to 7 of the present application.
Citation Information
Cited By
Information query method and related device
CN120372041A
Display method and device and dictionary pen
CN120708229A
Scanning range determination method and device, dictionary pen, storage medium and program product
CN121387160A
Scanning range determination method and device, dictionary pen, storage medium and program product
CN121387161A
Scanning range adjusting method and device, dictionary pen, storage medium and program product
CN121478166A
