Image processing method and device, medium and equipment

By introducing voice command analysis and image processing task execution functions into image processing software, the problem of insufficient adaptation of user skill level in the prior art is solved, the voice control function of image processing is realized, and the user experience is improved.

CN120179135APending Publication Date: 2025-06-20JINGDONG CITY BEIJING DIGITS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311754074.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

Existing image processing software does not take into account the skill level of different users, which makes it impossible for some users to better utilize image processing software to process images.

Method used

By displaying the multimedia page, receiving and parsing the user's voice commands, determining the image processing task corresponding to the voice commands, and performing photo editing processing on the to-processed image according to the task until the target image desired by the user is obtained.

Benefits of technology

The image editing process is realized through the voice commands entered by the user, solving the problem of adapting image processing software to the user's skill level, so that more users can process images more easily.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179135A_ABST
    Figure CN120179135A_ABST
Patent Text Reader

Abstract

The invention provides an image processing method and device, a medium and equipment, and relates to the technical field of image processing. The method comprises the following steps: displaying a multimedia page; the multimedia page comprises an image to be processed; receiving a voice instruction for the to-be-processed image, analyzing the voice instruction, and determining an image processing task corresponding to the voice instruction; and retouching the to-be-processed image according to the image processing task to obtain a target image corresponding to the to-be-processed image, and displaying the target image on the multimedia page. According to the method, the to-be-processed image can be revised through the voice instruction input by the user so as to obtain the revised image effect expected by the user, and the problem that some users cannot better utilize the image processing software to process the image due to the fact that the skill levels of different users are not considered in the existing image processing software is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, a computer-readable storage medium, and an electronic device. Background Art

[0002] Image processing software is designed to help users process images more easily. In order to enable more users to use it, existing image processing software can provide intelligent "one-key operation" functions, such as "one-key whitening", "one-key face slimming", etc.

[0003] However, for users who are not familiar with the operation of terminal devices or image retouching software, it will be a bit difficult to use existing image processing software; in addition, when the retouching range is local or specific retouching tools need to be used for adjustment, certain professional skills and experience are required. Therefore, for beginners of image processing software, it will be a bit difficult to use existing image processing software. It can be seen that existing image processing software does not take into account the skill levels of different users, resulting in some users being unable to make better use of image processing software to process images.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the present disclosure is to provide an image processing method, an image processing device, a computer-readable storage medium, and an electronic device, so as to solve the problem that some users are unable to make better use of image processing software to process images due to the fact that existing image processing software does not take into account the skill levels of different users.

[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be partially learned through the practice of the present disclosure.

[0007] According to one aspect of the present disclosure, an image processing method is provided. The method includes: displaying a multimedia page; the multimedia page includes an image to be processed; receiving a voice command for the image to be processed, parsing the voice command, and determining an image processing task corresponding to the voice command; performing retouching processing on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed, and displaying the target image on the multimedia page.

[0008] In some embodiments of the present disclosure, the image processing task includes a first area to be adjusted and a first image operation intention; wherein, performing retouching processing on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed includes: bounding the first area to be adjusted in the image to be processed; performing retouching processing on the original image of the first area to be adjusted according to the first image operation intention to obtain an image of the first area to be adjusted after retouching processing; and updating the original image of the first area to be adjusted with the image of the first area to be adjusted after retouching processing to obtain the target image.

[0009] In some embodiments of the present disclosure, after bounding the first area to be adjusted in the image to be processed, the method further includes: generating and playing a voice indicating that the area selection is completed corresponding to the first area to be adjusted; receiving a first response voice corresponding to the voice indicating that the area selection is completed, parsing the first response voice, and obtaining a first intention recognition result corresponding to the first response voice; and if the first intention recognition result is area adjustment, adjusting the area range of the first area to be adjusted according to the first intention recognition result.

[0010] In some embodiments of the present disclosure, after bounding the first area to be adjusted in the image to be processed, the method further includes: magnifying and displaying the image of the first area to be adjusted on the multimedia page according to a first preset display ratio; and hiding and displaying the image to be processed on the multimedia page, or reducing and displaying the image to be processed on the multimedia page according to a second preset display ratio.

[0011] In some embodiments of the present disclosure, after performing retouching processing on the original image of the first area to be adjusted according to the first image operation intention to obtain an image of the first area to be adjusted after retouching processing, the method further includes: generating and playing a voice indicating that the retouching is completed corresponding to the first image operation intention; receiving a second response voice corresponding to the voice indicating that the retouching is completed, parsing the second response voice, and obtaining a second intention recognition result corresponding to the second response voice; and if the second intention recognition result is a retouching operation intention, performing retouching processing on the image after retouching processing according to the second intention recognition result to update the image after retouching processing.

[0012] In some embodiments of the present disclosure, the image processing task includes a second area to be adjusted; wherein, performing image retouching on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed includes: bounding the second area to be adjusted in the image to be processed; generating and playing an operation intention guiding voice; receiving a third response voice corresponding to the operation intention guiding voice, parsing the third response voice, and obtaining a third intention recognition result corresponding to the third response voice; the third intention recognition result includes a second image operation intention; performing image retouching on the original image of the second area to be adjusted according to the second image operation intention to obtain an image after retouching of the second area to be adjusted; and updating the original image of the second area to be adjusted with the image after retouching of the second area to be adjusted to obtain the target image.

[0013] In some embodiments of the present disclosure, after displaying the target image on the multimedia page, the method further includes: generating and playing an image processing completion voice; receiving a fourth response voice corresponding to the image processing completion voice, parsing the fourth response voice, and obtaining a fourth intention recognition result corresponding to the fourth response voice; if the fourth intention recognition result is that the image retouching is not completed, performing image retouching on the target image according to the fourth intention recognition result.

[0014] In some embodiments of the present disclosure, the multimedia page further includes a voice control control; wherein, the method further includes: in response to a trigger operation on the voice control control, starting a voice retouching function; or the method further includes: receiving a voice control instruction, and in response to the voice control instruction, starting the voice retouching function.

[0015] In some embodiments of the present disclosure, the multimedia page further includes an image editing control; wherein, the method further includes: in response to a trigger operation on the image editing control, performing image retouching on the image to be processed.

[0016] According to another aspect of the present disclosure, there is provided an image processing apparatus, the apparatus includes: a display unit for displaying a multimedia page, the multimedia page including an image to be processed; a voice parsing unit for receiving a voice instruction for the image to be processed, parsing the voice instruction, and determining an image processing task corresponding to the voice instruction; an image processing unit for performing image retouching on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed; and the display unit is further for displaying the target image on the multimedia page.

[0017] According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the above-described image processing method.

[0018] According to another aspect of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-described image processing method by executing the executable instructions.

[0019] The image processing method according to the embodiments of the present disclosure can perform image retouching on an image to be processed through voice instructions input by a user to obtain a retouching effect desired by the user, and solves the problem that some users cannot better utilize image processing software to process images due to the fact that existing image processing software does not take into account the skill levels of different users.

[0020] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0022] Figure 1 is a schematic diagram of an exemplary system architecture of an image processing method shown according to an exemplary embodiment;

[0023] Figure 2 is a flowchart of an image processing method shown according to an exemplary embodiment;

[0024] Figure 3 is a schematic diagram of a multimedia page shown according to an exemplary embodiment;

[0025] Figure 4 is a process diagram of retouching an image to be processed to obtain a target image shown according to an exemplary embodiment;

[0026] Figure 5 is a schematic diagram of selecting a region to be adjusted from an image to be processed shown according to an exemplary embodiment;

[0027] Figure 6 is a schematic diagram of adjusting the selected region shown according to an exemplary illustration;

[0028] Figure 7It is a schematic diagram showing the retouching process of the original image of the selected area according to an exemplary embodiment;

[0029] Figure 8 It is a schematic diagram of the target image obtained after retouching the area to be adjusted according to an exemplary embodiment;

[0030] Figure 9 It is a process diagram showing the process of retouching the image to be processed to obtain the target image according to another exemplary embodiment;

[0031] Figure 10 It is a process diagram showing the processing process of the user input voice according to an exemplary embodiment;

[0032] Figure 11 It is a block diagram of an image processing device according to an exemplary embodiment;

[0033] Figure 12 It is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed implementation manners

[0034] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein.

[0036] The following exemplary embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more complete and comprehensive, and the concept of the exemplary embodiments will be fully conveyed to those skilled in the art. The features, structures, or characteristics described can be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to give a full understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring the various aspects of the present disclosure.

[0037] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0038] It should be noted that in the technical solution of the present disclosure, in terms of the collection, gathering, updating, analysis, processing, use, transmission, storage, etc. of the user's personal information, it complies with the provisions of relevant laws and regulations, is used for legal purposes, and does not violate public order and good customs. Necessary measures are taken for the user's personal information to prevent illegal access to the user's personal information data, and to safeguard the security of the user's personal information, network security, and national security.

[0039] Figure 1 is a schematic diagram of an exemplary system architecture of an image processing method shown according to an exemplary embodiment. As Figure 1 shown, the system architecture may include a server 101, a network 102, and a terminal device 103. The network 102 is used to provide a medium for a communication link between the terminal device 103 and the server 101. The network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0040] In an exemplary embodiment, the terminal device 103 that performs data transmission with the server 101 has a display screen and a voice input function, and may include, but is not limited to, electronic devices of types such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, AR (Augmented Reality) devices, VR (Virtual Reality) devices, smart wearable devices, etc. Alternatively, the terminal device 103 may also be a personal computer, such as a laptop portable computer and a desktop computer, etc. Optionally, the operating system running on the electronic device may include, but is not limited to, Android system, IOS system, linux, windows, etc.

[0041] Server 101 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some practical applications, server 101 may also be a server of a network platform, and the network platform may be, for example, a trading platform, a live broadcast platform, a social platform, or a music platform, etc., and the embodiments of the present disclosure do not limit this. Among them, the server may be a single server or a cluster formed by multiple servers, and the present disclosure does not limit the specific architecture of the server.

[0042] In an exemplary embodiment, the image processing method may be implemented by the terminal device 103. For example, the terminal device 103 displays a multimedia page, and the multimedia page includes an image to be processed; the terminal device 103 receives a voice command for the image to be processed, parses the voice command, and determines an image processing task corresponding to the voice command; the terminal device 103 performs image retouching processing on the image to be processed according to the image processing task, obtains a target image corresponding to the image to be processed, and displays the target image on the multimedia page.

[0043] In an exemplary embodiment, the image processing method may also be jointly implemented by the server 101 and the terminal device 103. For example, the terminal device 103 displays a multimedia page, and the multimedia page includes an image to be processed; the terminal device 103 receives a voice command for the image to be processed, transfers the voice command to the server 101, and the server 101 parses the voice command, determines an image processing task corresponding to the voice command, and transfers the image processing task to the terminal device 103; the terminal device 103 performs image retouching processing on the image to be processed according to the image processing task, obtains a target image corresponding to the image to be processed, and displays the target image on the multimedia page.

[0044] In addition, it should be noted that Figure 1 The shown is only an application environment of the image processing method provided by the present disclosure. Figure 1 The numbers of the terminal devices, networks, and servers in are only illustrative. According to actual needs, there may be any number of terminal devices, networks, and servers.

[0045] To enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the following will describe each step of the image processing method in the exemplary embodiments of the present disclosure in more detail with reference to the accompanying drawings and embodiments.

[0046] Figure 2 is a flowchart of an image processing method shown according to an exemplary embodiment,Figure 2 The execution subject of the method provided by the embodiment can be any electronic device with a display screen and a voice input function, such as Figure 1 the terminal device 103 in the embodiment, but the present disclosure is not limited thereto.

[0047] As Figure 2 shown, the image processing method may include the following steps S210 to step S230.

[0048] Step S210: Display a multimedia page, where the multimedia page includes an image to be processed.

[0049] In the embodiments of the present disclosure, the multimedia page may be a display interface in a multimedia application installed on the terminal device 103. The multimedia application can provide an image editing function. The specific type of the multimedia application is not limited. For example, it can be an image editing application or a photo retouching application, etc., and it can also be other types of application programs. The user can register an account and log in to the multimedia application.

[0050] Among them, the image to be processed refers to an image that needs to be edited. The image to be processed is displayed through the multimedia page.

[0051] In some embodiments of the present disclosure, the multimedia page further includes a voice control control. Among them, the image processing method further includes: in response to a trigger operation on the voice control control, starting a voice retouching function; or receiving a voice control instruction, and in response to the voice control instruction, starting a voice retouching function.

[0052] The voice control control can be understood as a control for starting the voice retouching function. The voice control control can be displayed on the multimedia page. The user can perform a trigger operation on the voice control control to start the voice retouching function, that is, start the function of retouching the image by voice input from the user. In order to facilitate the user to find the voice control control, the voice control control can be highlighted or flashed on the multimedia page.

[0053] In addition, in addition to starting the voice retouching function through the voice control control, the voice retouching function can also be started by a voice control instruction. For example, after displaying the image to be processed through the multimedia page or entering the multimedia application, the user can say an instruction such as "turn on voice retouching", and then perform natural language understanding on the voice instruction input by the user, recognize the user's intention, and start the voice retouching function.

[0054] In the embodiments of the present disclosure, in order to let the user clearly know that the voice retouching function can be provided, after entering the multimedia application or after displaying the image to be processed through the multimedia page, it can be informed to the user by voice broadcast that the voice retouching function can be started by triggering the voice control control or inputting a voice control instruction.

[0055] In some embodiments of the present disclosure, the multimedia page further includes an image editing control. Wherein, the image processing method further includes: in response to a trigger operation on the image editing control, performing image retouching processing on the image to be processed.

[0056] The image editing control can be understood as a control for performing image editing processing. The image editing control can be displayed on the multimedia page, and the user can perform a trigger operation on the image editing control, and then perform image retouching processing on the image to be processed displayed on the multimedia page through the image editing control. For example, the image editing control can include a zoom and move control, a rotation control, a brush control, a cropping control, a text adding control, a sticker control, etc.

[0057] Figure 3 is a schematic diagram of a multimedia page shown according to an exemplary embodiment. As Figure 3 shown, the multimedia page can include an image display area 301 and an editing area 302. Among them, the image display area 301 is used to display the image to be processed that needs to be retouched, and the editing area 302 can include various controls for image processing.

[0058] Figure 3 Among them, the editing area 302 can include a voice control control 3021, a zoom and move control 3022, a rotation control 3023, and a brush control 3024. Among them, the user can start the voice retouching function by triggering the voice control control 3021. In addition, the zoom and move control 3022, the rotation control 3023, and the brush control 3024 are all image editing controls for performing image processing. In addition to these controls, it can also include a cropping control, a background blurring control, a matte extraction control, etc. Specifically, the required image editing controls can be set according to actual needs.

[0059] In the embodiments of the present disclosure, the multimedia page includes a voice control control. The user can start the voice retouching function by triggering the voice control control, or the user can start the voice retouching function by inputting a voice control instruction. Then, the user performs image retouching processing on the image to be processed through the voice instruction. In addition, the multimedia page can include an image editing control, so that the user can directly use the image editing control to perform image retouching processing on the image to be processed, or the user can perform image retouching processing on the image to be processed through the image editing control when the voice retouching is not satisfactory. In this way, for users with image processing skills and experience, they can directly edit the image to be processed through the image editing control; for users who have difficulty using image processing software or beginners of image processing software, they can perform retouching processing through voice instructions; for cases where the voice retouching is inaccurate, the image editing control can be used to adjust the voice retouching result to obtain a retouching effect that meets the user's expectations.

[0060] Step S220: Receive a voice command for the image to be processed, parse the voice command, and determine the image processing task corresponding to the voice command.

[0061] The voice command for the image to be processed refers to the voice information input by the user, and this voice information contains the user's intention of retouching the image to be processed. For example, if the image to be processed is a group photo of person A standing and person B sitting, and the voice command is "Change the upper garment of the standing person to red", that is, the user's retouching intention is to adjust the upper garment of person A to red.

[0062] After receiving the voice command for the image to be processed, perform voice recognition on the voice command to obtain the target text information corresponding to the voice command; then perform semantic understanding on the target text based on the context information of the target text information to obtain the user's retouching intention information, and generate an image processing task according to the retouching intention information.

[0063] Among them, the context information of the target text information can be understood as the context, background or situation and other information where the target text information is located. When performing semantic understanding, it is necessary to consider the context in which the target text information is located in order to better understand its meaning. This context may include keywords, grammatical structures, logical relationships between sentences, background knowledge related to specific topics or fields, etc. For example, if the target text information is "I want sunny days", without semantic understanding based on context information, it will be considered as asking about the weather; if the situation of the target text information is playing a song, then it may be understood that the user wants to play a song named Sunny Days; if the situation of the target text information is image retouching, then the target text information is understood as a retouching instruction, and it can be concluded that the user's intention may be to add a sunny days mark to the image.

[0064] In the embodiments of the present disclosure, when performing semantic understanding on the target text information based on the context information of the target text information, it means using the context, background or situation and other information where the target text information is located to better understand the meaning of the target text, so that the obtained user's retouching intention information is more accurate.

[0065] Step S230: Perform retouching processing on the image to be processed according to the image processing task, obtain the target image corresponding to the image to be processed, and display the target image on the multimedia page.

[0066] After parsing and recognizing a voice command to obtain an image processing task, the image processing task can be executed to perform image retouching on the image to be processed displayed on the multimedia page, obtaining a target image after the retouching process, and displaying the target image after the retouching process through the multimedia page. Continuing with the above example, the image to be processed is a group photo of person A standing and person B sitting, and the user's retouching intention is to adjust the upper garment of person A to red. Finally, the obtained target image is a group photo of person A standing and person B sitting, and the upper garment of person A is red.

[0067] The image processing task is generated according to the user's retouching intention information. In the embodiments of the present disclosure, the image processing task may include an area to be adjusted, that is, the area in the image to be processed that the user expects to perform retouching on. For example, if the voice command input by the user is "I want to adjust the person on the left", the area to be adjusted is the person on the left in the image to be processed.

[0068] In addition to the area to be adjusted, the image processing task also includes an image operation intention, that is, the specific operation that the user expects to perform on the image to be processed, such as operations of adjusting color, cropping, adjusting light and shadow, adding filters, adding special effects, etc. For example, if the voice command input by the user is "I want to adjust the upper garment of the person on the left to red", the area to be adjusted is the person on the left in the image to be processed, and the image operation intention is to adjust the upper garment of this person to red.

[0069] Specifically, after obtaining the image processing task, the image processing task can be executed through StyleCLIP (i.e., an open-source image processing technology) to perform retouching on the image to be processed. Among them, StyleCLIP is a new type of image processing technology that combines StyleGAN and CLIP. StyleGAN is a generative adversarial network that can quickly generate a large number of style-based images, and CLIP is a Transformer-based image-text multimodal model that can be used for image and text matching. StyleCLIP can modify and process images only based on text descriptions.

[0070] In the embodiments of the present disclosure, if the image processing task includes an area to be adjusted and an image operation intention, the image processing task can be executed to perform retouching on the image to be processed; if the image processing task does not include an image operation intention, voice interaction can be carried out with the user to guide the user to input a specific image operation intention. Next, the process of performing retouching on the image to be processed according to the image processing task to obtain a target image is described through specific embodiments.

[0071] Figure 4 It is a process diagram of performing retouching on the image to be processed to obtain a target image shown according to an exemplary embodiment. Figure 4It shows the specific steps of retouching the image to be processed according to the image processing task to obtain the target image corresponding to the image to be processed.

[0072] In Figure 4 the embodiment, the image processing task includes a first area to be adjusted and a first image operation intention, and the specific retouching process may include the following steps.

[0073] Step S410: Select the first area to be adjusted in the image to be processed.

[0074] During the execution of the image processing task, first use the selection tool to select the first area to be adjusted in the image to be processed. Among them, the selection tool may include a rectangular marquee tool, a circular marquee tool, an elliptical marquee tool, or may also include other shaped marquee tools. In the embodiments of the present disclosure, it is possible to default to use a marquee tool of a certain shape to select the area to be adjusted, or to select the area to be adjusted according to a user instruction using a marquee tool of a certain shape.

[0075] In some embodiments of the present disclosure, after selecting the first area to be adjusted in the image to be processed, the image processing method further includes: generating and playing a voice for completing the selection of the corresponding area of the first area to be adjusted; receiving the first response voice corresponding to the voice for completing the selection of the area, parsing the first response voice, and obtaining the first intention recognition result corresponding to the first response voice; if the first intention recognition result is area adjustment, adjusting the area range of the first area to be adjusted according to the first intention recognition result.

[0076] After selecting the first area to be adjusted, generate a voice for completing the selection of the area and play the generated voice to the user, so that it is possible to confirm with the user through voice interaction whether the selected area is the area where the user expects to perform retouching. Then, receive the first response voice of the user for the voice for completing the selection of the area, and parse the first response voice to obtain the first intention recognition result corresponding to the first response voice. Next, judge whether the first intention recognition result is to adjust the selected area. If so, adjust the selected area according to the specific adjustment information in the first intention recognition result. If not, it can be confirmed that the selected area is the area where the user expects to perform retouching.

[0077] In the embodiments of the present disclosure, after adjusting the area range of the first area to be adjusted according to the first intention recognition result, it is possible to generate and play a voice for completing the area adjustment to confirm with the user whether the adjusted area meets the user's expectations, receive the response voice of the user for the voice for completing the area adjustment, parse the response voice to obtain the user's intention. If the user's intention is to confirm the area adjustment, it is confirmed that the area selection is completed. If the user's intention is to continue to adjust, the area needs to be adjusted again until the area selection is completed.

[0078] In addition, in the case where multiple area adjustments still do not meet the user's expectations, the selected area on the multimedia page can be flashed, and voice guidance can be played to guide the user to operate on the multimedia page to adjust the area range of the selected area, thereby reducing the poor user experience brought to the user when multiple adjustments do not meet the user's expectations.

[0079] In some embodiments of the present disclosure, after the first area to be adjusted is selected from the image to be processed, the image processing method further includes: magnifying and displaying the image of the first area to be adjusted on the multimedia page according to a first preset display ratio; and hiding and displaying the image to be processed on the multimedia page, or reducing and displaying the image to be processed on the multimedia page according to a second preset display ratio.

[0080] After the first area to be adjusted is selected, the selected area can be magnified and displayed according to the first preset display ratio. That is to say, after the first area to be adjusted is selected, the selected first area to be adjusted can be extracted, and then the extracted area can be magnified and displayed. And, after the first area to be adjusted is selected, the image to be processed can also not be displayed on the multimedia page, or the image to be processed displayed on the multimedia page can be reduced according to the second preset display ratio. For example, the image to be processed can be displayed in the lower right corner of the multimedia page. In this way, it is convenient for the user to confirm whether the selected area is the area where image retouching is expected, and it is also convenient to show the user the specific image retouching operations on this area.

[0081] Of course, in the embodiments of the present disclosure, after the first area to be adjusted is selected, the selected area and the image to be processed may not be adjusted, and subsequent image retouching processing may be directly performed on the selected area on the image to be processed.

[0082] In the embodiments of the present disclosure, after the first area to be adjusted is obtained, if the first area to be adjusted is not found in the image to be processed, the image recognition result of the image to be processed is compared with the image processing task corresponding to the voice command. If it is determined after comparison that there is no area to be adjusted in the image recognition result in this image processing task, a voice indicating that the area to be adjusted is not found is generated, so that the user can re-enter the voice command, and a voice guiding the user to point out the area to be adjusted on the multimedia page can also be generated, so that the user can mark the area to be adjusted on the multimedia page.

[0083] For example, if the voice command is to adjust the color of the apple in the image, but the apple in the image is not recognized, "I didn't find the target. You can adjust the description or mark the apple on the image with your finger" can be played to the user.

[0084] Figure 5 is a schematic diagram of selecting an area to be adjusted from an image to be processed shown according to an exemplary embodiment, Figure 6It is a schematic diagram showing the adjustment of the selected area according to an exemplary illustration. The image to be processed is Figure 3 the image to be processed shown in the embodiment. The voice command input by the user is that I want to make the hair of the person on the left darker. During the image retouching process, first use the rectangular marquee to select the head of the person on the left, as Figure 5 shown, select and enlarge the head of the person on the left in the image to be processed, and the image to be processed is not displayed on the multimedia page. Then, generate and play to the user "The area to be adjusted has been selected. Please confirm whether you are satisfied". The user responds "Enlarge it. I can't see clearly". After receiving the user's response, enlarge the selected area to obtain Figure 6 the schematic diagram showing the enlarged display of the selected area as shown, and generate and play to the user "Is this okay?". The user can respond "Okay".

[0085] Step S420: Perform image retouching on the original image of the first area to be adjusted according to the first image operation intention, and obtain the image after retouching of the first area to be adjusted.

[0086] The first image operation intention includes a first operation type. Among them, the operation type refers to the method or means adopted to achieve the retouching effect corresponding to the voice input by the user, such as selection, movement, scaling, rotation, deformation, color adjustment, deletion, etc.

[0087] After confirming the first operation type, the first operation parameter corresponding to the first operation type can be obtained according to the pre-established correspondence between the operation type and the operation parameter. Among them, the operation parameter refers to the parameter that needs to be adjusted during the image retouching process, such as area, direction, size, ratio, angle, color, etc. Table 1 is the correspondence table between the operation type and the operation parameter. Table 1 shows the operation parameters corresponding to the operation types of global retouching, selection, movement, scaling, rotation, deformation, and color adjustment. Table 1 also shows the typical sentences matching the operation type and the operation parameter.

[0088] Table 1 is the correspondence table between the operation type and the operation parameter

[0089] Operation type Operation parameter Typical sentence pattern Global image retouching Image retouching method One-click image retouching with a more vintage style Select Region, target I want to adjust the head on the far left Move Direction, size Move a little to the left and move up halfway Zoom Ratio Enlarge by twice, enlarge a bit Rotate Angle Rotate clockwise half a turn Deform Method, size Widen the person a bit Color correction Region, color Make the hair darker

[0090] In step S420, obtain the first operation type in the first image operation intention, and determine the first operation parameter corresponding to the first operation type based on the pre-established correspondence between the operation type and the operation parameter. In this way, the original image of the area to be adjusted selected can be retouched according to the first operation type and the first operation parameter, and the image after retouching of the area to be adjusted can be obtained.

[0091] Figure 7It is a schematic diagram showing the retouching process of the original image of the selected area according to an exemplary embodiment. The voice command input by the user is "I want to darken the hair of the person on the left." Figure 6 The shown area is the selected area confirmed by the user. Figure 7 Retouch the original image of the selected area, that is, darken the hair of the person in the selected area.

[0092] In some embodiments of the present disclosure, after retouching the original image of the first area to be adjusted according to the first image operation intention and obtaining the retouched image of the first area to be adjusted, the image processing method further includes: generating and playing a voice indicating that the retouching is completed corresponding to the first image operation intention; receiving a second response voice corresponding to the voice indicating that the retouching is completed, parsing the second response voice, and obtaining a second intention recognition result corresponding to the second response voice; if the second intention recognition result is a retouching operation intention, retouch the retouched image according to the second intention recognition result to update the retouched image.

[0093] After retouching, generate a voice indicating that the retouching is completed and play the generated voice to the user, so that it can be confirmed through voice interaction whether the retouching effect is what the user expects. Then, receive the second response voice of the user for the voice indicating that the retouching is completed, and parse the second response voice to obtain the second intention recognition result corresponding to the second response voice. Next, determine whether the second intention recognition result is a retouching operation intention, that is, whether the image needs to be retouched continuously. If so, retouch the retouched image according to the second intention recognition result. If not, it can be confirmed that the current retouching operation is the retouching effect expected by the user.

[0094] Continuing with the above example, after darkening the hair of the person in the selected area, generate and play "The hair has been darkened. Please confirm whether you are satisfied." If the user responds "Almost done", it means the adjustment is completed. If the user responds "Please readjust and add a star hairpin to the hair", parse the response voice of the user to obtain that retouching needs to be continued, and use the sticker tool to add a star hairpin sticker to the hair.

[0095] In the embodiments of the present disclosure, after retouching the retouched image according to the second intention recognition result, a voice indicating that the retouching is completed can be generated and played to confirm to the user whether the image after the second retouching meets the user's expectations, receive the response voice of the user, parse the response voice to obtain the user's intention. If the user's intention is to confirm, it is confirmed that the retouching of the selected image area is completed. If the user's intention is to continue retouching, retouching needs to be performed again until the user is satisfied.

[0096] In addition, when the image retouching process still does not meet the user's expectations after multiple retouching operations, the image editing control on the multimedia page can be flashed, and voice guidance can be played to guide the user to perform retouching on the selected image area, thereby reducing the poor user experience caused when the multiple retouching operations do not meet the user's expectations.

[0097] In an embodiment of the present disclosure, after obtaining the image after retouching the first area to be adjusted, the image after retouching can be saved, and a mapping relationship between the image after retouching and the original image of the first area to be adjusted can be established. In this way, after the image after retouching is superimposed on the image to be processed, if the user is not satisfied with the image effect, the original image can be obtained, and then the user can perform retouching on the original image again through a voice command.

[0098] Step S430: Update the original image of the first area to be adjusted with the image after retouching the first area to be adjusted to obtain a target image.

[0099] After obtaining the image after retouching the first area to be adjusted, replace the original image of the first area to be adjusted in the image to be processed with the image after retouching to obtain the target image corresponding to the image to be processed.

[0100] Figure 8 It is a schematic diagram of the target image obtained after retouching the area to be adjusted according to an exemplary embodiment. As Figure 8 shown, after darkening the hair of the person on the left, the processed image is merged into the original image to obtain the target image.

[0101] Figure 9 It is a process diagram of retouching the image to be processed to obtain a target image according to another exemplary embodiment. Figure 9 It shows the specific steps of retouching the image to be processed according to the image processing task to obtain the target image corresponding to the image to be processed.

[0102] Different from Figure 4 the embodiment, in Figure 9 the embodiment, the image processing task does not include the image operation intention and only includes the area to be adjusted, that is, the second area to be adjusted. The specific retouching process can include the following steps.

[0103] Step S910: Select the second area to be adjusted in the image to be processed.

[0104] During the execution of the image processing task, first use the selection tool to select the second area to be adjusted in the image to be processed. In addition, after the second area to be adjusted is selected, it is possible to confirm with the user through voice interaction whether the selected area is the area where the user expects to perform image retouching, and determine whether to adjust the selected area based on the user's response voice; after the second area to be adjusted is selected, the selected area can be enlarged and displayed; and, if the second area to be adjusted cannot be queried, the user can be guided to re-enter a voice command or to point out the area to be adjusted. Since the processing of the second area to be adjusted is similar to that of the first area to be adjusted, it will not be elaborated here.

[0105] Step S920: Generate and play a voice guidance for the operation intention.

[0106] Step S930: Receive the third response voice corresponding to the voice guidance for the operation intention, parse the third response voice, and obtain the third intention recognition result corresponding to the third response voice; the third intention recognition result includes the second image operation intention.

[0107] In the embodiments of the present disclosure, the user can be guided by voice to input a voice related to the image operation intention, so as to determine the user intention according to the voice input by the user. The specific implementation is to generate and play a voice guidance for the operation intention, for example, generate and play "The area you need to adjust has been selected. How do you want to adjust it?". Then, receive the third response voice of the user to the guidance voice, and parse the third response voice to obtain the third intention recognition result corresponding to the third response voice. Among them, the third intention recognition result includes the second image operation intention, that is, how the user wants to perform image retouching.

[0108] Step S940: Perform image retouching processing on the original image of the second area to be adjusted according to the second image operation intention, and obtain the image after the retouching processing of the second area to be adjusted.

[0109] The second image operation intention includes a second operation type. Obtain the second operation type in the second image operation intention, and determine the second operation parameter corresponding to the second operation type based on the pre-established correspondence between the operation type and the operation parameter. In this way, the original image of the selected area to be adjusted can be retouched according to the second operation type and the second operation parameter, and the image after the retouching processing of the area to be adjusted can be obtained.

[0110] In the embodiments of the present disclosure, after performing image retouching according to the second image operation intention, it is possible to confirm with the user through voice interaction whether the retouched image obtained is the retouching effect expected by the user, and judge whether to continue the retouching process according to the user's response voice until the retouching effect satisfactory to the user is obtained. Also, in the case where the retouching process still does not meet the user's expectations after multiple retouching operations, the image editing control on the multimedia page can be blinked, and a voice can be played to guide the user to perform retouching on the selected image area, so as to reduce the bad user experience brought to the user when the retouching process does not meet the user's expectations after multiple retouching operations. Further, after obtaining the retouched image of the second area to be adjusted, the retouched image can be saved, and a mapping relationship between the retouched image and the original image of the second area to be adjusted can be established, so that the original image can be obtained for re-retouching when the user is not satisfied with the retouching effect.

[0111] Step S950: Update the original image of the second area to be adjusted with the retouched image of the second area to be adjusted to obtain a target image.

[0112] After obtaining the retouched image of the second area to be adjusted, replace the original image of the second area to be adjusted in the image to be processed with the retouched image to obtain the target image corresponding to the image to be processed.

[0113] In the embodiments of the present disclosure, during the process of retouching the image to be processed according to the image processing task, it is possible to confirm through voice interaction whether the selected area to be adjusted is the area that the user expects to adjust, and whether the obtained retouched image is the expected effect, and it is also possible to guide the user to operate on the multimedia page through voice, so that the user can adjust the selected area and the specific retouching operations performed by himself.

[0114] In some embodiments of the present disclosure, after obtaining the target image corresponding to the image to be processed, the image processing method further includes: generating and playing a voice indicating that the image processing is completed; receiving the fourth response voice corresponding to the voice indicating that the image processing is completed, parsing the fourth response voice, and obtaining the fourth intention recognition result corresponding to the fourth response voice; if the fourth intention recognition result is that the retouching is not completed, perform retouching on the target image according to the fourth intention recognition result.

[0115] After obtaining the target image, generate and play a voice indicating that the image processing is completed to confirm with the user whether to continue retouching, receive the user's response voice, parse the response voice to obtain the user's intention. If the user's intention is that the retouching is not completed, it is necessary to continue retouching the target image according to the user's intention. If the user's intention is that the retouching is completed, the target image with the retouching completed can be saved.

[0116] Continuing with the above example, after obtaining Figure 8 the target image described above, generate and play "Please see if you are satisfied with my retouching result", and then receive the user's response voice. If the user responds with "Yes, this effect is fine", it means the retouching is completed. If the user responds with "It still needs to be modified. Delete the bird in the background", then the target image needs to be retouched to select and delete the bird.

[0117] In the embodiments of the present disclosure, the target image is stored, and the target image is mapped with the image to be processed. When the user is not satisfied with the target object later, the image to be processed corresponding to the target image can be obtained and the image to be processed is displayed on the multimedia page, so that the user can retouch the image to be processed again through voice commands.

[0118] Figure 10 It is a processing flowchart of the user input voice shown according to an exemplary embodiment. Figure 10 It shows the process of the terminal device processing the user input voice after receiving it. Specifically, the terminal device can process the user input voice through a voice recognition module, a context-based central control module, an image task processor, an image storage module, a response task processor, a natural language generation module, and a voice synthesis module.

[0119] The user input voice can include voice commands, the first response voice, the second response voice, the third response voice, and the fourth response voice. As Figure 10 shown, the specific process of processing the user input voice is as follows:

[0120] Step S1001, transmit the user input voice to the voice recognition module, and perform text recognition on the user input voice through the voice recognition module to obtain text information;

[0121] Step S1002, input the recognized text information into the context-based central control module, and perform natural language understanding on the input text information through the context-based central control module to generate an image task instruction;

[0122] Step S1003, input the image task instruction into the image task processor, and execute the image task instruction through the image task processor to perform retouching processing to obtain the retouched image;

[0123] Step S1004, transmit the retouched image to the image storage module, and save the image through the image storage module to obtain the address of the saved image;

[0124] Step S1005, generate and output a response voice for the user input voice through the response task processor, the natural language generation module, and the voice synthesis module;

[0125] Step S1006, generate an interaction instruction through the response task processor, and continue voice interaction through this interaction instruction.

[0126] Among them, the image task processor may include a one - key image retouching sub - module, an image recognition sub - module, and a text - driven image editing sub - module. The one - key image retouching sub - module is used to provide intelligent one - key operations, such as "one - key image retouching", "one - key whitening", "one - key face slimming", etc.; the image recognition sub - module is used to recognize people, animals, etc. in the image; the text - driven image editing sub - module is used to edit and process the image using text information description, and this sub - module can edit and process the image based on the open - source technology StyleCLIP.

[0127] In the embodiments of the present disclosure, it is possible to perform parsing processing on the user - input voice, obtain an image task instruction corresponding to the user - input voice, and then execute the image task instruction to perform image retouching processing on the image, so as to realize image processing through voice. And it can also generate a response voice and an interaction instruction for the user - input voice to realize voice interaction with the user, so as to continuously perform voice interaction with the user during the image retouching process, and finally can meet the image retouching effect expected by the user, solving the problem that some users cannot better use image - processing software to process images because the existing image - processing software does not consider the skill levels of different users.

[0128] Figure 11 It is a block diagram of an image - processing device shown according to an exemplary embodiment. Figure 11 The shown image - processing device 1100 includes: a display unit 1110, a voice parsing unit 1120, and an image - processing unit 1130.

[0129] Among them, the display unit 1110 can be used to: display a multimedia page, and this multimedia page includes the image to be processed; the voice parsing unit 1120 can be used to: receive a voice instruction for the image to be processed, parse the voice instruction, and determine the image - processing task corresponding to the voice instruction; the image - processing unit 1130 can be used to: perform image retouching processing on the image to be processed according to the image - processing task, and obtain the target image corresponding to the image to be processed; the display unit 1110 can also be used to: display the target image on the multimedia page.

[0130] In some embodiments of the present disclosure, the image - processing task includes a first area to be adjusted and a first image operation intention. Among them, the image - processing unit 1130 can also be used to: frame out the first area to be adjusted in the image to be processed; perform image retouching processing on the original image of the first area to be adjusted according to the first image operation intention, and obtain the image of the first area to be adjusted after retouching processing; use the image of the first area to be adjusted after retouching processing to update the original image of the first area to be adjusted, and obtain the target image.

[0131] In some embodiments of the present disclosure, the image processing device 1100 further includes a voice synthesis unit 1140. Among them, the voice synthesis unit 1140 can be used to: generate and play the voice indicating the completion of the selection of the first area to be adjusted; the voice parsing unit 1120 can also be used to: receive the first response voice corresponding to the voice indicating the completion of the selection of the area, parse the first response voice, and obtain the first intent recognition result corresponding to the first response voice; the image processing unit 1130 can also be used to: if the first intent recognition result is area adjustment, adjust the area range of the first area to be adjusted according to the first intent recognition result.

[0132] In some embodiments of the present disclosure, the display unit 1110 can also be used to: magnify and display the image of the first area to be adjusted on the multimedia page according to the first preset display ratio; and hide and display the image to be processed on the multimedia page, or reduce and display the image to be processed on the multimedia page according to the second preset display ratio.

[0133] In some embodiments of the present disclosure, the voice synthesis unit 1140 can also be used to: generate and play the voice indicating the completion of image retouching corresponding to the first image operation intent; the voice parsing unit 1120 can also be used to: receive the second response voice corresponding to the voice indicating the completion of image retouching, parse the second response voice, and obtain the second intent recognition result corresponding to the second response voice; the image processing unit 1130 can also be used to: if the second intent recognition result is an image retouching operation intent, perform image retouching processing on the image after retouching according to the second intent recognition result to update the image after retouching.

[0134] In some embodiments of the present disclosure, the image processing task includes a second area to be adjusted. Among them, the image processing unit 1130 can also be used to: frame out the second area to be adjusted in the image to be processed; generate and play the voice guiding the operation intent; receive the third response voice corresponding to the voice guiding the operation intent, parse the third response voice, and obtain the third intent recognition result corresponding to the third response voice; the third intent recognition result includes a second image operation intent; perform image retouching processing on the original image of the second area to be adjusted according to the second image operation intent to obtain the image after retouching of the second area to be adjusted; use the image after retouching of the second area to be adjusted to update the original image of the second area to be adjusted to obtain the target image.

[0135] In some embodiments of the present disclosure, the voice synthesis unit 1140 can also be used to: generate and play the voice indicating the completion of image processing; the voice parsing unit 1120 can also be used to: receive the fourth response voice corresponding to the voice indicating the completion of image processing, parse the fourth response voice, and obtain the fourth intent recognition result corresponding to the fourth response voice; the image processing unit 1130 can also be used to: if the fourth intent recognition result is that the retouching is not completed, perform image retouching processing on the target image according to the fourth intent recognition result.

[0136] In some embodiments of the present disclosure, the multimedia page further includes a voice control control. Among them, the image processing device 1100 further includes a function startup unit 1150, which can be used to: in response to a trigger operation on the voice control control, start the voice image retouching function; receive a voice control instruction, and in response to the voice control instruction, start the voice image retouching function.

[0137] In some embodiments of the present disclosure, the multimedia page further includes an image editing control. Among them, the image processing unit 1130 can also be used to: in response to a trigger operation on the image editing control, perform image retouching processing on the image to be processed.

[0138] Regarding the device in the above embodiments, the specific manners in which each unit performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0139] Figure 12 is a structural block diagram of an electronic device shown according to an exemplary embodiment. The following refers to Figure 12 to describe the electronic device 1200 according to this embodiment of the present disclosure. Figure 12 The electronic device 1200 shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.

[0140] As Figure 12 shown, the electronic device 1200 is presented in the form of a general-purpose computing device. The components of the electronic device 1200 may include but are not limited to: at least one of the above-mentioned processing units 1210, at least one of the above-mentioned storage units 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.

[0141] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 1210, so that the processing unit 1210 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 1210 can execute the following steps: Step S210, display a multimedia page, which includes an image to be processed, specifically, a multimedia page including the image to be processed can be displayed through the display unit 1240; Step S220, receive a voice instruction for the image to be processed, parse the voice instruction, and determine an image processing task corresponding to the voice instruction; Step S230, perform image retouching processing on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed, and display the target image on the multimedia page.

[0142] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1221 and a cache storage unit 1222, and may further include a read-only storage unit (ROM) 1223.

[0143] The storage unit 1220 may also include a program / utilities 1224 having a set (at least one) of program modules 1225. Such program modules 1225 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.

[0144] The bus 1230 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0145] The electronic device 1200 may also communicate with one or more external devices 1300 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and with any device that enables the electronic device 1200 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be through the input / output (I / O) interface 1250. Also, the electronic device 1200 may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and a public network, such as the Internet) through the network adapter 1260. As shown in the figure, the network adapter 1260 communicates with other modules of the electronic device 1200 through the bus 1230. It should be understood that, although not shown in the figure, other hardware and software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0146] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0147] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of the device to complete the above method. Optionally, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0148] In an exemplary embodiment, a computer program product is also provided, including a computer program and instructions, and when the computer program and instructions are executed by a processor, the online file processing method in the above embodiment is implemented.

[0149] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0150] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. An image processing method, characterized in that, The method includes: Displaying a multimedia page; the multimedia page includes an image to be processed; Receiving a voice command for the image to be processed, parsing the voice command, and determining an image processing task corresponding to the voice command; Performing image retouching on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed, and displaying the target image on the multimedia page.

2. The method according to claim 1, characterized in that, The image processing task includes a first area to be adjusted and a first image operation intention; Wherein, performing image retouching on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed includes: Selecting the first area to be adjusted in the image to be processed; Performing image retouching on the original image of the first area to be adjusted according to the first image operation intention to obtain an image of the first area to be adjusted after retouching; Updating the original image of the first area to be adjusted with the image of the first area to be adjusted after retouching to obtain the target image.

3. The method according to claim 2, characterized in that, After selecting the first area to be adjusted in the image to be processed, the method further includes: Generating and playing a voice for completion of area selection corresponding to the first area to be adjusted; Receiving a first response voice corresponding to the voice for completion of area selection, parsing the first response voice, and obtaining a first intention recognition result corresponding to the first response voice; If the first intention recognition result is area adjustment, adjusting the area range of the first area to be adjusted according to the first intention recognition result.

4. The method according to claim 2, characterized in that, After selecting the first area to be adjusted in the image to be processed, the method further includes: Zooming in and displaying the image of the first area to be adjusted on the multimedia page according to a first preset display ratio; and Hiding and displaying the image to be processed on the multimedia page, or zooming out and displaying the image to be processed on the multimedia page according to a second preset display ratio.

5. The method according to claim 2, characterized in that, After performing image retouching on the original image of the first area to be adjusted according to the first image operation intention to obtain an image of the first area to be adjusted after retouching, the method further includes: Generating and playing a voice for completion of retouching corresponding to the first image operation intention; Receiving a second response voice corresponding to the voice for completion of retouching, parsing the second response voice, and obtaining a second intention recognition result corresponding to the second response voice; If the second intention recognition result is a retouching operation intention, performing image retouching on the image after retouching according to the second intention recognition result to update the image after retouching.

6. The method according to claim 1, characterized in that, The image processing task includes a second area to be adjusted; Wherein, performing image retouching on the image to be processed according to the image processing task to obtain a target image corresponding to the image to be processed includes: Selecting the second area to be adjusted in the image to be processed; Generating and playing a voice for guiding operation intention; Receive a third response voice corresponding to the operation intention guiding voice, parse the third response voice, and obtain a third intention recognition result corresponding to the third response voice; the third intention recognition result includes a second image operation intention; Perform image retouching processing on the original image of the second area to be adjusted according to the second image operation intention, and obtain an image after retouching processing of the second area to be adjusted; Update the original image of the second area to be adjusted with the image after retouching processing of the second area to be adjusted, and obtain the target image.

7. The method according to claim 1, characterized in that, After displaying the target image on the multimedia page, the method further includes: Generate and play a voice indicating that image processing is completed; Receive a fourth response voice corresponding to the voice indicating that image processing is completed, parse the fourth response voice, and obtain a fourth intention recognition result corresponding to the fourth response voice; If the fourth intention recognition result is that image retouching is not completed, perform image retouching processing on the target image according to the fourth intention recognition result.

8. The method according to any one of claims 1 to 7, characterized in that, The multimedia page further includes a voice control control; wherein, the method further includes: in response to a trigger operation on the voice control control, starting a voice retouching function; or The method further includes: receiving a voice control instruction, and in response to the voice control instruction, starting the voice retouching function.

9. According to the method of any one of claims 1 to 7, characterized in that, The multimedia page further includes an image editing control; wherein, the method further includes: In response to a trigger operation on the image editing control, perform image retouching processing on the image to be processed.

10. An image processing apparatus, characterized in that, The device includes: A display unit for displaying a multimedia page; the multimedia page includes an image to be processed; A voice parsing unit for receiving a voice instruction for the image to be processed, parsing the voice instruction, and determining an image processing task corresponding to the voice instruction; An image processing unit for performing image retouching processing on the image to be processed according to the image processing task, and obtaining a target image corresponding to the image to be processed; The display unit is further configured to display the target image on the multimedia page.

11. A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the image processing method according to any one of claims 1 to 9.

12. An electronic device, characterized in that, Includes: A processor; And a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the image processing method according to any one of claims 1 to 9 by executing the executable instructions.