Image processing method, device, electronic device and storage medium

By using the image processing step information of the template in the image processing software, the problem that users are difficult to choose due to too many functions or complex operations is solved, and the simplification of function selection and improvement of user viscosity is achieved.

CN113902835BActive Publication Date: 2025-05-23BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111342784.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2025-05-23
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

When using image processing software, it is difficult for users to choose the appropriate function due to excessive functions or complex operations, resulting in reduced usage frequency and decreased user viscosity.

Method used

By acquiring and displaying the image processing step information of the template, the user is allowed to modify these step information to achieve the effect of modifying the template, and process the current image based on the modified step information, thereby simplifying the function selection process.

Benefits of technology

By recommending templates through the image processing step information of the template, the difficulty of selecting and using image processing functions in the image processing software is reduced, and user viscosity is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113902835B_ABST
    Figure CN113902835B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image processing method, device, electronic device and storage medium, and belongs to the field of Internet technology. The method includes: obtaining and displaying image processing step information of a first template on a client, modifying the image processing step information, and processing the current image based on the modified image processing step information to obtain an image with a modified effect. In this way, the template is recommended to the user by means of the image processing step information of the template, which is conducive to reducing the difficulty of selecting and using the image processing function in the image processing software, and is also conducive to improving user stickiness.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In recent years, with the rapid development of Internet technology, some short video applications have emerged. In order to facilitate users to upload short videos with modified effects, some image processing software has appeared.

[0003] In the related art, image processing software can not only provide a variety of materials such as stickers, filters, and fun videos, but also provide rich image editing functions such as beautification, makeup, and body shaping, which well meet the user's needs for beautification and fun image editing. However, with the gradual increase in image processing functions in image processing software, users will face the problem of too many image processing functions or complex operations and difficulty in choosing. In this way, it is easy to reduce the frequency of use of each image processing function and the stickiness of users. Summary of the invention

[0004] The present disclosure provides an image processing method, device, electronic device and storage medium to at least solve the problem in the related art that users have difficulty choosing image processing functions due to excessive or complex operations. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an image processing method, including:

[0006] In response to the template acquisition request, acquiring image processing step information of the first template;

[0007] Process the current image according to the image processing step information.

[0008] In response to a modification operation on the image processing step information, modify the image processing step information;

[0009] Process the current image according to the modified image processing step information.

[0010] In some embodiments, it also includes:

[0011] generating a second template based on the modified image processing step information;

[0012] Upload the second template.

[0013] In some embodiments, before uploading the second template, the method further includes:

[0014] It is determined that the preset upload requirements are met, and the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

[0015] In some embodiments, it also includes:

[0016] If it is determined that the second template contains prohibited content, prompt information is displayed, where the prompt information is used to prompt the prohibited content contained in the second template.

[0017] In some embodiments, after displaying the prompt information, the method further includes:

[0018] In response to a modification operation on the second template, modify the second model;

[0019] After determining that the modified second template meets the preset upload requirement, the modified second template is automatically uploaded.

[0020] In some embodiments, obtaining the image processing step information of the first template includes:

[0021] Image processing step information of the first template after deleting designated materials is obtained, where the designated materials include materials that are prohibited from use and / or materials that are incompatible with the version of the current image processing software.

[0022] According to a second aspect of an embodiment of the present disclosure, there is provided an image processing apparatus, including:

[0023] an acquisition unit, configured to execute, in response to a template acquisition request, image processing step information of a first template;

[0024] A display unit, configured to display the image processing step information;

[0025] A first modifying unit is configured to modify the image processing step information in response to a modification operation on the image processing step information;

[0026] The processing unit is configured to process the current image according to the modified image processing step information.

[0027] In some embodiments, it also includes:

[0028] A generating unit, configured to generate a second template based on the modified image processing step information;

[0029] The uploading unit is configured to upload the second template.

[0030] In some embodiments, it also includes:

[0031] The determination unit is configured to determine whether the preset upload requirements are met before uploading the second template, and the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

[0032] In some embodiments, it also includes:

[0033] The prompt unit is configured to display prompt information if it is determined that the second template contains prohibited content, wherein the prompt information is used to prompt the prohibited content contained in the second template.

[0034] In some embodiments, it also includes:

[0035] A second modifying unit is configured to modify the second model in response to a modification operation on the second template after displaying the prompt information;

[0036] The uploading unit is further configured to automatically upload the modified second template after determining that the modified second template meets the preset upload requirement.

[0037] In some embodiments, the acquisition unit is specifically configured to perform:

[0038] Image processing step information of the first template after deleting designated materials is obtained, where the designated materials include materials that are prohibited from use and / or materials that are incompatible with the version of the current image processing software.

[0039] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0040] processor;

[0041] a memory for storing instructions executable by the processor;

[0042] The processor is configured to execute the instructions to implement any of the above-mentioned image processing methods.

[0043] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned image processing methods.

[0044] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided. When the computer program product is called and executed by a computer, it can enable the computer to execute any of the above-mentioned image processing methods.

[0045] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0046] The image processing step information of the first template is obtained and displayed on the client, the image processing step information is modified to achieve the effect of modifying the first template, and the current image is processed based on the modified image processing step information, thereby obtaining an image with a modified effect. In this way, templates are recommended to users by means of the image processing step information of the template, which is conducive to reducing the difficulty of selecting and using image processing functions in image processing software, and is also conducive to improving user stickiness.

[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0049] Figure 1 It is an application scenario diagram of an image processing method according to an exemplary embodiment.

[0050] Figure 2 The diagram is an interactive flow chart of an image processing method according to an exemplary embodiment.

[0051] Figure 3 is an interactive flow chart of yet another image processing method according to an exemplary embodiment.

[0052] Figure 4 The figure is a flowchart of an image processing method according to an exemplary embodiment.

[0053] Figure 5 is a flowchart of yet another image processing method according to an exemplary embodiment.

[0054] Figure 6 is a block diagram of an image processing apparatus according to an exemplary embodiment.

[0055] Figure 7 It is a schematic structural diagram of an electronic device for executing any image processing method according to an exemplary embodiment. DETAILED DESCRIPTION

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

[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0058] In order to facilitate the understanding of the present disclosure, the technical terms involved in the present disclosure are as follows:

[0059] A template is a set of image processing functions that can modify an image.

[0060] The image processing step information of the template is used to describe which image processing methods are used in the process of generating the template, the processing order of these image processing methods, and the materials used by each image processing method, the area of ​​action of the materials, the degree of action (such as the magnification of a magnifying glass), etc. In short, by processing the current image according to the image processing steps of the template, an image with a modified effect can be obtained.

[0061] Materials refer to multimedia files that can modify images, such as stickers, filters, background music, fun videos, etc.

[0062] In order to solve the problem that users find it difficult to choose when using image processing software such as beauty camera due to the numerous image processing functions or complicated function parameters in the software, the disclosed embodiment introduces the concept of obtaining templates, and by showing the modification effect of the template (i.e., the unique beautification effect produced by a set of complex customized parameters), users can use the template to easily create images with the same or similar effects. In addition, by adding some interactive feedback, the images created by users can have a certain community effect, so that some users can become expert users. Expert users can have more rights and interests than ordinary users (i.e., users other than expert users), such as winning certain profits by uploading templates.

[0063] Next, the application scenarios of the disclosed solution are exemplarily introduced.

[0064] Figure 1 1 is an application scenario diagram of an image processing method according to an exemplary embodiment, including a terminal 100 and a server 200 .

[0065] The terminal 100 may be any smart device such as a smart phone, a tablet computer, a portable personal computer, etc., and various clients such as a client of an image processing software may be installed on the terminal 100. Through the client, the user may use the materials, templates, beauty, makeup, body shaping and other image editing functions provided by the image processing software to edit the image, obtain an image with a modified effect, and upload the image to the server, which is distributed to other clients by the server. In addition, when the client meets the template upload condition, such as the popularity of the image uploaded by the client is higher than the preset popularity, the client may also be allowed to upload the template.

[0066] The server 200 can provide various network services for the terminal 100. For different applications on the terminal 100, the server 200 can be considered as a background server that provides corresponding network services. For example, in the embodiment of the present disclosure, the server 200 can recommend various reviewed images to the terminal 100 for the user to browse and / or use. For another example, the server 200 can receive images or templates uploaded by the terminal 100, perform image review on the images or templates, and return the review results.

[0067] The server 200 may be a single server, a server cluster consisting of several servers, or a cloud computing center.

[0068] Specifically, the server 200 may include a processor 210 (Center Processing Unit, CPU), a memory 220, an input device 230 and an output device 240, etc. The input device 230 may include a keyboard, a mouse, a touch screen, etc., and the output device 240 may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), a cathode ray tube (Cathode Ray Tube, CRT), etc.

[0069] The memory 220 may include a read-only memory (ROM) and a random access memory (RAM), and provides the processor 210 with program instructions and data stored in the memory 220. In the embodiment of the present disclosure, the memory 220 may be used to store the program of any image processing method in the embodiment of the present disclosure.

[0070] The processor 210 calls the program instructions stored in the memory 220, and the processor 210 is used to execute the steps of any one of the image processing methods in the embodiments of the present disclosure according to the obtained program instructions.

[0071] The terminal 100 and the server 200 are connected through the Internet to achieve mutual communication. Optionally, the above-mentioned Internet uses standard communication technology and / or protocol. The Internet is usually the Internet, but it can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or a virtual private network. In some embodiments, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0072] It should be noted that the application architecture diagram in the embodiment of the present disclosure is intended to more clearly illustrate the technical solution in the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided in the embodiment of the present disclosure, nor is it limited to image processing software. For other application architectures and business applications, the technical solution provided in the embodiment of the present disclosure is also applicable to similar problems.

[0073] After introducing the application scenarios of the embodiments of the present disclosure, the image processing method proposed in the present disclosure is introduced with specific embodiments below.

[0074] Figure 2 It is an interactive flow chart of an image processing method according to an exemplary embodiment. The flow chart of the method includes the following steps.

[0075] S201: When a template recommendation condition is met, the server sends effect preview information of at least one template to the client.

[0076] The template recommendation condition includes, for example, the client logging into the server or the client entering the image template recommendation page.

[0077] Taking into account that the materials used in the template may change, such as expire or become invalid, in order to ensure that the templates seen by users on the template-using end can be used normally, the server may delete the image processing step information corresponding to the specified materials in the at least one template before sending the preview effect information of the at least one template to the client, wherein the specified materials may be materials that are prohibited from use and / or incompatible with the software version of the requesting end.

[0078] S202: The client displays the template based on the effect preview information of the at least one template.

[0079] In this way, users can preview the modified effects of the template on the client side.

[0080] S203: In response to the template selection operation, the client sends a template use request to the server, where the template use request includes a template identifier.

[0081] In specific implementation, if a user wants to use a certain template, by selecting the template on the template display page, the client is triggered to send a template use request to the server, and the template use request includes the template identifier of the template.

[0082] S204: The server sends the image processing step information corresponding to the template identifier to the client.

[0083] S205: The client displays the image processing step information.

[0084] S206: The client modifies the image processing step information in response to the modification operation on the image processing step information.

[0085] The modification operation may be to change the intensity and scope of action corresponding to a certain image processing step, to add or delete the material used in a certain image processing step, or to delete or add an image processing step. In other words, the modification operation of the image processing step information is relatively free.

[0086] S207: The client processes the current image based on the modified image processing step information to obtain an image with a modified effect.

[0087] In the disclosed embodiment, the image processing step information of the template is obtained and displayed on the client, and the user can modify the image processing step information to achieve the purpose of modifying the template, and the current image is processed based on the modified image processing step information to obtain an image with a modified effect. In this way, the template is recommended based on the image processing step information of the template, which is conducive to reducing the difficulty of selecting and using the image processing function in the image processing software, and is also conducive to improving user stickiness.

[0088] Figure 3It is an interactive flow chart of another image processing method according to an exemplary embodiment, wherein the template uploading end is such as the client where the expert user is located, and the template using end can be the client where the ordinary user is located or the client where the expert user is located. The flow chart of the method includes the following steps.

[0089] S301: The template upload end edits the image to obtain the template, and records the editing process to obtain the image processing step information of the template.

[0090] Generally, the editing of images using special effects by the template uploader can be described. For example, the area where the special effects are applied on the picture, the degree of application (such as the magnification of a magnifying glass), the application layer, etc. can all be digitally represented. Therefore, the image editing process can be recorded in a form agreed upon with the server to make it reproducible.

[0091] In some implementations, the creation process of the template may be recorded in json format. For example, the editing of the light spot may be represented by the following json data:

[0092]

[0093] By editing the image according to the above json data, you can get the light spot with the same modified effect.

[0094] S302: The template uploader uploads the template and the template's image processing step information to the server.

[0095] S303: The server reviews and classifies the templates and adjusts the order in which the templates are issued.

[0096] Generally, different templates have different types, such as fresh, popular, etc. In order to better recommend templates, templates can be classified and a display order can be specified for each type of template. This display order can be determined by the server based on a sorting algorithm, or it can be adjusted by technicians based on the popularity of the template and promotion needs.

[0097] In specific implementation, the ordered set zset in the remote dictionary server (redis) can be used to classify and store the display information of templates. For example, the key is the template identifier of the template, and the value is the display order of the template in this category. When a category adds a template, the template will be appended to the end of the zset corresponding to this category. When a category removes a template, all templates behind this template can be moved forward one position. When the display order of the templates needs to be adjusted, the solution of moving the positions of all templates between the adjusted position and the original position one position toward the original position can be adopted. This can reduce the number of operations and obtain the display order of each template after adjustment.

[0098] In addition, the review and pinning of new templates also rely on the adjustment of the display order, so the display order is crucial to the entire image editing service. For this reason, the display order can be stored in the database every time it changes to prevent the display order from being lost due to memory instability.

[0099] S304: When the template recommendation condition is met, the server sends effect preview information of at least one template to the template user.

[0100] For example, obtain the top 20 templates in terms of popularity, and send effect preview information of these 20 templates to the template user.

[0101] S305: The template user terminal displays each template based on the effect preview information of the at least one template.

[0102] S306: The template user sends a template use request to the server in response to the template selection operation.

[0103] S307: The server sends the image processing step information corresponding to the template to the template user.

[0104] S308: The template user displays the image processing step information.

[0105] S309: The template user modifies the image processing step information in response to the modification operation on the image processing step information.

[0106] S310: The template user processes the current image according to the modified image processing step information.

[0107] S311: The template user generates a second template based on the modified image processing step information.

[0108] S312: The template user sends the second template to the server.

[0109] That is, the template user uploads the second template.

[0110] In specific implementation, before the template user sends the second template to the server, it can also determine whether it meets the preset upload requirements, which include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

[0111] Among them, the template upload conditions include the client where the expert user is located, the popularity of the image uploaded by the client is higher than the preset popularity, and the praise of the image uploaded by the client is higher than the preset praise. That is, the client that can upload the template is a client with relatively guaranteed image upload quality and is also a relatively popular client. This is conducive to ensuring the modification effect of the second template. Prohibited content such as uncivilized language, sensitive words, etc., is conducive to ensuring the standardization of the second template.

[0112] In addition, after determining that the second template contains prohibited content, a prompt message can be displayed to indicate the prohibited content contained in the second template. In this way, it is convenient to clearly inform the user which content to modify, which is conducive to reducing the difficulty of template modification and improving user experience.

[0113] Subsequently, the second model can be modified in response to the modification operation on the second template, and after determining that the modified second template meets the preset upload requirements, the modified second template is automatically uploaded. In this way, automatically uploading the modified second template is conducive to simplifying the template upload process and improving the user experience.

[0114] It should be noted that there is no strict sequence relationship between the above S310 and S311-S312.

[0115] In the disclosed embodiment, the relatively complex image editing operations uploaded by the template upload end are distributed to the template user end in the form of templates, so that the users of the template user end can enjoy a better image modification experience without paying a large learning cost, which can not only lower the threshold for using image processing software, but also improve the community atmosphere. In addition, the users of the template upload end can also gain popularity and income by publishing templates.

[0116] Figure 4 is a flowchart of an image processing method according to an exemplary embodiment, comprising the following steps:

[0117] S401: In response to a template acquisition request, image processing step information of a first template is acquired.

[0118] S402: Display image processing step information.

[0119] In this way, users can intuitively understand the modification effect of each image processing step on the client side.

[0120] S403: In response to the modification operation on the image processing step information, modify the image processing step information.

[0121] The modification operation may be to change the intensity and scope of action corresponding to a certain image processing step, to add or delete the material used in a certain image processing step, or to delete or add an image processing step. In other words, the modification operation of the image processing step information is relatively free.

[0122] S404: Process the current image according to the modified image processing step information.

[0123] Generally, by processing the current image based on the modified image processing step information, an image with a modified effect can still be obtained, and the modified effect may be partially the same as or completely different from the modified effect of the first template.

[0124] Figure 5 is a flowchart of another image processing method according to an exemplary embodiment, comprising the following steps:

[0125] S501: In response to a template acquisition request, image processing step information of a first template is acquired.

[0126] S502: Display image processing step information.

[0127] S503: In response to the modification operation on the image processing step information, modify the image processing step information.

[0128] S504: Process the current image according to the modified image processing step information.

[0129] S505: Generate a second template based on the modified image processing step information.

[0130] S506: In response to the template upload operation, generate a template upload request.

[0131] S507: Determine whether the preset upload requirements are met, the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content, if so, enter S508, if not, enter S509.

[0132] S508: Upload the second template.

[0133] S509: If it is determined that the second template contains prohibited content, a prompt message is displayed to prompt the prohibited content contained in the second template.

[0134] S510: In response to the modification operation on the second template, modify the second model.

[0135] S511: After determining that the modified second template meets the preset upload requirements, the modified second template is automatically uploaded.

[0136] Based on the same technical concept, the embodiment of the present disclosure also provides an image processing device. The principle of solving the problem by the image processing device is similar to that of the above-mentioned image processing method. Therefore, the implementation of the image processing device can refer to the implementation of the above-mentioned image processing method, and the repeated parts will not be repeated. Figure 6 It is a block diagram of an image processing device according to an exemplary embodiment, comprising an acquisition unit 601 , a display unit 602 , a first modification unit 603 , and a processing unit 604 .

[0137] An acquisition unit 601 is configured to execute, in response to a template acquisition request, acquisition of image processing step information of a first template;

[0138] A display unit 602 is configured to display the image processing step information;

[0139] A first modifying unit 603 is configured to modify the image processing step information in response to a modification operation on the image processing step information;

[0140] The processing unit 604 is configured to process the current image according to the modified image processing step information.

[0141] In some embodiments, it also includes:

[0142] A generating unit 605 is configured to generate a second template based on the modified image processing step information;

[0143] The uploading unit 606 is configured to upload the second template.

[0144] In some embodiments, it also includes:

[0145] The determination unit 607 is configured to determine whether the preset upload requirements are met before uploading the second template, and the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

[0146] In some embodiments, it also includes:

[0147] The prompt unit 608 is configured to display prompt information if it is determined that the second template contains prohibited content, where the prompt information is used to prompt the prohibited content contained in the second template.

[0148] In some embodiments, it also includes:

[0149] A second modifying unit 609 is configured to modify the second model in response to a modification operation on the second template after displaying the prompt information;

[0150] The uploading unit 606 is further configured to automatically upload the modified second template after determining that the modified second template meets the preset upload requirement.

[0151] In some embodiments, the acquisition unit 601 is specifically configured to execute:

[0152] Image processing step information of the first template after deleting designated materials is obtained, where the designated materials include materials that are prohibited from use and / or materials that are incompatible with the version of the current image processing software.

[0153] Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the relevant method, and will not be elaborated here.

[0154] After introducing the comparative learning method and apparatus according to the exemplary embodiment of the present disclosure, next, an electronic device according to another exemplary embodiment of the present disclosure is introduced.

[0155] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0156] In some possible implementations, the electronic device according to the present disclosure may include at least one processor and at least one memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the method according to various exemplary implementations of the present disclosure described above in this specification.

[0157] Refer to the following Figure 7 The electronic device 130 according to this embodiment of the present disclosure is described. Figure 7 The electronic device 130 shown is merely an example and does not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0158] like Figure 7 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).

[0159] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.

[0160] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .

[0161] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0162] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0163] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 132 including instructions, and the instructions can be executed by the processor 131 to complete the above-mentioned comparative learning method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0164] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by the processor 131, the exemplary method provided in the present disclosure is implemented.

[0165] In an exemplary embodiment, various aspects of the image processing method provided by the embodiments of the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present disclosure described above in this specification.

[0166] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

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

Claims

1. An image processing method, It is characterized in that include: The client displays the template based on the effect preview information of at least one template sent by the server when the template recommendation condition is met; In response to the template selection operation, sending a template use request to the server; Displaying the image processing step information of the first template sent by the server, the image processing step information is used to describe the image processing methods used in the process of generating the first template, the processing order of the image processing methods, and the materials used by each image processing method, the action area of ​​the materials, and the action degree; In response to a modification operation on the image processing step information, modify the image processing step information; Process the current image according to the modified image processing step information.

2. The method according to claim 1, It is characterized in that Also includes: generating a second template based on the modified image processing step information; Upload the second template.

3. The method according to claim 2, It is characterized in that Before uploading the second template, it also includes: It is determined that the preset upload requirements are met, and the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

4. The method according to claim 3, It is characterized in that Also includes: If it is determined that the second template contains prohibited content, prompt information is displayed, where the prompt information is used to prompt the prohibited content contained in the second template.

5. The method according to claim 4, It is characterized in that After displaying the prompt information, it also includes: In response to a modification operation on the second template, modify the second template; After determining that the modified second template meets the preset upload requirement, the modified second template is automatically uploaded.

6. The method according to claim 1, It is characterized in that Obtaining image processing step information of the first template, including: Image processing step information of the first template after deleting designated materials is obtained, where the designated materials include materials that are prohibited from use and / or materials that are incompatible with the version of the current image processing software.

7. An image processing device, applied to a client, It is characterized in that include: A display unit, configured to perform template display based on effect preview information of at least one template sent by the server when the template recommendation condition is met; an acquisition unit, configured to execute, in response to the template selection operation, sending a template use request to the server; The display unit is further configured to perform display of the image processing step information of the first template sent by the server, wherein the image processing step information is used to describe the image processing methods used in the process of generating the first template, the processing order of the image processing methods, and the materials used by each image processing method, the action area of ​​the materials, and the action degree; A first modifying unit is configured to modify the image processing step information in response to a modification operation on the image processing step information; The processing unit is configured to process the current image according to the modified image processing step information.

8. The device according to claim 7, It is characterized in that Also includes: A generating unit, configured to generate a second template based on the modified image processing step information; The uploading unit is configured to upload the second template.

9. The device according to claim 8, It is characterized in that Also includes: The determination unit is configured to determine whether the preset upload requirements are met before uploading the second template, and the preset upload requirements include that the current client meets the template upload conditions and / or the second template does not contain prohibited content.

10. The device according to claim 9, It is characterized in that Also includes: The prompt unit is configured to display prompt information if it is determined that the second template contains prohibited content, wherein the prompt information is used to prompt the prohibited content contained in the second template.

11. The device according to claim 10, It is characterized in that Also includes: A second modifying unit is configured to modify the second template in response to a modification operation on the second template after displaying the prompt information; The uploading unit is further configured to automatically upload the modified second template after determining that the modified second template meets the preset upload requirement.

12. The device according to claim 7, It is characterized in that The acquisition unit is specifically configured to execute: Image processing step information of the first template after deleting designated materials is obtained, where the designated materials include materials that are prohibited from use and / or materials that are incompatible with the version of the current image processing software.

13. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the image processing method according to any one of claims 1 to 6.

14. A storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the image processing method as claimed in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Photographic image pre-processing method, device, storage medium, and mobile terminal

    CN109089043A

  • Special effect material processing method and device, electronic equipment and storage medium

    CN113240777A