Picture processing method, electronic equipment and electronic equipment cluster

By displaying picture reviews on electronic devices and automatically editing, the problem of cumbersome image editing process and unsatisfactory results is solved, and the goal of simplifying operations and improving editing results is achieved.

CN119987910APending Publication Date: 2025-05-13HUAWEI TECH CO LTD

Patent Information

Application Number
CN202411463322.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the image editing process is cumbersome, which depends on the user's proficiency in the operation of the tool and personal aesthetics, resulting in the final effect being unsatisfactory.

Method used

A picture processing method is provided to display image reviews based on visual effect attributes through electronic devices, analyze visual effect standards that the picture does not meet, and automatically edit pictures based on the review to meet these standards.

Benefits of technology

It simplifies the operation process of image editing, improves the editing effect, reduces the difficulty of user operations, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987910A_ABST
    Figure CN119987910A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a picture processing method, electronic equipment and an electronic equipment cluster. The invention relates to the technical field of computers. The picture processing method provided by the embodiment of the invention is applied to electronic equipment. Specifically, the picture processing method provided by the embodiment of the invention comprises the following steps: displaying at least one first picture review, and displaying a second picture. Wherein the first picture is evaluated to be obtained by analyzing the first picture based on a visual effect standard corresponding to the visual effect attribute; the first picture review comprises information describing that the first picture does not meet the corresponding visual effect standard; the second picture is generated by editing the first picture by taking all or part of visual effect attributes corresponding to at least one first picture as editing objects; aiming at the visual effect attribute as the editing object, the second picture meets the corresponding visual effect standard. According to the method provided by the embodiment of the invention, the image defects existing in the picture can be described to the user, and meanwhile, the image optimization is carried out aiming at the image defects existing in the picture, so that the picture editing difficulty is reduced on the basis of assisting the user in improving the recognition capability of the user on the picture beautifying direction and expanding the picture aesthetic knowledge of the user, and the user experience is improved. And the user experience of picture editing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an image processing method, an electronic device, and an electronic device cluster. Background Art

[0002] With the development of computer technology, the processing performance of terminal devices (eg, mobile phones, tablets or personal computers) continues to improve, and the application functions that the terminal devices can support are becoming more and more diverse.

[0003] In the application scenarios of existing technologies, many terminal devices provide a photo editing function, that is, when a user inputs a picture, the terminal device can edit the picture to enhance the visual effect of the photo.

[0004] However, in the above-mentioned picture editing application scenario, the terminal device only provides picture editing tools, and the picture editing process needs to rely on manual operation of the user, which makes the picture editing operation process cumbersome. In addition, the effect of picture editing depends on the user's proficiency in the operation of the picture editing tool and the user's personal aesthetic taste, which makes the final effect of picture editing not ideal.

[0005] Therefore, a picture processing method is needed to simplify the operation process of picture editing and improve the editing effect of picture editing. Summary of the invention

[0006] In order to solve the problem of how to simplify the operation process of picture editing and improve the editing effect of picture editing, the present application provides a picture processing method, an electronic device and an electronic device cluster. The present application also provides a picture processing device, a program product and a computer-readable storage medium.

[0007] The present application embodiment adopts the following technical solutions:

[0008] In a first aspect, the present application provides a method for processing an image, which is applied to an electronic device, and includes:

[0009] The electronic device displays at least one first picture comment, wherein:

[0010] The first picture review is obtained by analyzing the first picture based on the visual effect standard corresponding to the visual effect attribute;

[0011] A first picture comment corresponds to a visual effect attribute;

[0012] The first picture review includes information describing that the first picture does not meet the corresponding visual effect standard.

[0013] Specifically, in an implementation method of the first aspect, when the visual effect of the first image in a certain visual effect attribute does not meet one or more visual effect standards corresponding to the visual effect attribute, a first image comment for the visual effect attribute is generated, and based on the first image comment, the user can know the visual effect standards that the first image does not meet.

[0014] According to the method of the first aspect, a self-service analysis can be performed on the visual effect attributes of the image, and the visual effect attributes that do not meet the visual effect standards can be pointed out to the user, thereby assisting the user to improve the user's ability to identify the direction of image beautification and expand the user's knowledge of image aesthetics.

[0015] In the implementation manner of the first aspect, a variety of different manners may be used to define visual effect attributes and determine visual effect standards corresponding to the visual effect attributes.

[0016] In an implementation of the first aspect, the electronic device is configured according to the currently achievable beautification dimensions to implement the analyzed visual effect attributes, and each beautification dimension corresponds to a visual effect attribute.

[0017] For example, the visual effect attributes that can be analyzed by configuring the electronic device include but are not limited to:

[0018] Any one or a combination of texture, composition, light and shadow, style, and blur.

[0019] In an implementation manner of the first aspect, corresponding to one visual effect attribute, there are one or more groups of visual effect standards, and each group of visual effect standards includes one or more visual effect standards.

[0020] In one implementation of the first aspect, technicians in this field can pre-design visual effect standards corresponding to visual effect attributes according to actual needs of application scenarios, and uniformly apply the designed visual effect standards to multiple electronic devices.

[0021] In another implementation of the first aspect, before the electronic device implements the method of the embodiment of the present application, the user of the electronic device can also set the visual effect standard used by the current electronic device according to his own needs.

[0022] In another implementation of the first aspect, the same visual effect attribute of multiple pictures that meet the visual effect requirement is summarized to obtain a visual effect standard for the visual effect attribute.

[0023] Furthermore, in an implementation of the first aspect, the image processing method further includes, the electronic device displays the second image, wherein:

[0024] The second picture is generated by editing the first picture by taking all or part of the visual effect attributes corresponding to at least one first picture comment as the editing object;

[0025] With respect to the visual effect attribute of the editing object, the second image satisfies the corresponding visual effect standard.

[0026] According to the above-mentioned implementation method of the first aspect, while describing the image defects existing in the picture to the user, the image can be optimized according to the image defects existing in the picture, thereby reducing the difficulty of picture editing, improving the user's ability to recognize the direction of picture beautification, and enhancing the user experience of picture editing.

[0027] In order to display at least one first picture comment, in an implementation of the first aspect:

[0028] Taking the first number of visual effect attributes as analysis objects, analyzing the first picture, and generating a second number of first picture comments;

[0029] A second number of first picture comments is displayed to the user.

[0030] Specifically, in the second number of first picture comments, each first picture comment corresponds to a visual effect attribute in the first number of visual effect attributes.

[0031] Considering that the first picture review is used to describe the visual effect standard that the first picture does not meet, when the first picture meets the visual effect standard, the first picture review is not generated for the visual effect attribute that meets the visual effect standard, therefore, in an implementation of the first aspect, the second number is less than or equal to the first number.

[0032] In an implementation manner of the first aspect, the first number of visual effect attributes are all visual effect attributes that can be analyzed by the electronic device.

[0033] Furthermore, in another implementation of the first aspect, the first number of visual effect attributes is a part of all visual effect attributes that can be analyzed by the electronic device.

[0034] Electronic devices can determine the visual effect attributes that need to be analyzed based on actual needs, thereby reducing the amount of data processing and improving analysis efficiency while meeting application requirements.

[0035] Furthermore, in another implementation of the first aspect, the electronic device determines the visual effect attributes that need to be analyzed according to the user instructions, so that the analysis results match the user needs and improve the user experience.

[0036] Specifically, in another implementation of the first aspect:

[0037] Receiving a first selection instruction, the first selection instruction being used to point to a first number of visual effect attributes;

[0038] According to the first selection instruction, a first number of visual effect attributes are determined from all visual effect attributes that can be analyzed.

[0039] In order to generate a second number of first picture comments, in an implementation of the first aspect:

[0040] Taking the first number of visual effect attributes as analysis objects, analyzing the first image, and obtaining a first analysis result, wherein the first analysis result includes, for any one of the first number of visual effect attributes, whether the first image satisfies or does not satisfy the corresponding visual effect standard;

[0041] A second number of first picture comments are generated according to the first analysis result.

[0042] Specifically, according to the first analysis result, when the first image does not meet the visual effect standard, a first image comment corresponding to the visual effect attribute is generated; when the first image meets the visual effect standard, no image comment is generated for the visual effect attribute.

[0043] According to the above-mentioned implementation method of the first aspect, based on the first analysis result, a first picture comment corresponding to the visual effect attribute is generated only when the first picture does not meet the visual effect standard. On the premise of ensuring that sufficient picture comment information is provided to the user, the data processing volume is effectively controlled, the amount of data output to the user is reduced, and the user's boredom caused by output redundancy is avoided, thereby improving the user experience.

[0044] Furthermore, for the same image, when the image expression goals are different, the aesthetic effects that the image needs to achieve are also different. In other words, when the image expression goals are different, when analyzing the aesthetic effects of the image, even for the same visual effect attribute, different visual effect standards need to be used.

[0045] Therefore, in order to obtain an accurate first analysis result, in an implementation of the first aspect:

[0046] Performing intent recognition on the first picture to obtain the image expression intent of the first picture;

[0047] According to the image expression intention, calling the visual effect standard corresponding to the first number of visual effect attributes;

[0048] Taking the first number of visual effect attributes as analysis objects, and based on visual effect standards corresponding to the first number of visual effect attributes, analyzing the first picture, a first analysis result is obtained.

[0049] According to the above-mentioned implementation method of the first aspect, the image is subjected to intent recognition to obtain the image expression intent of the image, and the corresponding visual effect standard is called to analyze the image according to the image expression intent of the image. This can improve the accuracy of the image analysis results, thereby subsequently generating more accurate image comments and improving user experience.

[0050] Furthermore, in order to accurately identify the image expression intent of a picture, in an implementation method of the first aspect, the electronic device provides an image intention input interface, which is used to obtain intention information input by a user, and the intention information is used to describe the expression purpose of the first picture.

[0051] Specifically, in an implementation of the first aspect:

[0052] Receive the user's input intention information;

[0053] Performing intent recognition on the first picture to obtain the image expression intent of the first picture includes performing intent recognition on the first picture according to the intent information to obtain the image expression intent.

[0054] According to the above implementation method of the first aspect, the intention information input by the user is obtained, and the image expression intention of the first picture is identified according to the intention information input by the user, which can improve the recognition accuracy of the image expression intention, so that an accurate first analysis result can be obtained subsequently.

[0055] In order to display the second picture, in an implementation of the first aspect:

[0056] Determining a third number of visual effect attributes, wherein the third number of visual effect attributes includes all or part of the visual effect attributes corresponding to the second number of first picture reviews;

[0057] The first picture is edited by taking the third number of visual effect attributes as the editing object to generate the second picture.

[0058] Specifically, in an implementation of the first aspect, the third number of visual effect attributes is all visual effect attributes corresponding to the second number of first picture comments.

[0059] According to the above-mentioned implementation method of the first aspect, the picture is edited with all the visual effect attributes corresponding to the first picture comment as the editing object. The part of the first picture presented to the user through the first picture comment that does not meet the visual effect standard can be edited to meet the visual effect standard, thereby realizing the process of automatically raising aesthetic problems and automatically solving aesthetic problems, reducing the difficulty of picture editing and improving the user experience of picture editing.

[0060] Specifically, in an implementation of the first aspect, the third number of visual effect attributes are partial visual effect attributes corresponding to the second number of first picture comments.

[0061] According to the above-mentioned implementation method of the first aspect, the picture is edited by taking part of the visual effect attributes corresponding to the comment of the first picture as the editing object. It is possible to edit a part of the first picture that does not meet the visual effect standard in a targeted manner to meet the visual effect standard. On the basis of realizing the process of automatically raising aesthetic problems and automatically solving aesthetic problems, the targetedness of picture editing is improved, the freedom of picture editing is enhanced, and the user experience of picture editing is improved.

[0062] Specifically, in an implementation of the first aspect, the third number of visual effect attributes also includes other visual effect attributes other than the visual effect attributes corresponding to the second number of first picture comments.

[0063] According to the above-mentioned implementation method of the first aspect, editing the picture by taking the visual effect attributes other than the visual effect attributes corresponding to the first picture comment as the editing object can improve the editing effect of the picture, enhance the degree of freedom of the picture editing, and improve the user experience of the picture editing.

[0064] Specifically, in an implementation of the first aspect, the electronic device determines a visual effect attribute of an editing object based on a user instruction.

[0065] Specifically, in an implementation of the first aspect:

[0066] receiving a second selection instruction from the user, where the second selection instruction is used to point to a third number of visual effect attributes;

[0067] Based on the second selection instruction, a third number of visual effect attributes are determined.

[0068] According to the above-mentioned implementation method of the first aspect, the visual effect attributes of the editing object are determined based on user instructions, and the editing of pictures can be implemented according to user needs, thereby improving the freedom of picture editing, making the picture editing results more in line with user needs, and improving the user experience of picture editing.

[0069] Furthermore, in an implementation of the first aspect, a neural network model is used to analyze a picture and / or a neural network model is used to edit a picture.

[0070] In an implementation of the first aspect, two neural network models are used to respectively implement analysis and editing of a picture.

[0071] Specifically, the image processing method includes:

[0072] Displaying at least one first picture comment, including, inputting the first picture into a first neural network model, obtaining at least one first picture comment output by the first neural network model;

[0073] Displaying the second picture includes inputting the first picture and the second selection instruction into the second neural network model, and obtaining the second picture output by the second neural network model.

[0074] According to the above-mentioned implementation method of the first aspect, two neural network models are used to respectively realize analysis and editing of pictures. The first neural network model and the second neural network model can be independently trained, adjusted and replaced according to actual needs, thereby improving the freedom and flexibility of the implementation of the method.

[0075] In another implementation of the first aspect, a neural network model is used to implement analysis and editing of images.

[0076] Specifically, the image processing method includes:

[0077] Displaying at least one first picture comment, including, inputting the first picture into a third neural network model, obtaining at least one first picture comment output by the third neural network model;

[0078] Displaying the second picture includes inputting a second selection instruction to the third neural network model and obtaining the second picture output by the third neural network model.

[0079] According to the above implementation method of the first aspect, a neural network model is used to implement analysis and editing of images, which reduces the processing resource consumption during training of the neural network model and reduces the difficulty of implementing the method.

[0080] Furthermore, in an implementation of the first aspect, the first picture comment also includes explanation information, and the explanation information is used to describe the reason why the first picture does not meet the visual effect standard.

[0081] Based on the explanation information in the first picture comment, the user can know the detailed information that the picture does not meet the visual effect standard, for example, which image part does not meet the visual effect standard and why it does not meet the visual effect standard.

[0082] According to the above-mentioned implementation method of the first aspect, the reason why the first image does not meet the visual effect standard can be explained through the explanatory information in the image commentary, so as to accurately express the visual defects of the image to the user, assist the user in understanding the knowledge of image beautification, and improve the user experience of image processing.

[0083] Furthermore, in an implementation of the first aspect, the first picture comment also includes picture editing suggestions, where the picture editing suggestions are used to describe the operational procedures for editing the picture, and the operational procedures for editing the picture are used to edit the first picture so that the first picture meets visual effect standards.

[0084] Based on the picture editing suggestion in the first picture comment, the user can know how to edit the picture so that the picture meets the visual effect standard.

[0085] According to the above implementation method of the first aspect, the method and process of editing the first picture can be explained through the picture editing suggestions in the picture comments, thereby assisting users to understand the specific method of picture editing and improving the user experience of picture processing.

[0086] Furthermore, in an implementation of the first aspect, a poster effect is added to the edited and generated second picture.

[0087] Specifically, in an implementation manner of the first aspect, after displaying the second picture, the method further includes:

[0088] displaying at least one second picture review, and displaying a third picture, wherein:

[0089] The second picture comment is obtained by analyzing the second picture based on the visual effect standard corresponding to the visual effect attribute;

[0090] The second image review includes information describing whether the second image meets and / or does not meet the visual effect criteria;

[0091] The third picture is a picture obtained by synthesizing the second picture and all or part of the second picture comment in at least one second picture comment.

[0092] According to the above-mentioned implementation method of the first aspect, picture comments can be added to the edited pictures to provide users with pictures with poster effects, which expands the editing functions of picture editing, improves the editing effects of picture editing, and improves the user experience of picture editing.

[0093] Further, in order to display at least one second picture comment, in an implementation of the first aspect:

[0094] Taking a fourth number of visual effect attributes as analysis objects, analyzing the second image, and generating a fifth number of second image comments;

[0095] Displaying a fifth number of second picture comments.

[0096] Specifically, in an implementation manner of the first aspect, the fourth number of visual effect attributes is the third number of visual effect attributes.

[0097] Since the third number of visual effect attributes are visual effect attributes to be edited, and the purpose of picture editing is to generate a second picture that meets the visual effect standard. Therefore, for each of the fourth number of visual effect attributes, the second picture can meet the corresponding visual effect standard. That is to say, in the fifth number of second picture comments, each second picture comment describes that the second picture meets the visual effect standard.

[0098] According to the above implementation of the first aspect, a positive comment describing that the second image meets the visual effect standard is generated, so that a poster effect with a positive evaluation can be finally obtained, thereby improving the user experience of the poster effect.

[0099] Further, in order to display the third picture, in an implementation of the first aspect:

[0100] Determine a sixth number of second picture comments, the sixth number of second picture comments being all or part of the fifth number of second picture comments;

[0101] The sixth number of second picture comments and the second picture are synthesized to generate a third picture.

[0102] Specifically, in an implementation of the first aspect, the electronic device determines the sixth number of second picture comments according to a user instruction. For example, the electronic device receives a fourth selection instruction from the user, the fourth selection instruction pointing to the sixth number of second picture comments; the electronic device determines the sixth number of second picture comments according to the fourth selection instruction.

[0103] According to the above implementation method of the first aspect, by determining the picture comments included in the poster effect based on user instructions, the poster effect can be realized according to user needs, thereby increasing the degree of freedom of the poster effect, making the poster effect more in line with user needs, and improving the user experience of the poster effect.

[0104] In a second aspect, based on the method of the first aspect, the present application also provides a picture processing method, which is used in an electronic device.

[0105] Specifically, the image processing method includes:

[0106] displaying at least one third image review, and displaying a fifth image, wherein:

[0107] The third picture comment is obtained by analyzing the fourth picture based on the visual effect standard corresponding to the visual effect attribute;

[0108] The third image review includes information describing whether the fourth image meets and / or does not meet the visual effect criteria;

[0109] The fifth picture is a picture obtained by synthesizing the fourth picture and all or part of the third picture comment in at least one third picture comment.

[0110] According to the method of the second aspect, a poster effect can be added to the picture, the editing function of the picture editor can be expanded, the editing effect of the picture editor can be improved, and the user experience of the picture editor can be improved.

[0111] In a third aspect, based on the method of the first aspect, the present application also provides an image processing device, which is used to implement the image processing method of the first aspect.

[0112] Specifically, in an implementation of the third aspect, the image processing device includes a display module, where the display module is used to:

[0113] At least one first picture comment is displayed, wherein:

[0114] The first picture review is obtained by analyzing the first picture based on the visual effect standard corresponding to the visual effect attribute;

[0115] A first picture comment corresponds to a visual effect attribute;

[0116] The first picture review includes information describing that the first picture does not meet the corresponding visual effect standard.

[0117] In an implementation of the third aspect, the display module is further used for:

[0118] Display the second image, where:

[0119] The second picture is generated by editing the first picture by taking all or part of the visual effect attributes corresponding to at least one first picture comment as the editing object;

[0120] With respect to the visual effect attribute of the editing object, the second image satisfies the corresponding visual effect standard.

[0121] Furthermore, in an implementation of the third aspect, the image processing apparatus further includes an image analysis module, wherein the image analysis module is configured to:

[0122] Taking the first number of visual effect attributes as analysis objects, the first picture is analyzed to generate a second number of first picture comments.

[0123] The display module of the picture processing device displays the second number of first picture comments to the user.

[0124] Specifically, in the second number of first picture comments generated by the picture analysis module, each first picture comment corresponds to a visual effect attribute in the first number of visual effect attributes.

[0125] Since the first picture comment is used to describe the visual effect standard that the first picture does not meet, when the first picture meets the visual effect standard, the first picture comment is not generated for the visual effect attribute that meets the visual effect standard. Therefore, in an implementation of the third aspect, the second number is less than or equal to the first number.

[0126] In an implementation of the third aspect, the image analysis module is used to analyze a first number of visual effect attributes of the first image, and the image analysis module can implement analysis of all visual effect attributes.

[0127] In another implementation of the first aspect, the image analysis module is used to analyze a first number of visual effect attributes of the first image, and the image analysis module can implement analysis of a portion of all visual effect attributes.

[0128] In another implementation of the first aspect, the image analysis module determines the visual effect attributes that need to be analyzed according to the user instructions, so that the analysis results match the user needs and improve the user experience.

[0129] Specifically, the image analysis module receives a first selection instruction, where the first selection instruction is used to point to a first number of visual effect attributes;

[0130] The picture analysis module determines a first number of visual effect attributes from all visual effect attributes that can be analyzed according to the first selection instruction.

[0131] In order to generate the second number of first picture comments, in an implementation of the third aspect, the picture analysis module is configured as follows:

[0132] Taking the first number of visual effect attributes as analysis objects, analyzing the first image, and obtaining a first analysis result, wherein the first analysis result includes, for any one of the first number of visual effect attributes, whether the first image satisfies or does not satisfy the corresponding visual effect standard;

[0133] A second number of first picture comments are generated according to the first analysis result.

[0134] Further, in order to obtain an accurate first analysis result, in an implementation of the third aspect, the image analysis module is configured as follows:

[0135] Performing intent recognition on the first picture to obtain the image expression intent of the first picture;

[0136] According to the image expression intention, calling the visual effect standard corresponding to the first number of visual effect attributes;

[0137] Taking the first number of visual effect attributes as analysis objects, and based on visual effect standards corresponding to the first number of visual effect attributes, analyzing the first picture, a first analysis result is obtained.

[0138] Furthermore, in order to accurately identify the image expression intent of a picture, in an implementation method of the third aspect, the picture analysis module provides an image intent input interface, which is used to obtain intent information input by a user, and the intent information is used to describe the expression purpose of the first picture.

[0139] Specifically, in an implementation of the third aspect, the image analysis module is configured as follows:

[0140] Receive the user's input intention information;

[0141] Performing intent recognition on the first picture to obtain the image expression intent of the first picture includes performing intent recognition on the first picture according to the intent information to obtain the image expression intent.

[0142] In order to display the second picture, in an implementation of the third aspect, the picture processing device further includes a picture editing module, and the picture editing module is used to:

[0143] Determining a third number of visual effect attributes, wherein the third number of visual effect attributes includes all or part of the visual effect attributes corresponding to the second number of first picture reviews;

[0144] The first picture is edited by taking the third number of visual effect attributes as the editing object to generate the second picture.

[0145] Specifically, in an implementation of the third aspect, the picture editing module edits the third number of visual effect attributes of the first picture to be all visual effect attributes corresponding to the second number of first picture comments.

[0146] Specifically, in another implementation of the third aspect, the picture editing module edits the third number of visual effect attributes of the first picture to be part of the visual effect attributes corresponding to the second number of first picture comments.

[0147] Specifically, in another implementation of the third aspect, the third number of visual effect attributes for which the picture editing module edits the first picture also includes other visual effect attributes other than the visual effect attributes corresponding to the second number of first picture comments.

[0148] Specifically, in an implementation of the third aspect, the picture editing module determines the visual effect attribute of the editing object based on the user instruction. Specifically, the picture editing module is configured as follows:

[0149] receiving a second selection instruction from the user, where the second selection instruction is used to point to a third number of visual effect attributes;

[0150] Based on the second selection instruction, a third number of visual effect attributes are determined.

[0151] Furthermore, in an implementation of the third aspect, the image analysis module implements analysis of the image based on a neural network model, and / or the image editing module implements editing of the image based on a neural network model.

[0152] In an implementation of the third aspect, analysis and editing of the image are implemented based on two neural network models respectively.

[0153] Specifically, in an implementation of the third aspect:

[0154] The picture analysis module inputs the first picture into the first neural network model, and obtains at least one first picture comment output by the first neural network model;

[0155] The picture editing module inputs the first picture and the second selection instruction to the second neural network model, and obtains the second picture output by the second neural network model.

[0156] In another implementation of the third aspect, analysis and editing of images are implemented based on a neural network model.

[0157] Specifically, in an implementation of the third aspect:

[0158] The picture analysis module inputs the first picture into the third neural network model, and obtains at least one comment of the first picture output by the third neural network model;

[0159] The picture editing module inputs the second selection instruction to the third neural network model to obtain the second picture output by the third neural network model.

[0160] Furthermore, in an implementation of the third aspect, the first picture comment output by the picture analysis module also includes explanation information, and the explanation information is used to describe the reason why the first picture does not meet the visual effect standard.

[0161] Based on the explanation information in the first picture comment, the user can know the detailed information that the picture does not meet the visual effect standard, for example, which image part does not meet the visual effect standard and why it does not meet the visual effect standard.

[0162] Furthermore, in an implementation of the third aspect, the first picture comment output by the picture analysis module also includes picture editing suggestions, which are used to describe the operational procedures for editing the picture, and the operational procedures for editing the picture are used to edit the first picture so that the first picture meets the visual effect standards.

[0163] Based on the picture editing suggestion in the first picture comment, the user can know how to edit the picture so that the picture meets the visual effect standard.

[0164] Furthermore, in an implementation of the third aspect, the image processing device also adds a poster effect to the edited and generated second image.

[0165] Specifically, in an implementation of the third aspect, the display module is further used for:

[0166] displaying at least one second picture review, and displaying a third picture, wherein:

[0167] The second picture comment is obtained by analyzing the second picture based on the visual effect standard corresponding to the visual effect attribute;

[0168] The second image review includes information describing whether the second image meets and / or does not meet the visual effect criteria;

[0169] The third picture is a picture obtained by synthesizing the second picture and all or part of the second picture comment in at least one second picture comment.

[0170] Further, in order to display at least one second picture comment, in an implementation of the third aspect, the picture analysis module is further configured to:

[0171] Taking a fourth number of visual effect attributes as analysis objects, analyzing the second image, and generating a fifth number of second image comments;

[0172] The display module is used to display a fifth number of second picture comments.

[0173] Specifically, in an implementation manner of the third aspect, the fourth number of visual effect attributes is the third number of visual effect attributes.

[0174] Further, in order to display the third picture, in an implementation of the third aspect, the picture editing module is further configured as follows:

[0175] Determine a sixth number of second picture comments, the sixth number of second picture comments being all or part of the fifth number of second picture comments;

[0176] The sixth number of second picture comments and the second picture are synthesized to generate a third picture.

[0177] In a fourth aspect, based on the method of the second aspect, the present application also provides an image processing device, which is used to implement the image processing method of the second aspect.

[0178] Specifically, the image processing device includes a display module, which is used to:

[0179] displaying at least one third image review, and displaying a fifth image, wherein:

[0180] The third picture comment is obtained by analyzing the fourth picture based on the visual effect standard corresponding to the visual effect attribute;

[0181] The third image review includes information describing whether the fourth image meets and / or does not meet the visual effect criteria;

[0182] The fifth picture is a picture obtained by synthesizing the fourth picture and all or part of the third picture comment in at least one third picture comment.

[0183] In a fifth aspect, an embodiment of the present application further provides an electronic device, which is used to implement the device of the third aspect or the fourth aspect of the present application.

[0184] Specifically, in an implementation of the fifth aspect, the electronic device includes a memory and a processor;

[0185] The processor is used to execute instructions stored in the memory so that the electronic device executes the method as described in the first aspect or the second aspect.

[0186] In a sixth aspect, an embodiment of the present application further provides an electronic device cluster, which includes at least one electronic device, and the at least one electronic device in the electronic device cluster is used to implement the apparatus of the third aspect or the fourth aspect of the present application.

[0187] Specifically, in an implementation of the sixth aspect, the electronic device cluster includes at least one electronic device, and each electronic device includes a memory and a processor;

[0188] The processor of at least one electronic device is used to execute instructions stored in the memory of at least one electronic device, so that the electronic device cluster executes the method of the first aspect or the second aspect.

[0189] In a seventh aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed by an electronic device system, enables an electronic device cluster to execute a method as in the first aspect or the second aspect.

[0190] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, comprising computer program instructions. When the computer program instructions are executed by a computer system, the computer system executes the method of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0191] Figure 1 is a flow chart of a method according to an embodiment of the present application;

[0192] Figure 2 is a schematic diagram of the structure of an image processing device according to an embodiment of the present application;

[0193] Figure 3 is a flow chart of a method according to an embodiment of the present application;

[0194] Figure 4 is a schematic diagram of a neural network model according to an embodiment of the present application;

[0195] Figure 5 is a schematic diagram of a module according to an embodiment of the present application;

[0196] Figure 6 is a schematic diagram of a module according to an embodiment of the present application;

[0197] Figure 7 is a schematic diagram of a module according to an embodiment of the present application;

[0198] Figure 8 is a schematic diagram of a module according to an embodiment of the present application;

[0199] Fig. 9 is a schematic diagram of a module according to an embodiment of the present application;

[0200] Fig.10 is a schematic diagram of a module according to an embodiment of the present application;

[0201] Fig.11 is a schematic diagram of a module according to an embodiment of the present application;

[0202] Fig.12 is a flow chart of a method according to an embodiment of the present application;

[0203] Fig.13 is a flow chart of a method according to an embodiment of the present application;

[0204] Fig.14 is a flow chart of a method according to an embodiment of the present application;

[0205] Fig.15 is a flow chart of a method according to an embodiment of the present application;

[0206] Fig.16 is a flow chart of a method according to an embodiment of the present application;

[0207] Fig.17 A schematic diagram of a mobile phone screen display interface according to an embodiment of the present application;

[0208] Fig.18 A schematic diagram of a mobile phone screen display interface according to an embodiment of the present application;

[0209] Fig.19 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0210] Fig. 20 A schematic diagram of an electronic device cluster according to an embodiment of the present application;

[0211] Fig.21 The figure is a schematic diagram of a network connection of an electronic device cluster according to an embodiment of the present application. DETAILED DESCRIPTION

[0212] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0213] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0214] Regarding the problem of how to simplify the operation process of picture editing and improve the editing effect of picture editing, a feasible solution is to pre-design corresponding picture editing solutions for different picture contents / types. When picture editing is required, the corresponding picture editing solution is used to edit the picture to be edited. In this way, the user does not need to manually operate the specific process of picture editing, the operation process of picture editing is simplified, and the difficulty of picture editing is reduced.

[0215] Although simple and fast image editing can be achieved based on the above-mentioned image editing methods, the pre-designed image editing solutions are usually the automatic generation of image effects under one or more manual strategies or rule definitions. For example, the filter solution stipulates the correspondence between scene category and filter category, such as food-bright filter, so the effect is rigid and non-adaptive, and cannot achieve the ideal visual effect. In addition, the pre-designed image editing solution cannot meet the user's aesthetic taste and cannot be understood by the user, that is, it cannot explain to the user why such an effect looks good. The user can only choose to accept or give up, which makes the final image editing effect unable to meet the user's needs.

[0216] In view of the above problems, the present application provides a method for image processing. The method provided in the embodiment of the present application is applied to an electronic device.

[0217] In the embodiments of the present application, there is no specific limitation on the electronic device for executing the method provided in the embodiments of the present application. Those skilled in the art can select a suitable electronic device to execute the method provided in the embodiments of the present application according to actual needs.

[0218] For example, in one embodiment, the electronic device that executes the method provided by the embodiment of the present application includes but is not limited to:

[0219] Mobile phones, tablet computers, laptops, desktop computers, augmented reality (AR) devices, virtual reality (VR) devices, and any other terminal devices that can interact with users through images.

[0220] Figure 1 is a flow chart of a method according to an embodiment of the present application.

[0221] Electronic equipment execution Figure 1 The method flow shown is used to process the image.

[0222] S110, the electronic device displays at least one first picture comment, wherein:

[0223] The first picture review is obtained by analyzing the first picture based on the visual effect standard corresponding to the visual effect attribute;

[0224] At least one first picture comment, each first picture comment corresponds to a visual effect attribute;

[0225] In at least one first picture review, each first picture review includes information describing that the first picture does not meet the corresponding visual effect standard.

[0226] In the embodiment of the present application, the visual effect attribute refers to a dimension that can be analyzed independently when analyzing the visual effect and / or aesthetic characteristics of a picture.

[0227] In the embodiment of the present application, there is no specific limitation on the visual effect attributes that the electronic device can implement for image analysis. A person skilled in the art can configure the visual effect attributes that the electronic device can implement for analysis according to the requirements of the actual application scenario.

[0228] Specifically, in one embodiment, the electronic device can be configured to implement the analyzed visual effect attributes according to the currently achievable beautification dimensions, and each beautification dimension corresponds to a visual effect attribute.

[0229] For example, the visual effect of the picture can be evaluated from the five beautification dimensions of texture, composition, light and shadow, style, and blur, and the picture can be edited based on the five beautification dimensions of texture, composition, light and shadow, style, and blur. Therefore, in one embodiment, the visual effect attributes that can be analyzed by configuring the electronic device include but are not limited to: any one or a combination of multiple of texture, composition, light and shadow, style, and blur.

[0230] In the embodiment of the present application, the visual effect standard corresponding to a certain visual effect attribute is used to describe the standard that an image needs to meet in order to satisfy a preset aesthetic effect in terms of the visual effect attribute. That is, for a certain visual effect attribute, when an image meets the corresponding visual effect standard, the visual effect corresponding to the image in terms of the visual effect attribute can achieve the expected aesthetic effect.

[0231] Corresponding to a visual effect attribute, there is one or more groups of visual effect standards, each group of visual effect standards includes one or more visual effect standards. Different groups of visual effect standards correspond to different image types.

[0232] For example, with respect to composition, there may be a visual effect standard group corresponding to a person portrait. For example, the visual effect standard group corresponding to a person portrait includes a position standard of a face image in the picture and a proportion standard of a body image in the picture.

[0233] For another example, with respect to composition, there may also be a visual effect standard group corresponding to landscape photos. For example, the visual effect standard group corresponding to landscape photos includes a standard for the proportion of the sky image in the picture and a standard for the proportion relationship of the sky / mountains / trees in the picture.

[0234] In the embodiment of the present application, no specific limitation is imposed on the visual effect standard corresponding to the visual effect attribute.

[0235] For example, in one embodiment, those skilled in the art may pre-design visual effect standards corresponding to visual effect attributes according to actual requirements of application scenarios, and uniformly apply the designed visual effect standards to multiple electronic devices.

[0236] For another example, in another embodiment, before the electronic device implements the method of the embodiment of the present application, the user of the electronic device can also set the visual effect standard used by the current electronic device according to his or her own needs.

[0237] Furthermore, in one embodiment, the visual effect standard corresponding to each visual effect attribute may be inputted through data input.

[0238] For example, since the visual effects and aesthetic features of a picture can be analyzed from the perspective of composition, composition can be used as a visual effect attribute of a picture.

[0239] Take composition as a visual effect attribute, and set the composition features that meet aesthetic requirements as the visual effect standards corresponding to the visual effect attribute (composition). For example, the visual effect standards corresponding to composition are set as follows: the main shooting object is located in a prominent position in the picture; the main shooting object accounts for a larger proportion of the picture than the background objects; the sky and other empty backgrounds do not account for a larger proportion of the picture than the main shooting object, etc.

[0240] For another example, since the visual effects and aesthetic features of a picture can be analyzed from the perspective of light and shadow, light and shadow can be used as a visual effect attribute of a picture.

[0241] Take light and shadow as a visual effect attribute, and set the light and shadow characteristics that meet aesthetic requirements as the visual effect standards corresponding to the visual effect attributes (light and shadow). For example, the visual effect standards corresponding to light and shadow are set as follows: the light and shadow effects of the main shooting object and the background must be different to distinguish the main shooting object from the background; if there are no special light and shadow effect requirements, the light and shadow effects on the face of the main shooting object cannot cover the facial features, etc.

[0242] Furthermore, in another embodiment, the same visual effect attribute of multiple pictures that meet the visual effect requirement is summarized to obtain a visual effect standard for the visual effect attribute.

[0243] For example, multiple pictures whose compositions meet the visual effect requirements are used as sample data, and the common features of the compositions of the multiple pictures are summarized to obtain the following visual effect standards for the corresponding compositions:

[0244] For portrait images that do not contain key background features, the portrait occupies 50% to 70% of the entire image, and the head of the portrait is located in the middle of the image;

[0245] For portrait images that do not include key background features, ensure that the key background features are included and the portrait occupies 20% to 50% of the entire image;

[0246] For images that contain the sky and other backgrounds, if the sky background does not contain the key background features and the other backgrounds contain the key background features, the sky background accounts for less than 20% of the image;

[0247] .......

[0248] In one embodiment, in S110, analyzing the first image based on the visual effect standard corresponding to the visual effect attribute refers to comparing and analyzing the visual effect of the first image on a certain visual effect attribute with the visual effect standard corresponding to the visual effect attribute to obtain an analysis result. The analysis result at least includes whether the visual effect of the first image on the certain visual effect attribute satisfies or does not satisfy a certain visual effect standard corresponding to the visual effect attribute.

[0249] In one embodiment, in S110, in at least one first picture comment, different first picture comments correspond to different visual effect attributes. The first picture comment includes information describing that the first picture does not meet the corresponding visual effect standard, that is, when the visual effect of the first picture on a certain visual effect attribute does not meet one or more visual effect standards corresponding to the visual effect attribute, a first picture comment for the visual effect attribute is generated, and based on the first picture comment, the user can know the visual effect standard that the first picture does not meet.

[0250] It should be noted that for a certain visual effect attribute, there may be multiple visual effect standards corresponding to it, and the first image may not meet all the visual effect standards corresponding to the visual effect attribute, or may not meet some of the visual effect standards corresponding to the visual effect attribute. The first image comment is used to describe the visual effect standards that the first image does not meet.

[0251] Specifically, in one embodiment, in S110, the electronic device analyzes the first picture with the first number of visual effect attributes as analysis objects, and generates a second number of first picture comments, wherein:

[0252] The visual effect attributes in the first number of visual effect attributes are different;

[0253] In the second number of first picture comments, each first picture comment corresponds to a visual effect attribute in the first number of visual effect attributes.

[0254] Considering that the first picture review is used to describe the visual effect standard that the first picture does not meet, if the first picture meets the visual effect standard, the first picture review is not generated for the visual effect attribute that meets the visual effect standard, therefore, in one embodiment, the second number is less than or equal to the first number.

[0255] S111, the electronic device displays a second picture, wherein:

[0256] The second picture is a picture generated by editing the first picture by taking all or part of the visual effect attributes corresponding to at least one first picture comment as the editing object;

[0257] With respect to the visual effect attribute of the editing object, the second image satisfies the corresponding visual effect standard.

[0258] In one embodiment, in S111, the electronic device determines visual effect attributes of the editing object, and the visual effect attributes of the editing object at least include partial visual effect attributes or all visual effect attributes corresponding to at least one first picture comment.

[0259] The electronic device edits the first image based on the visual effect standard corresponding to the visual effect attribute of the editing object, so that the image editing result meets the visual effect standard corresponding to the visual effect attribute of the editing object, thereby obtaining the second image.

[0260] Specifically, in one embodiment, in S111, the electronic device determines a third number of visual effect attributes, wherein the third number of visual effect attributes includes all or part of the visual effect attributes corresponding to the second number of first picture comments; and the electronic device edits the first image using the third number of visual effect attributes as the editing object.

[0261] According to the method of the embodiment of the present application, a self-service analysis can be performed on the visual effect attributes of the image, and the visual effect attributes that do not meet the visual effect standards can be pointed out to the user, thereby assisting the user to improve the user's ability to identify the direction of image beautification and expand the user's knowledge of image aesthetics.

[0262] According to the method of the embodiment of the present application, while describing the image defects existing in the image to the user, the image can be optimized according to the image defects existing in the image, thereby reducing the difficulty of image editing, improving the user's ability to recognize the direction of image beautification, and enhancing the user experience of image editing.

[0263] Furthermore, an embodiment of the present application also provides a picture processing device for implementing the picture processing method. In one embodiment, the picture processing device at least includes a display module, and the display module is used to display at least one first picture comment and a second picture.

[0264] Figure 2 Schematic diagram of the structure of an image processing device according to an embodiment of the present application.

[0265] In one embodiment, if Figure 2 As shown, the image processing device 100 includes:

[0266] The picture acquisition module 101 is used to acquire a first picture.

[0267] The picture analysis module 102 is used to analyze the first picture based on the visual effect standard corresponding to the visual effect attribute and take the first number of visual effect attributes as analysis objects to generate a second number of first picture comments.

[0268] The picture editing module 103 is used for:

[0269] Determining a third number of visual effect attributes (visual effect attributes that need to be edited), wherein the third number of visual effect attributes are part or all of the visual effect attributes corresponding to the second number of first picture comments;

[0270] The first picture is edited for a third number of visual effect attributes to generate a second picture that meets the visual effect criteria.

[0271] The display module 104 is used to display the second number of first picture comments generated by the picture analysis module 102 and the second picture generated by the picture editing module 103 to the user.

[0272] Figure 3 is a flow chart of a method according to an embodiment of the present application.

[0273] In one embodiment, Figure 2 The picture processing device 100 shown executes Figure 3 The following process shown shows the user one or more picture comments for the picture to be edited, so as to assist the user in editing and beautifying the picture to be edited.

[0274] S200, the picture acquisition module 101 acquires a first picture.

[0275] Specifically, in one embodiment, in S200, the first picture acquired by the picture acquisition module 101 is a picture stored locally or online.

[0276] For example, a user opens a local gallery and selects a picture therein as the first picture.

[0277] For another example, a user opens a shared photo gallery in the cloud and selects a picture therein as the first picture.

[0278] In another embodiment, in S200, the first picture acquired by the picture acquisition module 101 is a picture being taken by a camera.

[0279] For example, a user opens a camera application, and the image captured by the current camera is displayed in a viewfinder on the screen. The image acquisition module 101 acquires the image (the image to be captured) displayed in the viewfinder as the first image. At this time, the camera application does not perform a photo operation, and the image captured by the current camera is only displayed in the viewfinder, and is not saved locally or in the cloud.

[0280] S201, the picture analysis module 102 analyzes a first picture based on a visual effect standard corresponding to the visual effect attribute and takes a first number of visual effect attributes as analysis objects to generate a second number of first picture comments.

[0281] In S201, among the second number of first picture comments, each first picture comment corresponds to a visual effect attribute among the first number of visual effect attributes, that is, each first picture comment is used to describe a visual effect attribute of the first picture that does not meet the visual effect standard, and each first picture comment corresponds to one or more visual effect standards that the first picture does not meet.

[0282] Further, in one embodiment, the first number of visual effect attributes are all visual effect attributes that the image analysis module 102 can analyze.

[0283] For example, the image analysis module 102 is configured to analyze the image for five visual effect attributes: texture, composition, light and shadow, style, and blur. In S201, the image analysis module 102 analyzes the first image for five visual effect attributes: texture, composition, light and shadow, style, and blur.

[0284] In another embodiment, the first number of visual effect attributes are a portion of all visual effect attributes that the image analysis module 102 can analyze.

[0285] Specifically, in one embodiment, in S201:

[0286] The picture analysis module 102 receives a first selection instruction from a user, where the first selection instruction is used to point to a first number of visual effect attributes;

[0287] The picture analysis module 102 determines a first number of visual effect attributes from all visual effect attributes that can be analyzed based on the first selection instruction.

[0288] For example, the image analysis module 102 is configured to analyze the image from five visual effect attributes: texture, composition, light and shadow, style, and blur. In S201, the image analysis module 102 receives a first selection instruction from a user, and the first selection instruction is used to point to the three visual effect attributes of texture, composition, and light and shadow. Based on the first selection instruction, the image analysis module 102 analyzes the first image (the first number is three) for the three visual effect attributes of texture, composition, and light and shadow.

[0289] Further, in one embodiment, in S201:

[0290] The picture analysis module 102 analyzes the first picture with the first number of visual effect attributes as analysis objects, obtains a first analysis result, and generates a second number of first picture comments according to the first analysis result, wherein the first analysis result includes, for any visual effect attribute of the first number of visual effect attributes, whether the first picture meets or does not meet the corresponding visual effect standard;

[0291] The picture analysis module 102 generates a second number of first picture comments according to the first analysis result.

[0292] Specifically, the image analysis module 102 analyzes any one of the first number of visual effect attributes based on the visual effect standard corresponding to the visual effect attribute to determine whether the first image meets the visual effect standard. When the first image does not meet the visual effect standard, a first image review corresponding to the visual effect attribute is generated; when the first image meets the visual effect standard, no image review is generated for the visual effect attribute.

[0293] For example, the first number of visual effect attributes includes at least a first visual effect attribute, and the visual effect standard corresponding to the first visual effect attribute is the first visual effect standard.

[0294] In S201, the picture analysis module 102 analyzes the first picture for the first visual effect attribute based on the first visual effect standard. When the first picture does not meet the first visual effect standard, the picture analysis module 102 generates a first picture comment for the first visual effect attribute, and the first picture comment is used to describe that the first picture does not meet the first visual effect standard.

[0295] After the picture analysis module 102 analyzes the first picture for all visual effect attributes in the first number of visual effect attributes, a second number of first picture comments are generated.

[0296] For example, in S201, the image analysis module 102 analyzes the first image (the first number is five) for the five visual effect attributes of texture, composition, light and shadow, style, and blur, respectively, and obtains a first analysis result. In the first analysis result, the first image does not meet the visual effect standards of the three visual effect attributes of texture, composition, and light and shadow. The image analysis module 102 generates three corresponding first image comments (the second number is three) based on the first analysis results of the three visual effect attributes of texture, composition, and light and shadow.

[0297] According to the method of the embodiment of the present application, based on the first analysis result, a first picture comment corresponding to the visual effect attribute is generated only when the first picture does not meet the visual effect standard. Under the premise of ensuring that sufficient picture comment information is provided to the user, the data processing volume is effectively controlled, the amount of data output to the user is reduced, and the user's boredom caused by output redundancy is avoided, thereby improving the user experience.

[0298] Further, in one embodiment, in S201, the first picture comment includes first explanation information, and the first explanation information is used to describe the reason why the first picture does not meet the visual effect standard.

[0299] Based on the first explanation information in the first picture comment, the user can know the detailed information that the picture does not meet the visual effect standard, for example, which image part does not meet the visual effect standard and why it does not meet the visual effect standard.

[0300] For example, in one embodiment, the visual effect standard of the corresponding composition is set as:

[0301] For images that do not contain key background features, when a person is the key target of the image, the person image occupies 50% to 70% of the entire image, and the person's head is located in the middle of the image;

[0302] For portrait images that do not include key background features, ensure that the key background features are included and the portrait occupies 20% to 50% of the entire image;

[0303] For images containing the sky and other backgrounds, when the sky background does not contain the key background features and the other backgrounds contain the key background features, the proportion of the sky background is less than 20% of the image.

[0304] The first picture is a picture containing trees, sky, and people, wherein the people are the key targets of the picture. The proportion of people images in the first picture is 5%, the proportion of sky images in the first picture is 85%, and the proportion of tree images in the first picture is 10%.

[0305] The first picture does not meet the visual effect standard corresponding to the composition. The picture analysis module 102 generates a first picture comment on the composition: the proportion of human images in the composition of the first picture is too low, and the proportion of sky images is too high.

[0306] According to the method of one embodiment of the present application, the reason why the first image does not meet the visual effect standard can be explained through the explanatory information in the image commentary, thereby accurately expressing the visual effect defects of the image to the user, assisting the user in understanding the knowledge of image beautification, and improving the user experience of image processing.

[0307] Further, in one embodiment, in S201, the first picture comment includes picture editing suggestions, and the picture editing suggestions are used to describe the specific operation process of editing the first picture, and the operation of editing the first picture is used to make the picture editing result meet the visual effect standard.

[0308] Based on the picture editing suggestion in the first picture comment, the user can know how to edit the picture so that the picture meets the visual effect standard.

[0309] Specifically, in one embodiment, a picture editing suggestion is generated based on the first analysis result.

[0310] For example, the comment on the first picture: the proportion of the human image in the composition of the first picture is too low, and the proportion of the human image needs to be adjusted to more than 50%; the proportion of the sky image is too high, and the proportion of the sky image needs to be adjusted to less than 20%.

[0311] According to the method of one embodiment of the present application, the method and process of editing the first image can be explained through the image editing suggestions in the image review, thereby assisting the user to understand the specific method of image editing and improving the user experience of image processing.

[0312] Furthermore, for the same picture, when the image expression goals are different, the aesthetic effects that the picture needs to achieve are also different.

[0313] For example, for a picture that contains a person and a background, if the image expression goal is to describe the portrait, the composition angle needs to highlight the image of the person in the picture; if the image expression goal is to describe the background, the composition angle needs to include the complete background image and highlight the relationship between the person and the background in the picture.

[0314] For example, for images containing human facial images, if the image expression goal is to describe facial features, then in terms of light and shadow angle, it is necessary to ensure that the person's face is adequately illuminated; if the image expression goal is to reflect a specific light and shadow effect, then in terms of light and shadow angle, it is necessary to emphasize the overall light and dark contrast in the image.

[0315] That is to say, when the image expression objectives are different, the analysis of the aesthetic effect of the image needs to be based on different visual effect standards even for the same visual effect attribute.

[0316] Therefore, in order to obtain an accurate first analysis result, in one embodiment:

[0317] The picture analysis module 102 performs intent recognition on the first picture to obtain the image expression intent of the first picture;

[0318] The picture analysis module 102 calls and analyzes the visual effect standard corresponding to the first number of visual effect attributes of the first picture according to the image expression intention of the first picture;

[0319] The picture analysis module 102 takes the first number of visual effect attributes as analysis objects, analyzes the first picture based on the visual effect standards corresponding to the first number of visual effect attributes previously called, and obtains a first analysis result.

[0320] According to the method of the embodiment of the present application, the image is subjected to intent recognition to obtain the image expression intent of the image, and the corresponding visual effect standard is called to analyze the image according to the image expression intent of the image. This can improve the accuracy of the image analysis results, thereby subsequently generating more accurate image comments and improving the user experience.

[0321] Furthermore, in one embodiment, in order to accurately identify the image expression intent of the image, the image analysis module 102 also provides an image intention input interface, which is used to obtain the intention information input by the user, and the intention information is used to describe the expression purpose of the first image.

[0322] Specifically, in one embodiment:

[0323] The image analysis module 102 receives the intention information input by the user;

[0324] The image analysis module 102 performs intent recognition on the first image according to the intent information input by the user, and obtains the image expression intent of the first image.

[0325] For example, the first picture is a picture containing trees, sky, and people, wherein the people are the key objects of the picture. The proportion of people images in the first picture is 5%, the proportion of sky images in the first picture is 85%, and the proportion of tree images in the first picture is 10%.

[0326] Suppose the user inputs the intention information: "Describe a person under an open sky". Based on the intention information, the image analysis module 102 identifies the image expression intention of the first picture as "focusing on describing the sky background". Based on the image expression intention, the corresponding visual effect standard is called for analysis on the composition. If the first picture meets the visual effect standard in terms of composition, no first picture comment is generated for the composition.

[0327] Suppose the user inputs the intention information: "Describe people". Based on the intention information, the image analysis module 102 identifies the image expression intention of the first picture as "focus on describing people". Based on the image expression intention, the corresponding visual effect standard is called for analysis of the composition, and it is found that the first picture does not meet the visual effect standard in terms of composition. Then, a first picture comment is generated for the composition: the proportion of people images in the composition of the first picture is too low, and the proportion of sky images is too high.

[0328] According to the method of the embodiment of the present application, the intention information input by the user is obtained, and the image expression intention of the first picture is identified based on the intention information input by the user, which can improve the recognition accuracy of the image expression intention, so that an accurate first analysis result can be obtained subsequently.

[0329] Furthermore, in one embodiment, the functions of the image analysis module 102 are implemented based on a neural network model (eg, a multimodal large language model).

[0330] For example, graphic note posts, various photography books, various video tutorials, etc. are processed into aesthetic knowledge. This aesthetic knowledge contains picture feature descriptions that meet the visual effect aesthetic needs of different application scenarios. Based on this aesthetic knowledge, the visual effect attributes corresponding to the visual effect aesthetic needs can be summarized, as well as the visual effect standards corresponding to the needs of different application scenarios.

[0331] The neural network model is trained using aesthetic knowledge as training sample data so that it has the ability to analyze visual effect attributes and discover visual effect problems in images.

[0332] For example, train a neural network model to analyze images and obtain objective descriptions (tokens) for the images:

[0333] 1) Description of the main character;

[0334] 2) Description of the environment; ...

[0336] Based on the objective description of the picture, we get aesthetic questions (tokens):

[0337] 1) The character’s skin color is too dark;

[0338] 2) The composition is too crowded; ...

[0340] Provide aesthetic suggestions for aesthetic issues (tokens):

[0341] 1) Reduce highlights and increase shadows;

[0342] 2) Secondary cutting; ...

[0344] The aesthetic questions and aesthetic suggestions obtained by the neural network model are processed to generate a first image comment.

[0345] In one embodiment, in S201, the image analysis module 102 calls a trained multimodal neural network model (first neural network model), inputs the first image as input to the first neural network model, and obtains a second number of first image comments output by the first neural network model.

[0346] Figure 4 Schematic diagram of a neural network model according to an embodiment of the present application.

[0347] like Figure 4 As shown, in one embodiment, the input of the neural network model 301 is a picture 302 (eg, a first picture), and the output is a first picture comment 303 (eg, a second number of first picture comments) for the input picture.

[0348] In another embodiment, the input of the neural network model 301 also includes a first selection instruction 304 .

[0349] In another embodiment, the input of the neural network model 301 also includes intention information 305.

[0350] S202 , the display module 104 displays the second number of first picture comments generated by the picture analysis module 102 to the user.

[0351] Furthermore, in one embodiment:

[0352] In S201, the picture analysis module 102 further generates a tenth number of fourth picture comments according to the first analysis result;

[0353] In S202 , the display module 104 displays the tenth fourth picture comment generated by the picture analysis module 102 to the user.

[0354] Specifically, the fourth picture comment is used to describe the visual effect attributes in the first picture that meet the visual effect standards, and, among the tenth fourth picture comments, each fourth picture comment corresponds to a visual effect attribute in the first number of visual effect attributes, that is, each fourth picture comment is used to describe a visual effect attribute of the first picture that meets the visual effect standards, and each fourth picture comment corresponds to one or more visual effect standards met by the first picture.

[0355] Further, in one embodiment, in S201, the fourth picture comment includes second explanation information, and the second explanation information is used to describe the reason why the first picture meets the visual effect standard.

[0356] S203, the picture editing module 103 determines a third number of visual effect attributes (visual effect attributes that need to be edited), wherein the third number of visual effect attributes include all or part of the visual effect attributes corresponding to the second number of first picture comments.

[0357] Optionally, in one embodiment, all visual effect attributes corresponding to the second number of first picture comments are the third number of visual effect attributes.

[0358] In S203 , the picture editing module 103 determines a third number of visual effect attributes according to the visual effect attributes corresponding to the second number of first picture comments generated by the picture analyzing module 102 .

[0359] Specifically, the second number of first picture comments generated by the picture analysis module 102 correspond to the second number of visual effect attributes. The picture editing module 103 uses the second number of visual effect attributes corresponding to the second number of first picture comments as the third number of visual effect attributes.

[0360] For example, in S201, the image analysis module 102 analyzes the first image for the five visual effect attributes of texture, composition, light and shadow, style, and blur, and obtains a first analysis result. In the first analysis result, the first image does not meet the visual effect standards of the three visual effect attributes of texture, composition, and light and shadow. The image analysis module 102 generates three first image comments for the three visual effect attributes of texture, composition, and light and shadow.

[0361] In S203 , the picture editing module 103 determines that the first picture needs to be edited with respect to the three visual effect attributes of texture, composition, and light and shadow, respectively, according to the three first picture comments generated by the picture analysis module 102 .

[0362] According to the method of the embodiment of the present application, the picture is edited with all the visual effect attributes corresponding to the first picture comment as the editing object. The part of the first picture that does not meet the visual effect standard and is presented to the user through the first picture comment can be edited to meet the visual effect standard, thereby realizing the process of automatically raising aesthetic problems and automatically solving aesthetic problems, reducing the difficulty of picture editing and improving the user experience of picture editing.

[0363] In one embodiment, the picture analysis module 102 outputs the second number of first picture comments to the picture editing module 103, and the picture editing module 103 determines the visual effect attributes corresponding to the second number of first picture comments according to the second number of first picture comments.

[0364] In another embodiment, the picture analysis module 102 outputs notification information to the picture editing module 103, where the notification information is used to describe the visual effect attributes corresponding to the second number of first picture comments.

[0365] Furthermore, in another embodiment, in S203, the picture editing module 103 obtains the first analysis result obtained by the picture analysis module 102 in S201, determines the visual effect attributes corresponding to the second number of first picture comments generated by the picture analysis module 102 based on the obtained first analysis result, and further determines the third number of visual effect attributes based on the visual effect attributes corresponding to the second number of first picture comments generated by the picture analysis module 102.

[0366] Specifically, the first analysis result includes that the first image meets the visual effect standard and / or that the first image does not meet the visual effect standard. The image editing module 103 determines the visual effect attributes corresponding to the second number of first image comments generated by the image analysis module 102 according to the part of the first analysis result in which the first image does not meet the visual effect standard.

[0367] Optionally, in one embodiment, in S201 , the image analysis module 102 outputs the acquired first analysis result to the image editing module 103 .

[0368] Optionally, in another embodiment, the image editing module 103 executes the steps performed by the image analysis module 102 (refer to S201), based on the visual effect standard corresponding to the visual effect attributes, takes the first number of visual effect attributes as analysis objects, analyzes the first image, and obtains a first analysis result.

[0369] Optionally, in another embodiment, the third number of visual effect attributes is a portion of all visual effect attributes corresponding to the second number of first picture comments.

[0370] Specifically, the third number of visual effect attributes is a user-specified part of all visual effect attributes corresponding to the second number of first picture comments; or, the third number of visual effect attributes is a part of the preset editable objects among all visual effect attributes corresponding to the second number of first picture comments.

[0371] For example, in S201, the image analysis module 102 analyzes the first image for the five visual effect attributes of texture, composition, light and shadow, style, and blur, and obtains a first analysis result. In the first analysis result, the first image does not meet the visual effect standards of the three visual effect attributes of texture, composition, and light and shadow. The image analysis module 102 generates three first image comments for the three visual effect attributes of texture, composition, and light and shadow.

[0372] The picture editing module 103 is preset to be able to edit three visual effect attributes: composition, light and shadow, and style.

[0373] In S203, the picture editing module 103 determines that among the three visual effect attributes of texture, composition, and light and shadow corresponding to the three first picture comments, the two visual effect attributes of composition and light and shadow can be used as editing objects. Therefore, in S203, the picture editing module 103 determines that the first picture needs to be edited with respect to the two visual effect attributes of texture and composition.

[0374] According to the method of the embodiment of the present application, the picture is edited by taking part of the visual effect attributes corresponding to the comment of the first picture as the editing object. A part of the image in the first picture that does not meet the visual effect standard can be edited to meet the visual effect standard in a targeted manner. On the basis of realizing the process of automatically raising aesthetic problems and automatically solving aesthetic problems, the targetedness of picture editing is improved, the freedom of picture editing is enhanced, and the user experience of picture editing is improved.

[0375] Optionally, in another embodiment, the third number of visual effect attributes includes not only all or part of the visual effect attributes corresponding to the second number of first picture comments, but also other visual effect attributes other than the visual effect attributes corresponding to the second number of first picture comments.

[0376] For example, in S201, the image analysis module 102 analyzes the first image for the three visual effect attributes of composition, light and shadow, and blur, and obtains a first analysis result. In the first analysis result, the first image does not meet the visual effect standards of the two visual effect attributes of composition and light and shadow. The image analysis module 102 generates two first image comments for the two visual effect attributes of composition and light and shadow.

[0377] The user presets that the picture editing module 103 must optimize the texture when editing pictures.

[0378] In S203, the picture editing module 103 determines that the two visual effect attributes of composition and light and shadow corresponding to the two first picture comments are editing objects, and also determines that the texture that must be optimized and edited preset by the user is also an editing object. Therefore, in S203, the picture editing module 103 determines that the first picture needs to be edited with respect to the three visual effect attributes of texture, composition, and light and shadow.

[0379] According to the method of the embodiment of the present application, the picture is edited by taking the visual effect attributes other than the visual effect attributes corresponding to the first picture comment as the editing object, which can improve the editing effect of the picture editing, enhance the degree of freedom of the picture editing, and improve the user experience of the picture editing.

[0380] Optionally, in another embodiment, the user inputs a second selection instruction, where the second selection instruction is used to point to a third number of visual effect attributes.

[0381] Further, in one embodiment, the third number of visual effect attributes pointed to by the second selection instruction are all or part of the visual effect attributes corresponding to the second number of first picture comments.

[0382] In another embodiment, the third number of visual effect attributes pointed to by the second selection instruction includes not only all or part of the visual effect attributes corresponding to the second number of first picture comments, but also includes other visual effect attributes besides the visual effect attributes corresponding to the second number of first picture comments.

[0383] According to the method of the embodiment of the present application, the visual effect attributes of the editing object are determined based on user instructions, and the editing of the picture can be implemented according to user needs, thereby improving the freedom of picture editing, making the picture editing results more in line with user needs, and improving the user experience of picture editing.

[0384] Optionally, in one embodiment, in S203:

[0385] The picture editing module 103 receives a second selection instruction from the user, where the second selection instruction is used to point to a third number of visual effect attributes;

[0386] The picture editing module 103 determines a third number of visual effect attributes according to the second selection instruction of the user.

[0387] For example, in S201, the image analysis module 102 analyzes the first image for the five visual effect attributes of texture, composition, light and shadow, style, and blur, and obtains a first analysis result. In the first analysis result, the first image does not meet the visual effect standards of the three visual effect attributes of texture, composition, and light and shadow. The image analysis module 102 generates three first image comments for the three visual effect attributes of texture, composition, and light and shadow.

[0388] In S203, the picture editing module 103 receives a second selection instruction from the user, the second selection instruction pointing to two visual effect attributes of texture and composition. In S203, the picture editing module 103 determines that the first picture needs to be edited with respect to the two visual effect attributes of texture and composition.

[0389] For another example, the picture analysis module 102 is designed to analyze pictures for five visual effect attributes: texture, composition, light and shadow, style, and blur. In S201, the picture analysis module 102 receives a first selection instruction, and the first selection instruction points to the three visual effect attributes of texture, composition, and light and shadow. Based on the first selection instruction, the picture analysis module 102 analyzes the first picture for the three visual effect attributes of texture, composition, and light and shadow, respectively, and obtains a first analysis result. In the first analysis result, the first picture does not meet the visual effect standards of the two visual effect attributes of composition and light and shadow. The picture analysis module 102 generates two first picture comments for the two visual effect attributes of composition and light and shadow, respectively.

[0390] In S203, the picture editing module 103 receives a second selection instruction from the user, the second selection instruction pointing to two visual effect attributes of style and composition. In S203, the picture editing module 103 determines that the third number of visual effect attributes are two visual effect attributes of style and composition.

[0391] Optionally, in another embodiment:

[0392] The picture analysis module 102 determines a third number of visual effect attributes according to the second selection instruction of the user;

[0393] The picture analysis module 102 generates corresponding picture editing execution parameters for the third number of visual effect attributes according to the first analysis result obtained in S201, wherein the picture editing execution parameters correspond to a specific operation flow for editing the first picture, and the operation for editing the first picture is used to make the picture editing result meet the visual effect standard;

[0394] In S203, the picture analysis module 102 outputs the picture editing execution parameters to the picture editing module 103, and the picture editing module 103 determines a third number of visual effect attributes according to the picture editing execution parameters.

[0395] S204, the picture editing module 103 edits the first picture with the third number of visual effect attributes as editing objects to generate a second picture that meets the visual effect standard.

[0396] Optionally, in one embodiment, in S204, the picture editing module 103 edits the first picture for a third number of visual effect attributes based on a visual effect standard corresponding to the visual effect attribute to generate a second picture.

[0397] For example, Figure 5 Schematic diagram of a module according to an embodiment of the present application.

[0398] like Figure 5As shown, a first picture 401 is input to a picture analysis module 402 , and the picture analysis module 402 outputs a second number of first picture comments 403 .

[0399] After the second number of first picture comments 403 are displayed to the user, a second selection instruction 405 generated according to the user's selection operation is input into the picture editing module 404 .

[0400] The picture editing module 404 determines a third number of visual effect attributes according to the second selection instruction.

[0401] The first picture 401 is input to the picture editing module 404 .

[0402] The picture editing module 404 edits the first picture based on the visual effect standards corresponding to the third number of visual effect attributes and outputs a second picture 406 .

[0403] Optionally, in another embodiment, in S202, the first picture comment output by the picture analysis module 102 includes picture editing suggestions. The picture editing suggestions are used to describe the specific operation flow of editing the first picture, and the operation of editing the first picture is used to make the picture editing result meet the visual effect standard.

[0404] In S204:

[0405] The picture editing module 103 generates picture editing execution parameters for visual effect attributes according to the picture editing suggestions output by the picture analysis module 102;

[0406] The picture editing module 103 executes a corresponding picture editing operation according to the picture editing execution parameters, and edits the first picture to generate a second picture.

[0407] Optionally, in another embodiment, in S202, the picture analysis module 102 outputs independent picture editing execution parameters in addition to the second number of first picture comments. The picture editing execution parameters correspond to a specific operation flow of editing the first picture, and the operation of editing the first picture is used to make the picture editing result meet the visual effect standard.

[0408] In S204 , the picture editing module 103 performs a corresponding picture editing operation according to the picture editing execution parameters output by the picture analysis module 102 , and edits the first picture to generate a second picture.

[0409] Optionally, in another embodiment, the picture analysis module 102 outputs the first analysis result obtained in S201 to the picture editing module 103. The first analysis result includes a comparison between a parameter value of a visual effect attribute of the first picture and a numerical value of a corresponding visual effect standard.

[0410] In S204:

[0411] The picture editing module 103 generates picture editing execution parameters for visual effect attributes based on the first analysis result;

[0412] The picture editing module 103 executes a corresponding picture editing operation according to the picture editing execution parameters, and edits the first picture to generate a second picture.

[0413] Optionally, in another embodiment, the picture editing module 103 obtains an analysis result consistent with the first analysis result based on the process of S201. The analysis result includes a comparison between the parameter value of the visual effect attribute of the first picture and the numerical value of the corresponding visual effect standard.

[0414] In S204:

[0415] The picture editing module 103 generates picture editing execution parameters for visual effect attributes based on the analysis results obtained by itself;

[0416] The picture editing module 103 executes a corresponding picture editing operation according to the picture editing execution parameters, and edits the first picture to generate a second picture.

[0417] For example, Figure 6 Schematic diagram of a module according to an embodiment of the present application.

[0418] like Figure 6 As shown, a first picture 501 is input to a picture analysis module 502 , and the picture analysis module 502 outputs a second number of first picture comments 503 .

[0419] The picture analysis module 502 also outputs picture editing execution parameters 505 corresponding to the second number of visual effect attributes to the picture editing module 504 .

[0420] After the second number of first picture comments 503 are displayed to the user, a second selection instruction 506 generated according to the user's selection operation is input into the picture editing module 504 .

[0421] The picture editing module 504 determines a third number of visual effect attributes according to the second selection instruction 506 .

[0422] The first picture 501 is input to the picture editing module 504 .

[0423] The picture editing module 504 determines the picture editing execution parameters that need to be executed from the input picture editing execution parameters 505 based on the visual effect attributes of the third number, edits the first picture according to the picture editing execution parameters that need to be executed, and outputs the second picture 507.

[0424] For example, Figure 7Schematic diagram of a module according to an embodiment of the present application.

[0425] like Figure 7 As shown, a first picture 601 is input to a picture analysis module 602 , and the picture analysis module 602 outputs a second number of first picture comments 603 .

[0426] After the second number of first picture comments 603 are displayed to the user, a second selection instruction 606 generated according to the user's selection operation is input to the picture analysis module 602 .

[0427] The picture analysis module 602 determines a third number of visual effect attributes according to the second selection instruction 606 .

[0428] The picture analysis module 602 generates picture editing execution parameters 605 for the third number of visual effect attributes, and outputs the picture editing execution parameters 605 to the picture editing module 604 .

[0429] The first picture 601 is input to the picture editing module 604 .

[0430] The picture editing module 604 determines a third number of visual effect attributes based on the picture editing execution parameter 605 , executes the picture editing execution parameter 605 to edit the first picture, and outputs a second picture 607 .

[0431] For example, Figure 8 Schematic diagram of a module according to an embodiment of the present application.

[0432] like Figure 8 As shown, the first picture 701 is input to the picture analysis module 702, the picture analysis module 702 generates a first analysis result 703, the picture analysis module 702 generates a second number of first picture comments 704 according to the first analysis result 703, and the picture analysis module 702 outputs a second number of first picture comments 704.

[0433] The picture analysis module 702 outputs the first analysis result 703 to the picture editing module 705 .

[0434] After the second number of first picture comments 704 are displayed to the user, a second selection instruction 706 generated according to the user's selection operation is input into the picture editing module 705 .

[0435] The first picture 701 is input to the picture editing module 705 .

[0436] The picture editing module 705 determines a third number of visual effect attributes according to the second selection instruction 706 .

[0437] The picture editing module 705 generates picture editing execution parameters according to the first analysis result 703 for the third number of visual effect attributes.

[0438] The picture editing module 705 executes the picture editing execution parameters, edits the first picture, and outputs the second picture 707.

[0439] Furthermore, in one embodiment, based on calling a picture editing tool, picture editing for one or several visual effect attributes is implemented.

[0440] For example, the picture editing module 103 calls a picture cropping tool to edit the composition of the first picture.

[0441] Furthermore, in one embodiment, based on calling a neural network model, image editing for one or several visual effect attributes is implemented.

[0442] For example, the picture editing module 103 calls the style adjustment model to implement the editing of the style of the first picture.

[0443] For example, Fig. 9 Schematic diagram of a module according to an embodiment of the present application.

[0444] Picture 801 is input to picture editing module 802 , and picture editing module 802 edits picture 801 to generate picture 808 .

[0445] The picture editing module 802 calls the picture cropping tool 803 to edit the composition of the picture.

[0446] The picture editing module 802 calls the light adjustment tool 804 to edit the light and shadow of the picture.

[0447] The picture editing module 802 calls the texture adjustment model 805 to edit the texture of the picture.

[0448] The picture editing module 802 calls the style adjustment model 806 to edit the style of the picture.

[0449] The picture editing module 802 calls the blur tool 807 to implement blur editing of the picture.

[0450] Furthermore, in one embodiment, the functions of the image analysis module 102 and the image editing module 103 are respectively implemented based on different multimodal neural network models.

[0451] That is, displaying at least one first picture comment includes, inputting the first picture into the first neural network model, and obtaining at least one first picture comment output by the first neural network model;

[0452] And, displaying the second picture includes inputting the first picture and the second selection instruction into the second neural network model, and obtaining the second picture output by the second neural network model.

[0453] For example, Fig.10 Schematic diagram of a module according to an embodiment of the present application.

[0454] like Fig.10 As shown, in one embodiment, the input of the neural network model 901 (first neural network model) is a picture 902 (e.g., a first picture), and the output is a first picture comment 903 (e.g., a second number of first picture comments) for the input picture.

[0455] The input of the neural network model 906 (the second neural network model) is the image 902 (for example, the first image) and the second selection instruction 907, and the output is the image 908 (for example, the second image).

[0456] In another embodiment, the input of the neural network model 901 also includes a first selection instruction 904.

[0457] In another embodiment, the input of the neural network model 901 and the neural network model 906 also includes intention information 905.

[0458] According to the method of the embodiment of the present application, two neural network models are used to respectively implement analysis and editing of images. The first neural network model and the second neural network model can be independently trained, adjusted, and replaced according to actual needs, thereby improving the freedom and flexibility of the implementation of the method.

[0459] Furthermore, in one embodiment, the functions of the image analysis module 102 and the image editing module 103 are integrated into the same multimodal neural network model.

[0460] That is, displaying at least one first picture comment includes, inputting the first picture into the third neural network model, and obtaining at least one first picture comment output by the third neural network model;

[0461] Displaying the second picture includes inputting a second selection instruction to the third neural network model and obtaining the second picture output by the third neural network model.

[0462] For example, Fig.11 Schematic diagram of a module according to an embodiment of the present application.

[0463] like Fig.11As shown, in one embodiment, the input of the neural network model 1001 (the third neural network model) is a picture 1002 (e.g., a first picture), and the output is a first picture comment 1003 (e.g., a second number of first picture comments) for the input picture.

[0464] The input of the neural network model 1001 also includes a second selection instruction 1007, and the output of the neural network model 1001 also includes a picture 1008 (eg, a second picture).

[0465] In another embodiment, the input of the neural network model 1001 also includes a first selection instruction 1004.

[0466] In another embodiment, the input of the neural network model 1001 also includes intention information 1005.

[0467] According to the method of the embodiment of the present application, a neural network model is used to implement analysis and editing of images, which reduces the processing resource consumption during the training of the neural network model and reduces the difficulty of implementing the method.

[0468] S205: the display module 104 displays the second picture to the user.

[0469] Furthermore, in one embodiment, after S111, special effects may be added to the edited image (second image), for example, special effects such as photo frames, puzzles, text bubbles, stamps, etc. may be added.

[0470] Furthermore, in one embodiment, after S111, picture comment information is added to the edited picture (second picture) to generate a picture with a poster-like feeling.

[0471] Fig.12 is a flow chart of a method according to an embodiment of the present application.

[0472] In one embodiment, the electronic device executes Fig.12 The following process is shown to assist users in editing and beautifying the pictures to be edited.

[0473] S1210, the electronic device displays at least one first picture comment. (See S110)

[0474] S1211, the electronic device displays the second picture. (Refer to S111)

[0475] S1212, the electronic device displays at least one second picture comment, wherein:

[0476] The second picture comment is obtained by analyzing the second picture based on the visual effect standard corresponding to the visual effect attribute;

[0477] The second picture review includes information describing whether the second picture meets and / or does not meet the visual effect criteria.

[0478] Specifically, in one embodiment, in S1212, in at least one second picture comment, one or more second picture comments correspond to a visual effect attribute.

[0479] Specifically, in one embodiment, in S1212, the visual effect attribute targeted by the second image is analyzed, which is the visual effect attribute of the editing object used for editing the first image in S1211. In at least one second image comment, one or more second image comments correspond to a visual effect attribute of the editing object in S1211.

[0480] In S1212, the second picture comments include information describing whether the second picture meets the visual effect standard, that is, each second picture comment describes the visual effect advantages and / or visual effect disadvantages of a visual effect attribute of the third picture.

[0481] For example, the second image comment included visual advantages in terms of composition: “characters stand out, background is clean.”

[0482] For another example, the second picture commentary includes a visual flaw in the composition: "The sky accounts for too high a proportion, resulting in a very empty picture."

[0483] S1213, the electronic device displays a third picture, wherein the third picture is a picture obtained by synthesizing the second picture and all or part of the second picture comment in at least one second picture comment.

[0484] Specifically, in one embodiment, in S1213:

[0485] The electronic device determines, from the displayed at least one second picture comment, at least one second picture comment to be synthesized;

[0486] The electronic device synthesizes at least one second picture comment that needs to be synthesized with the second picture to generate a third picture.

[0487] According to the method of the embodiment of the present application, picture comments can be attached to the edited pictures to provide users with pictures with poster effects, thereby expanding the editing functions of picture editing, improving the editing effects of picture editing, and improving the user experience of picture editing.

[0488] Fig.13 is a flow chart of a method according to an embodiment of the present application.

[0489] In one embodiment, Figure 2 The picture processing device 100 shown executes Fig.13 The following process is shown to assist users in editing and beautifying the pictures to be edited.

[0490] S1100, the picture acquisition module 101 acquires a first picture. (See S200)

[0491] S1101, the image analysis module 102 analyzes a first image based on a visual effect standard corresponding to the visual effect attributes and takes a first number of visual effect attributes as analysis objects, obtains a first analysis result, and generates a second number of first image comments according to the first analysis result.

[0492] (Refer to S201)

[0493] S1102, the display module 104 displays the second number of first picture comments generated by the picture analysis module 102 to the user. (See S202)

[0494] S1103, the picture editing module 103 determines a third number of visual effect attributes. (See S203)

[0495] S1104, the picture editing module 103 edits the first picture with the third number of visual effect attributes as the editing object to generate a second picture that meets the visual effect standard. (See S204)

[0496] S1105, the display module 104 displays the second picture to the user. (See S205)

[0497] S1106, the picture analysis module 102 analyzes the second picture with the fourth number of visual effect attributes as analysis objects, obtains a second analysis result, and generates a fifth number of second picture comments according to the second analysis result.

[0498] In S1106:

[0499] The visual effect attributes in the fourth number of visual effect attributes are different from each other;

[0500] Each second picture comment corresponds to a visual effect attribute of a fourth number of visual effect attributes.

[0501] In one embodiment, referring to Figure 3 The first number of visual effect attributes and the fourth number of visual effect attributes in the illustrated embodiment are all or part of the visual effect attributes that the image analysis module 102 can analyze.

[0502] In one embodiment, in S1106, the image analysis module 102 receives a third selection instruction from the user, where the third selection instruction is used to point to a fourth number of visual effect attributes; the image analysis module 102 determines the fourth number of visual effect attributes based on the third selection instruction.

[0503] In one embodiment, one or more of the fifth number of second image comments correspond to one of the fourth number of visual effect attributes.

[0504] In one embodiment, each of the fifth number of second picture comments is used to describe a visual effect advantage and / or a visual effect disadvantage of a visual effect attribute of the third picture.

[0505] For example, the second image comment included visual advantages in terms of composition: “characters stand out, background is clean.”

[0506] For another example, the second picture commentary includes a visual flaw in the composition: "The sky accounts for too high a proportion, resulting in a very empty picture."

[0507] For example, the picture analysis module 102 is configured to analyze the picture from five visual effect attributes: texture, composition, light and shadow, style, and blur. In S1106, the picture analysis module 102 receives the user's third selection instruction, which is used to point to the three visual effect attributes of texture, composition, and light and shadow. Based on the third selection instruction, the picture analysis module 102 analyzes the third picture (the fourth number is three) for the three visual effect attributes of texture, composition, and light and shadow, and generates six second picture comments (the fifth number is six). The six second picture comments include: composition advantages 1, composition advantages 2, composition disadvantages 1, texture advantages 1, light and shadow disadvantages 1, and light and shadow disadvantages 2.

[0508] Specifically, in one embodiment, the image analysis module 102 analyzes the third image for each of the fourth number of visual effect attributes based on the visual effect standard corresponding to the visual effect attribute, obtains a second analysis result, and generates a fifth number of second image comments according to the second analysis result, wherein:

[0509] The second analysis result includes that the third picture meets the visual effect standard and / or the first picture does not meet the visual effect standard.

[0510] Further, in one embodiment, the second picture comment is only used to describe the visual effect advantage of one visual effect attribute of the third picture.

[0511] The picture analysis module 102 generates a fifth number of second picture comments based on the visual effect attributes of the third picture that satisfy the visual effect standard in the second analysis result, wherein each second picture comment in the fifth number of second picture comments is used to describe the visual effect advantage of a visual effect attribute of the third picture.

[0512] For example, the image analysis module 102 is configured to analyze the image from five visual effect attributes: texture, composition, light and shadow, style, and blur. In S1106, the image analysis module 102 receives a third selection instruction from the user, which is used to point to the three visual effect attributes of texture, composition, and light and shadow. Based on the third selection instruction, the image analysis module 102 analyzes the third image (the fourth number is three) for the three visual effect attributes of texture, composition, and light and shadow, respectively, and obtains a second analysis result.

[0513] The picture analysis module 102 generates three second picture comments (the fifth number is three) according to the visual effect attributes (texture, composition) of the third picture satisfying the visual effect standard in the second analysis result. The three second picture comments include: composition advantage 1, composition advantage 2, texture advantage 1.

[0514] Further, in one embodiment, in S1106, the fourth number of visual effect attributes is the third number of visual effect attributes in S1103.

[0515] In S1106, the picture analysis module 102 analyzes the third picture for each of the fourth number of visual effect attributes (the third number of visual effect attributes) based on the visual effect standard corresponding to the visual effect attribute, obtains a second analysis result, and generates a fifth number of second picture comments according to the second analysis result, wherein:

[0516] The fifth number is greater than or equal to the fourth number, and each visual effect attribute in the fourth number of visual effect attributes corresponds to one or more second picture comments in the fifth number of second picture comments;

[0517] Each of the fifth number of second image comments is used to describe a visual effect advantage of a visual effect attribute of the third image.

[0518] Specifically, since the fourth number of visual effect attributes is the visual effect attribute edited in S204, and the purpose of picture editing in S204 is to generate a second picture that meets the visual effect standard. Therefore, for each of the fourth number of visual effect attributes, the second picture can meet the corresponding visual effect standard. That is to say, in the fifth number of second picture comments, each second picture comment describes that the second picture meets the visual effect standard.

[0519] For example, the picture analysis module 102 is configured to analyze the picture from five visual effect attributes: texture, composition, light and shadow, style, and blur. In S201, the picture analysis module 102 receives the user's first selection instruction, which is used to point to the three visual effect attributes of texture, composition, and light and shadow. Based on the first selection instruction, the picture analysis module 102 analyzes the first picture (the first number is three) for the three visual effect attributes of texture, composition, and light and shadow, and generates two first picture comments for composition and light and shadow respectively (the second number is two). In S204, the picture editing module 103 edits the first picture for composition and light and shadow respectively, and generates a second picture whose composition and light and shadow meet the visual effect standards.

[0520] In S1106, the image analysis module 102 analyzes the second image (the third image) for composition and light and shadow respectively based on the visual effect standards corresponding to the visual effect attributes (the fourth number of visual effect attributes are composition and light and shadow), obtains a second analysis result, and generates a fifth number of second image comments for composition and light and shadow according to the second analysis result (the fifth number is greater than or equal to two).

[0521] For example, the fifth number of second picture comments include: composition advantage 1, composition advantage 2, composition advantage 3 (for example, after editing the above composition disadvantage 1, the disadvantage is eliminated and converted into an advantage), light and shadow advantage 1 (for example, after editing the above light and shadow disadvantage 1, the disadvantage is eliminated and converted into an advantage), light and shadow advantage 2 (for example, after editing the above light and shadow disadvantage 2, the disadvantage is eliminated and converted into an advantage).

[0522] According to an embodiment of the present application, a positive comment describing that the second image meets the visual effect standard is generated, so that a poster effect with a positive evaluation can be finally obtained, thereby improving the user experience of the poster effect.

[0523] S1107 , the display module 104 displays the fifth number of second picture comments generated by the picture analysis module 102 to the user.

[0524] S1108 , the picture editing module 103 determines a sixth number of second picture comments, where the sixth number of second picture comments are all or part of the fifth number of second picture comments.

[0525] Specifically, in one embodiment, a fourth selection instruction of the user is received, where the fourth selection instruction points to a sixth number of second picture comments, and the picture editing module 103 determines the sixth number of second picture comments according to the fourth selection instruction.

[0526] In another embodiment, in S1103, the picture editing module 103 receives a fifth selection instruction from the user, the fifth selection instruction being used to point to a plurality of visual effect attributes. The picture editing module 103 determines, according to the fifth selection instruction, that the second picture comments corresponding to the plurality of visual effect attributes pointed to by the fifth selection instruction in the fifth number of second picture comments are the sixth number of second picture comments.

[0527] S1109, the picture editing module 103 synthesizes the sixth number of second picture comments and the second picture to generate a third picture.

[0528] S1110, the display module 104 displays the third picture to the user.

[0529] Furthermore, in one embodiment, a picture comment may be directly attached to the original picture to provide the user with the original picture with a poster effect.

[0530] Fig.14 is a flow chart of a method according to an embodiment of the present application.

[0531] In one embodiment, the electronic device executes Fig.14 The following process is shown to assist users in editing and beautifying the pictures to be edited.

[0532] S1220, the electronic device displays at least one third picture comment, wherein:

[0533] The third picture comment is obtained by analyzing the fourth picture based on the visual effect standard corresponding to the visual effect attribute;

[0534] The third picture review includes information describing whether the fourth picture meets and / or does not meet the visual effect standard.

[0535] Specifically, the execution of S1220 may refer to S1212, and the third picture comment may refer to the second picture comment.

[0536] S1221, the electronic device displays a fifth picture, wherein the fifth picture is a picture obtained by synthesizing the fourth picture and all or part of the third picture comment in at least one third picture comment.

[0537] Specifically, the execution of S1221 may refer to S1213, and the third picture comment may refer to the second picture comment.

[0538] According to the method of the embodiment of the present application, a poster effect can be added to the picture, the editing function of the picture editor can be expanded, the editing effect of the picture editor can be improved, and the user experience of the picture editor can be improved.

[0539] Fig.15 is a flow chart of a method according to an embodiment of the present application.

[0540] In one embodiment, Figure 2 The picture processing device 100 shown executes Fig.15 The following process is shown to assist users in editing and beautifying the pictures to be edited.

[0541] S1200, the picture acquisition module 101 acquires a fourth picture. (See S200)

[0542] S1201, the picture analysis module 102 analyzes the fourth picture with the seventh number of visual effect attributes as the analysis object, and generates an eighth number of third picture comments.

[0543] Specifically, the execution of S1201 may refer to S1106, wherein the seventh number of visual effect attributes refers to the fourth number of visual effect attributes, and the eighth number of third picture comments refers to the fifth number of second picture comments.

[0544] S1202 , the display module 104 displays the eighth number of third picture comments generated by the picture analysis module 102 to the user.

[0545] S1203, the picture editing module 103 determines a ninth number of third picture comments, wherein the ninth number of third picture comments is all or part of the eighth number of third picture comments.

[0546] Specifically, the execution of S1203 may refer to S1108, wherein the ninth number of third picture comments refer to the sixth number of second picture comments.

[0547] S1204, the picture editing module 103 synthesizes the ninth number of third picture comments and the fourth picture to generate a fifth picture.

[0548] S1205, the display module 104 displays the fifth picture to the user.

[0549] The method provided in this application is applied to electronic devices. This application does not limit the type of electronic devices that implement the method proposed in this application. Technical personnel in this field can select corresponding electronic devices to implement the method provided in this application according to the application scenario requirements.

[0550] For example, in one embodiment, the device can be implemented by a terminal device including a display device and an image acquisition device. The terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, an augmented reality (AR) device, a VR device, or any other terminal device that can interact with a user.

[0551] Furthermore, the present application does not impose any specific restrictions on the form of the interactive interface for implementing the method proposed in the present application. Technical personnel in this field can design an interactive interface for implementing the method proposed in the present application based on the application scenario requirements and the type of electronic device that implements the method provided in the present application.

[0552] For example, in one embodiment, a mobile phone is used to implement the method proposed in this application.

[0553] Fig.16 is a flow chart of a method according to an embodiment of the present application.

[0554] S1300, the user starts a picture editing application on the mobile phone.

[0555] S1301, the mobile phone displays a picture management interface.

[0556] S1302: The mobile phone determines, based on the user operation, a first picture that the user desires to edit.

[0557] For example, Fig.17 Schematic diagram of a mobile phone screen display interface according to an embodiment of the present application.

[0558] It should be noted that Fig.17 And follow-up Fig.18 The mobile phone interface and interface jump process shown are only examples of the method process of the embodiment of the present application. The method of the embodiment of the present application can be adopted, including but not limited to Fig.17 And follow-up Fig.18 The mobile phone interface and interface jump process shown.

[0559] The mobile phone screen displays the interface as follows Fig.17 As shown in 1400 , the user clicks on the icon 1401 of the picture editing application to start the picture editing application.

[0560] After the photo editing app is started, the phone screen displays the following Fig.17 The interface shown in 1410. In 1410, thumbnails of pictures in the local gallery are displayed.

[0561] The user clicks on a thumbnail (for example, clicks on thumbnail 1411 ), and the mobile phone uses the picture corresponding to the thumbnail clicked by the user as the first picture that the user wishes to edit, and the mobile phone enters the picture editing page 1420 .

[0562] The picture editing page 1420 provides a display window 1421 .

[0563] The display window 1421 is used to display the picture (first picture) that the user desires to edit.

[0564] The picture editing page 1420 also provides a “return” button 1422 .

[0565] The user clicks the “return” button 1422 to return to the interface 1410 and reselect the picture to be edited.

[0566] exist Fig.17 In the example shown, the user activates a picture editing application, and the picture editing application calls the browser of the local gallery shown in 1410 to display the pictures in the local gallery to the user, so that the user can select the local picture that needs to be edited in the local gallery.

[0567] In the embodiment of the present application, the method provided for the user to select the picture to be edited is not limited to Fig.17 The embodiment shown.

[0568] For example, in another embodiment, the user activates a picture editing application, and the picture editing application calls a web browser, so that the user can select a web picture to be edited in the web browser.

[0569] For another example, in another embodiment, the user selects a picture in the local map library application or the web browsing application and clicks on the edit option, which starts the picture editing application and enters the picture editing page shown in 1420.

[0570] S1303: The mobile phone confirms the visual effect attributes that need to be analyzed (a first number of visual effect attributes).

[0571] like Fig.17 As shown, the picture editing page 1420 also provides a setting button 1423.

[0572] The user clicks the setting button 1423 and the mobile phone enters the visual effect attribute selection interface 1430.

[0573] The visual effect attribute selection interface 1430 provides all visual effect attributes that can be analyzed by the mobile phone, and the user can select the visual effect attributes that need to be analyzed by clicking the checkbox.

[0574] For example, Fig.17 As shown in 1430, the user checks texture, composition, light and shadow, style, and blur.

[0575] The visual effect property selection interface 1430 also provides an “OK” button 1431 .

[0576] The user clicks the “OK” button 1431 , and the mobile phone confirms that the currently checked visual effect attribute is the visual effect attribute that needs to be analyzed, and the mobile phone returns to the picture editing page 1420 .

[0577] exist Fig.17In the example shown, the user selects the visual effect attribute that needs to be analyzed from all the visual effect attributes that can be analyzed by the mobile phone.

[0578] Further, in one embodiment, after the picture editing application is started for the first time, all visual effect attributes in 1430 are checked. That is, after the picture editing application is started for the first time, if the user does not change the visual effect attribute check state in 1430, the visual effect attributes that need to be analyzed by default are all visual effect attributes that can be analyzed.

[0579] Further, in one embodiment, after the image editing application is started, the check state of the visual effect attribute in 1430 continues to use the final check state of the visual effect attribute in 1430 when the image editing application was last started. In another embodiment, after each start of the image editing application, all visual effect attributes in 1430 are checked. That is, after each start of the image editing application, if the user does not change the check state of the visual effect attribute in 1430, the visual effect attributes that need to be analyzed are by default all visual effect attributes that can be analyzed.

[0580] Further, in another embodiment, the picture editing application does not provide the setting button 1423 and the visual effect attribute selection interface 1430. The picture editing application assumes that the visual effect attributes that need to be analyzed are all visual effect attributes that can be analyzed.

[0581] Further, in another embodiment, the picture editing application does not provide a visual effect attribute selection interface 1430. When the user clicks the setting button 1423, the mobile phone pops up a visual effect attribute selection window. The visual effect attribute selection window is displayed above the picture editing page 1420 in a floating manner.

[0582] The visual effect attribute selection window provides all visual effect attributes that can be analyzed by the mobile phone and an "OK" button (refer to visual effect attribute selection interface 1430). Users can select the visual effect attributes that need to be analyzed by clicking the check boxes in the visual effect attribute selection window.

[0583] The user clicks the "OK" button in the visual effect attribute selection window, the mobile phone confirms that the visual effect attribute currently checked in the visual effect attribute selection window is the visual effect attribute that needs to be analyzed, and the mobile phone cancels the display of the visual effect attribute selection window.

[0584] The picture editing page 1420 also provides a “manual edit” button 1425 .

[0585] The user clicks the "manual editing" button 1425, and the mobile phone enters the manual editing interface. In the manual editing interface, a variety of editing tools are provided, such as: cropping tools, light adjustment tools, color adjustment tools, blur tools, etc. The user can manually edit the picture to be edited based on the manual editing interface.

[0586] S1304, the mobile phone analyzes the picture (first picture) that the user wants to edit for each visual effect attribute in the visual effect attributes that need to be analyzed (a first number of visual effect attributes), obtains a first analysis result, generates a second number of first picture comments based on the first analysis result, and displays the second number of first picture comments to the user.

[0587] For example, Fig.18 Schematic diagram of a mobile phone screen display interface according to an embodiment of the present application.

[0588] Fig.17 The picture editing page 1420 shown also provides a “Smart Analysis” button 1424 .

[0589] The user clicks the "Smart Analysis" button 1424, and the mobile phone analyzes the picture (first picture) that the user wants to edit based on the visual effect attribute selected in the visual effect attribute selection interface 1430, generates a second number of first picture comments, and the mobile phone enters the following steps: Fig.18 The 1500 picture comment display interface is shown.

[0590] Furthermore, in another embodiment, the picture editing page 1420 also provides an input box for inputting intention information. The user can input intention information in the input box (or can choose not to input it), the user clicks the "smart analysis" button 1424, and the mobile phone analyzes the picture (first picture) that the user wants to edit based on the intention information input by the user for the visual effect attribute selected in the visual effect attribute selection interface 1430, generates a second number of first picture comments, and the mobile phone enters the following Fig.18 The 1500 picture comment display interface is shown.

[0591] The picture comment display interface 1500 provides a display window 1501 .

[0592] Display window 1501 is used to display a picture (first picture) that the user desires to edit.

[0593] The picture comment display interface 1500 also provides a display window 1502 .

[0594] The display window 1502 is used to display a second number of first picture comments.

[0595] For example, Fig.18 As shown in the picture review display interface 1500, the display window 1502 displays:

[0596] Comments on the first picture regarding “composition” (too much white space, cluttered background; characters not prominent enough);

[0597] Comment on the first picture of "light and shadow" (the tone is dark and unpleasant; there is no contrast between light and shadow).

[0598] In another embodiment, in order to keep the interface clean, the complete content of the first picture comment is not displayed in the display window 1502. For example, the visual effect attribute corresponding to the first picture comment is displayed in the display window 1502. The user clicks on the visual effect attribute displayed in the display window 1502, and the mobile phone pops up the first picture comment display window, which is displayed floating above the picture comment display interface 1500. The first picture comment display window displays the complete content of the first picture comment corresponding to the visual effect attribute clicked by the user.

[0599] The picture comment display interface 1500 also provides a “return” button 1503 .

[0600] The user clicks the "Back" button 1503 to return Fig.17 The picture editing page 1420 is shown.

[0601] Further, in one embodiment, by clicking on the picture displayed in the display window 1502, the mobile phone enters a full-screen display interface, and displays the picture (first picture) that the user wants to edit in full screen. In addition, the first picture comment is marked on the corresponding part of the picture displayed in the full-screen display interface.

[0602] For example, in the sky part of the picture displayed in the full-screen display interface, mark "too much white space"; for another example, in the person part of the picture displayed in the full-screen display interface, mark "the person is not prominent enough" and "there is no light and shadow contrast"; for another example, in the background tree part of the picture displayed in the full-screen display interface, mark "the background is messy" and "the tone is dark and unpleasant".

[0603] Furthermore, in one embodiment, the picture comment display interface 1500 also displays an arrow pointing from the first picture comment in the display window 1502 to the picture displayed in the display window 1502 .

[0604] The arrow points from a first picture comment in the display window 1502 to the image portion of the picture displayed in the display window 1502 that corresponds to the first picture comment.

[0605] For example, an arrow points from the first picture comment for “composition” (too much white space) to the sky portion in the picture displayed in the display window 1502 .

[0606] For another example, an arrow points from the first picture comment for “composition” (cluttered background) to the background tree portion in the picture displayed in the display window 1502 .

[0607] For another example, an arrow points from the first picture comment for “composition” (the person is not prominent enough) to the person part of the picture displayed in the display window 1502 .

[0608] For another example, an arrow points from the first picture comment on “light and shadow” (the tone is dark and unpleasant) to the background tree part in the picture displayed in the display window 1502 .

[0609] For another example, an arrow points from the first picture comment on “light and shadow” (no light and shadow contrast) to the person part in the picture displayed in the display window 1502 .

[0610] S1305, the mobile phone confirms the visual effect attributes that need to be edited.

[0611] like Fig.18 As shown in the picture comment display interface 1500, in the display window 1502, a corresponding check box is provided for each first picture comment displayed, and the user can determine that the corresponding visual effect attribute is the visual effect attribute that needs to be edited by checking the check box.

[0612] For example, Fig.18 As shown in the picture review display interface 1500 , the user checks “Composition” and “Light and Shadow” in the display window 1502 .

[0613] S1306, the mobile phone edits the picture (first picture) that the user wants to edit according to the third number of visual effect attributes to generate a second picture that meets the visual effect standard, and displays the second picture to the user.

[0614] like Fig.18 As shown in the picture comment display interface 1500 , the picture comment display interface 1500 also provides a “smart beautification” button 1504 .

[0615] The user clicks the "Smart Beautification" button 1504, and the mobile phone uses the visual effect attributes checked by the user in the display window 1502 as the visual effect attributes that need to be edited, edits the picture that the user wants to edit (the first picture), and generates a second picture that meets the visual effect standards. The second picture is displayed in the display window 1502.

[0616] The picture comment display interface 1500 also provides a “Save” button 1506 .

[0617] When the user clicks the “Save” button 1506 , the mobile phone saves the picture displayed in the display window 1502 to the local computer or the cloud.

[0618] Furthermore, in another embodiment, the picture comment display interface 1500 also provides a manual editing button.

[0619] The user clicks the manual editing button in the picture review display interface 1500, and the mobile phone enters the manual editing interface. In the manual editing interface, a variety of editing tools are provided, such as: cropping tools, light adjustment tools, color adjustment tools, blur tools, etc. The user can manually edit the picture to be edited based on the manual editing interface.

[0620] After the second picture is displayed in the display window 1502, the user can change the visual effect attribute checked in the display window 1502. After the user changes the visual effect attribute checked in the display window 1502, the user clicks the "smart beautification" button 1504, and the second picture displayed in the display window 1502 is refreshed accordingly.

[0621] S1307, the mobile phone analyzes the second picture for each of the edited visual effect attributes based on the visual effect standard corresponding to the visual effect attribute, obtains a second analysis result, generates a fifth number of second picture comments according to the second analysis result, and displays the fifth number of second picture comments to the user.

[0622] like Fig.18 As shown in the picture comment display interface 1500 , the picture comment display interface 1500 also provides a “special effect” button 1505 .

[0623] The user clicks the “Special Effects” button 1505 , and the mobile phone enters the special effects editing interface shown in 1510 .

[0624] The special effect editing interface 1510 provides a display window 1512 .

[0625] When the mobile phone enters the special effect editing interface 1510 from the picture review display interface 1500 , the display window 1512 is used to display the second picture displayed in the display window 1502 .

[0626] The special effect editing interface 1510 also provides a special effect selection window 1511 .

[0627] The special effect selection window 1511 includes a “poster effect” button 1513 , a “photo frame” button, a “puzzle” button, a “text bubble” button, a “stamp” button, a “graffiti” button, and so on.

[0628] Further, in another embodiment, the picture editing application does not provide the special effect editing interface 1510. When the user clicks the "special effect" button 1505, the mobile phone pops up a special effect selection window 1511. The special effect selection window 1511 is displayed above the picture comment display interface 1500 in a floating manner.

[0629] When the user clicks on an area outside the special effect selection window 1511 on the screen, the mobile phone cancels display of the visual effect attribute selection window.

[0630] The user clicks the “Poster Effect” button 1513 , and the mobile phone enters the poster effect editing interface shown in 1520 .

[0631] The poster effect editing interface 1520 provides a display window 1521 .

[0632] The display window 1521 is used to display the second picture displayed in the display window 1502 of the picture review display interface 1500 .

[0633] The poster effect editing interface 1520 also provides a display window 1522 .

[0634] Display window 1522 is used to display the fifth number of second picture comments. Fig.18 As shown in the poster effect editing interface 1520, the display window 1522 displays:

[0635] The visual effect advantage of the composition is "the picture shows a little girl in blue and yellow clothes observing the leaves in a sunny green environment";

[0636] The visual effect of the composition is as follows: "The figure is in the center, the background is clean, and the focus is on the hand holding the leaves, which makes people see a very appealing portrait";

[0637] The advantage of the visual effect of light and shadow is that "the sunlight shines from the side and back, highlighting the character's vivid face."

[0638] S1308: The mobile phone determines a sixth number of second picture comments among the fifth number of second picture comments.

[0639] like Fig.18 As shown in the poster effect editing interface 1520, in the display window 1522, a corresponding check box is provided for each second picture comment displayed, and the user can select the sixth number of second picture comments by checking the check box.

[0640] S1309, the mobile phone synthesizes the sixth number of second picture comments and the second picture to generate a fourth picture, and displays the fourth picture to the user.

[0641] like Fig.18 As shown in the poster effect editing interface 1520, the poster effect editing interface 1520 also provides a "generate poster" button 1523.

[0642] When the user clicks the “Generate Poster” button 1523 , the mobile phone will display all the checked second picture comments in the window 1522 as the sixth number of second picture comments, synthesize the sixth number of second picture comments and the second picture to generate the fourth picture, and the fourth picture will be displayed in the display window 1521 .

[0643] After the fourth picture is displayed in the display window 1521, the user can change the comment of the second picture checked in the display window 1522. After the user changes the comment of the second picture checked in the display window 1522, the user clicks the "generate poster" button 1523, and the fourth picture displayed in the display window 1521 is refreshed accordingly.

[0644] The poster effect editing interface 1520 also provides an “OK” button 1524 .

[0645] The user clicks the "OK" button 1524, the mobile phone confirms the picture editing effect in the display window 1521, and the mobile phone returns to the special effect editing interface 1510. At this time, the fourth picture in the display window 1521 is displayed in the display window 1512 of the special effect editing interface 1510.

[0646] The poster effect editing interface 1520 also provides a “Cancel” button 1525 .

[0647] The user clicks the "Cancel" button 1525, the mobile phone abandons the picture editing effect in the display window 1521, and the mobile phone returns to the special effect editing interface 1510. At this time, the display window 1512 of the special effect editing interface 1510 displays the second picture displayed in the display window 1502.

[0648] The special effect editing interface 1510 also provides a “save” button 1517 .

[0649] When the user clicks the “Save” button 1517 , the mobile phone saves the picture displayed in the display window 1512 to the local computer or the cloud.

[0650] The special effect editing interface 1510 also provides a “return” button 1518 .

[0651] The user clicks the “return” button 1518 , and the mobile phone returns to the picture comment display interface 1500 .

[0652] Furthermore, in another embodiment, the poster effect editing interface 1520 also provides an input window for the user to input a picture comment. The user can input the picture comment edited by himself in the input window (or can choose not to input). After the user clicks the "generate poster" button 1523, the mobile phone displays all the checked second picture comments in the display window 1522 as the sixth number of second picture comments, synthesizes the sixth number of second picture comments, the picture comment input by the user and the second picture, generates a fourth picture, and the fourth picture is displayed in the display window 1521.

[0653] In the description of the embodiments of the present application, for the convenience of description, the device is described by dividing it into various modules according to its functions. The division of each module is merely a division of logical functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or one or more software and / or hardware.

[0654] Specifically, the device proposed in the embodiment of the present application can be fully or partially integrated into a physical entity (for example, a GPU or other type of processor) during actual implementation, or it can be physically separated. And these modules can all be implemented in the form of software calling through a processing element; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through a processing element, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.

[0655] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0656] In one embodiment, the image processing device provided in the present application can be implemented on an electronic device, which includes all modules of the image processing device provided in the present application.

[0657] An embodiment of the present application further provides an electronic device (eg, a mobile phone, AR glasses). The electronic device is used to execute the method flow or part of the method flow described in the embodiment of the present application.

[0658] Fig.19 Schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0659] like Fig.19 As shown, the electronic device 2400 includes: a bus 2404, a processor 2401, a memory 2402 and a communication interface 2403. The processor 2401, the memory 2402 and the communication interface 2403 communicate with each other via the bus 2404.

[0660] The electronic device 2400 may be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the electronic device 2400.

[0661] It is understandable that the structural description of the electronic device 2400 in the embodiment of the present application does not constitute a specific limitation on the electronic device 2400. In other embodiments of the present application, the electronic device 2400 may include other components besides the processor 2401 and the memory 2402.

[0662] The bus 2404 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.19 The bus 2404 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 2404 may include a path for transmitting information between various components of the electronic device 2400 (for example, the memory 2402, the processor 2401, and the communication interface 2403).

[0663] The processor 2401 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0664] The processor 2401 may be a device on a chip (SOC), and the processor 2401 may include a central processing unit (CPU), and may further include other types of processors.

[0665] The processor involved in the processor 2401 may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.

[0666] The processor 2401 may include one or more processing units. For example, the processor may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 2400 may also include one or more processors 2401. The controller may generate an operation control signal based on the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0667] In some embodiments, the processor 2401 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. Among them, the USB interface is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge an electronic device, and can also be used to transmit data between an electronic device and a peripheral device.

[0668] The memory 2402 may include a volatile memory, such as a random access memory (RAM). The processor 2401 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0669] The memory 2402 stores executable program codes, and the processor 2401 executes the executable program codes to implement the aforementioned functions respectively, thereby implementing the image processing method proposed in the embodiment of the present application. That is, the memory 2402 stores instructions for executing the image processing method proposed in the embodiment of the present application.

[0670] The memory 2402 may include a code storage area and a data storage area. The code storage area may store an operating system. The data storage area may store data created during the use of the electronic device 2400, etc. In addition, the memory 2402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc.

[0671] The memory 2402 may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or may be any computer-readable medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0672] The processor 2401 and the memory 2402 may be integrated into one processing device, or more commonly, may be independent components.

[0673] The communication interface 2403 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the electronic device 2400 and other devices or a communication network.

[0674] The electronic device 2400 may also include an external memory interface, which is used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 2401 through the external memory interface to implement a data storage function. For example, files such as music and videos are stored in the external memory card.

[0675] Furthermore, in one embodiment, the electronic device 2400 may also include a display screen, which is connected to the processor 2401 via a bus 2404. The display screen is used to display images that need to be displayed to the user in the method flow provided in the embodiment of the present application, for example, the first picture comment and the second picture; for example, the third picture.

[0676] Further, in another embodiment, the electronic device 2400 is connected to the display device, for example, connected to the display device through the communication interface 2403, or connected to the display device through the display interface of the processor 2401. The electronic device 2400 outputs the image data of the image to be displayed in the method flow provided in the embodiment of the present application to the display device, and the display device displays the corresponding image to the user.

[0677] In another embodiment, the image processing device provided by the present application can be implemented on multiple electronic devices. For example, the image processing device provided by the present application can be implemented by a terminal device including a display device and a cloud server connected to the terminal device.

[0678] An embodiment of the present application further provides an electronic device cluster, which includes at least one electronic device.

[0679] Any electronic device in the electronic device cluster can refer to Fig.19 Each electronic device in the electronic device cluster includes a memory and a processor; the processor of at least one electronic device in the electronic device cluster is used to execute instructions stored in the memory of at least one electronic device in the electronic device cluster, so that the electronic device cluster executes the method described in the embodiment of the present application.

[0680] For example, in one embodiment, the electronic device cluster includes a first electronic device, which is a terminal device, such as a mobile phone or AR glasses. The electronic device cluster also includes a second electronic device, which is a cloud server.

[0681] The first electronic device is used to implement Figure 2 The second electronic device is used to implement the following: Figure 2 The functions of the picture analysis module 102 and the picture editing module 103 of the picture processing device are shown.

[0682] For another example, in one embodiment, the electronic device cluster includes a first electronic device, which is a terminal device, such as a mobile phone or AR glasses. The electronic device cluster also includes a second electronic device and a third electronic device, which are electronic devices of a cloud server.

[0683] The first electronic device is used to implement Figure 2 The second electronic device and the third electronic device are used to cooperate in data processing to achieve the following: Figure 2 The functions of the picture analysis module 102 and the picture editing module 103 of the picture processing device are shown.

[0684] Fig. 20 Schematic diagram of an electronic device cluster according to an embodiment of the present application.

[0685] like Fig. 20As shown, the electronic device cluster includes at least one electronic device 2500 (the structure of the electronic device 2500 can refer to the electronic device 2400). The electronic device 2500 can be a server device or a terminal device. Each electronic device 2500 includes: a bus 2504 (refer to the bus 2404), a processor 2501 (refer to the processor 2401), a memory 2502 (refer to the memory 2402) and a communication interface 2503 (refer to the communication interface 2403).

[0686] The memory 2501 in one or more electronic devices in the electronic device cluster may store the same instructions for executing the image processing method proposed in the embodiment of the present application.

[0687] In some possible implementations, the memory 2501 of one or more electronic devices 2500 in the electronic device cluster may also store partial instructions for executing the glasses fitting method proposed in the embodiment of the present application. In other words, the combination of one or more electronic devices 2500 may jointly execute instructions for executing the method proposed in the embodiment of the present application.

[0688] It should be noted that the memory 2501 in different electronic devices 2500 in the electronic device cluster can store different instructions, which are respectively used to execute part of the functions of the model training device proposed in the embodiment of the present application. That is, the instructions stored in the memory 2502 in different electronic devices 2500 can realize the functions of one or more modules in the picture acquisition module 101, the display module 104, the picture analysis module 102 and the picture editing module 103.

[0689] In some possible implementations, one or more electronic devices in the electronic device cluster may be connected via a network, which may be a wide area network or a local area network.

[0690] Fig.21 The figure is a schematic diagram of a network connection of an electronic device cluster according to an embodiment of the present application.

[0691] like Fig.21 As shown, two electronic devices 2600A and 2600B are connected via a network. Specifically, they are connected to the network via a communication interface in each electronic device. The structures of the electronic devices 2600A and 2600B can refer to the electronic device 2400.

[0692] The electronic device 2600A includes a bus 2604A (see bus 2404 ), a processor 2601A (see processor 2401 ), a memory 2602A (see memory 2402 ), and a communication interface 2603A (see communication interface 2403 ).

[0693] The electronic device 2600B includes a bus 2604B (see bus 2404 ), a processor 2601B (see processor 2401 ), a memory 2602B (see memory 2402 ), and a communication interface 2603B (see communication interface 2403 ).

[0694] In one embodiment, the electronic device 2600A is a terminal device, and the electronic device 2600B is a server.

[0695] It should be understood that Fig.21 The functions of the electronic device 2600A shown in FIG. 2 may also be completed by multiple electronic devices. Similarly, the functions of the electronic device 2500B may also be completed by multiple electronic devices.

[0696] An embodiment of the present application further provides an electronic chip, which is used to execute the method flow or part of the method flow described in the embodiment of the present application.

[0697] Specifically, the electronic chip includes a processor for executing program instructions. When the computer program instructions are executed by the processor, the electronic chip is triggered to execute the method steps described in the embodiment of the present application. The processor of the electronic chip can refer to the processor of the above-mentioned electronic device.

[0698] The devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.

[0699] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0700] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0701] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.

[0702] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.

[0703] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0704] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0705] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0706] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0707] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0708] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0709] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0710] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments of the present application can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0711] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0712] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for processing an image, characterized in that: The method comprises: displaying at least one first picture review, wherein: the first picture review is obtained by analyzing the first picture based on a visual effect standard corresponding to a visual effect attribute; one first picture review corresponds to one visual effect attribute; and the first picture review includes information describing that the first picture does not meet the corresponding visual effect standard; Display a second picture, wherein: the second picture is generated by editing the first picture with all or part of the visual effect attributes corresponding to the at least one first picture comment as the editing object; and the second picture meets the corresponding visual effect standards for the visual effect attributes as the editing object.

2. The method according to claim 1, characterized in that The displaying of at least one first picture comment comprises: Taking the first number of visual effect attributes as analysis objects, analyzing the first image, and generating a second number of first image comments, wherein: each first image comment in the second number of first image comments corresponds to one visual effect attribute in the first number of visual effect attributes; The second number of first picture comments is displayed.

3. The method according to claim 2, characterized in that The second number is less than or equal to the first number.

4. The method according to claim 2, characterized in that: The method further comprises: Receiving a first selection instruction, the first selection instruction being used to point to the first number of visual effect attributes; According to the first selection instruction, the first number of visual effect attributes are determined from all visual effect attributes that can be analyzed.

5. The method according to claim 2, characterized in that: The step of taking the first number of visual effect attributes as analysis objects, analyzing the first image, and generating a second number of first image comments includes: Taking the first number of visual effect attributes as analysis objects, analyzing the first picture, and obtaining a first analysis result, wherein the first analysis result includes, for any one of the first number of visual effect attributes, whether the first picture satisfies or does not satisfy a corresponding visual effect standard; The second number of first picture comments is generated according to the first analysis result.

6. The method according to claim 5, characterized in that The step of taking the first number of visual effect attributes as analysis objects, analyzing the first picture, and obtaining a first analysis result includes: Performing intent recognition on the first picture to obtain the image expression intent of the first picture; According to the image expression intent, calling the visual effect standards corresponding to the first number of visual effect attributes; The first number of visual effect attributes are taken as analysis objects, and based on visual effect standards corresponding to the first number of visual effect attributes, the first image is analyzed to obtain the first analysis result.

7. The method according to claim 6, characterized in that The method further comprises: Receive the user's input intention information; The performing intent recognition on the first picture to obtain the image expression intent of the first picture includes, based on the intent information, performing intent recognition on the first picture to obtain the image expression intent.

8. The method according to claim 2, characterized in that: The displaying of the second picture comprises: Determining a third number of visual effect attributes, wherein the third number of visual effect attributes includes all or part of the visual effect attributes corresponding to the second number of first picture reviews; Taking the third number of visual effect attributes as editing objects, the first picture is edited to generate the second picture.

9. The method according to claim 8, characterized in that The determining of the third number of visual effect attributes comprises: receiving a second selection instruction, the second selection instruction being used to point to the third number of visual effect attributes; According to the second selection instruction, the third number of visual effect attributes is determined.

10. The method according to claim 9, characterized in that: The third number of visual effect attributes are part or all of the visual effect attributes corresponding to the second number of first picture comments; Alternatively, the third number of visual effect attributes further includes other visual effect attributes other than the visual effect attributes corresponding to the second number of first picture comments.

11. The method according to claim 1, characterized in that: The displaying of at least one first picture comment comprises: inputting the first picture into a first neural network model, and obtaining the at least one first picture comment output by the first neural network model; The displaying of the second picture includes inputting the first picture and the second selection instruction into a second neural network model, and obtaining the second picture output by the second neural network model.

12. The method according to claim 1, characterized in that: The displaying of at least one first picture comment comprises: inputting the first picture into a third neural network model, and obtaining the at least one first picture comment output by the third neural network model; The displaying of the second picture includes inputting the second selection instruction into the third neural network model, and obtaining the second picture output by the third neural network model.

13. The method according to claim 1, characterized in that The first picture comment also includes explanation information, and the explanation information is used to describe the reason why the first picture does not meet the visual effect standard.

14. The method according to claim 1, characterized in that The first picture review also includes picture editing suggestions, where the picture editing suggestions are used to describe the operation process of editing the picture, and the operation process of editing the picture is used to edit the first picture so that the first picture meets the visual effect standard.

15. The method according to any one of claims 1 to 14, characterized in that The method further comprises: displaying at least one second picture comment, wherein: the second picture comment is obtained by analyzing the second picture based on the visual effect standard corresponding to the visual effect attribute; the second picture comment includes information describing whether the second picture meets and / or does not meet the visual effect standard; A third picture is displayed, wherein the third picture is a picture obtained by synthesizing the second picture and all or part of the second picture comments in the at least one second picture comment.

16. The method according to claim 15, characterized in that The displaying of at least one second picture comment comprises: Taking a fourth number of visual effect attributes as analysis objects, analyzing the second picture, and generating a fifth number of second picture comments; The fifth number of second picture comments are displayed.

17. The method according to claim 16, characterized in that The fourth number of visual effect attributes is the third number of visual effect attributes.

18. The method according to claim 15, characterized in that The displaying of the third picture comprises: Determine a sixth number of second picture comments, wherein the sixth number of second picture comments is all or part of the fifth number of second picture comments; The sixth number of second picture comments and the second picture are synthesized to generate the third picture.

19. A method for processing an image, characterized in that: The method comprises: displaying at least one third picture review, wherein: the third picture review is obtained by analyzing the fourth picture based on the visual effect standard corresponding to the visual effect attribute; the third picture review includes information describing whether the fourth picture meets and / or does not meet the visual effect standard; A fifth picture is displayed, wherein the fifth picture is a picture obtained by synthesizing the fourth picture and all or part of the third picture comments in the at least one third picture comment.

20. An electronic device, characterized in that: The electronic device comprises a memory and a processor; The processor is configured to execute instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 18 or claim 19.

21. An electronic equipment cluster, characterized in that: The electronic device cluster includes at least one electronic device, each of which includes a memory and a processor; The processor of the at least one electronic device is configured to execute instructions stored in the memory of the at least one electronic device, so that the electronic device cluster executes the method according to any one of claims 1 to 18 or claim 19.

22. A computer program product comprising instructions, characterized in that When the instructions are executed by the electronic device system, the electronic device cluster executes the method according to any one of claims 1 to 18 or claim 19.

23. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computer system, the computer system performs the method according to any one of claims 1 to 18 or claim 19.

Citation Information

Patent Citations

  • Method and device for optimizing image quality, electronic equipment and storage medium

    CN114092568A

  • Video editing method, video editing device, electronic equipment and readable storage medium

    CN114430499A

  • Image processing method and device

    CN116778212A

Cited By

  • Picture processing method, electronic device, and electronic device cluster

    WO2026081539A1