Special-effect processing method and apparatus, and electronic device and storage medium

By acquiring multiple pending images and fusing them into the target template image to generate special effects images, the problem of monotonous effects in the prior art is solved, and a richer special effects processing experience is achieved.

WO2025148557A1PCT designated stage expired Publication Date: 2025-07-17BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/135846
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-10
Filing Date
2024-11-29
Publication Date
2025-07-17

AI Technical Summary

Technical Problem

In the prior art, the special effect image processing method processes a single image to be processed, resulting in the generated special effect image effect being monotonous, lacking interest, and affecting the user experience.

Method used

By acquiring multiple pending images, in response to the special effect display trigger operation, multiple target objects are fused into the target template image, generating special effect images, supporting custom settings and multiple fusion content.

Benefits of technology

It enriches the materials for the generation of special effects images, improves the interactive mode and display effect of special effects processing, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024135846_17072025_PF_FP_ABST
    Figure CN2024135846_17072025_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a special-effect processing method and apparatus, and an electronic device and a storage medium. The method comprises: in response to an image setting trigger operation, acquiring at least one image to be processed, wherein there are multiple target objects included in all images to be processed; and in response to a special-effect display trigger operation, displaying a special-effect image obtained by fusing a plurality of target objects into a target template image.
Need to check novelty before this filing date? Find Prior Art

Description

Special effects processing method, device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 202410040075.6, filed on January 10, 2024, entitled “Special effects processing method, device, electronic device and storage medium”. The entire contents of that application are incorporated herein by reference. Technical Field

[0003] The embodiments of the present disclosure relate to computer application technology, and more particularly to a special effects processing method, device, electronic device, and storage medium. Background Art

[0004] With the development of computer vision technology, the types of special effects props are increasing. At the same time, more and more users are applying special effects props in image processing to enrich image display effects.

[0005] However, related special effects processing technologies usually process a single image to be processed, which makes the generation materials of special effects images relatively limited, and the generated special effects images are monotonous and lack interest, thus affecting the special effects processing experience. Summary of the Invention

[0006] The present disclosure provides a special effects processing method, device, electronic device and storage medium.

[0007] In a first aspect, an embodiment of the present disclosure provides a special effects processing method, the method comprising: in response to an image setting trigger operation, obtaining at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple; in response to a special effects display trigger operation, displaying a special effects image obtained by fusing multiple target objects into a target template image.

[0008] In the second aspect, the embodiments of the present disclosure also provide a special effects processing device, which includes: an image setting module for obtaining at least one image to be processed in response to an image setting trigger operation, wherein the number of target objects contained in all the images to be processed is multiple; a special effects display module for displaying a special effects image obtained by fusing multiple target objects into a target template image in response to a special effects display trigger operation.

[0009] In a third aspect, an embodiment of the present disclosure further provides an electronic device comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a special effects processing method as described in any one of the embodiments of the present disclosure.

[0010] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the special effects processing method as described in any one of the embodiments of the present disclosure.

[0011] The technical solution of the embodiment of the present disclosure obtains at least one image to be processed in response to an image setting trigger operation, supports customized settings for the image to be processed, and multiple target objects in one or more images to be processed enrich the generation materials of special effect images, supports more customized fusion content, and displays the special effect image obtained by fusing multiple target objects into the target template image in response to a special effect display trigger operation, thereby solving technical problems in related technologies such as the relatively monotonous display effect and lack of interest of special effect images, enriching the interactive mode of special effect processing and the display effect of special effect images, and improving the special effect processing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0013] FIG1A is a schematic flow chart of a special effects processing method provided by an embodiment of the present disclosure;

[0014] FIG1B is a schematic diagram of an interactive interface of a special effects processing method provided by an embodiment of the present disclosure and applicable to the embodiment of the present disclosure;

[0015] FIG1C is a schematic diagram of the switching logic between the conventional shooting mode and the image transmission mode provided by an embodiment of the present disclosure;

[0016] FIG1D is a schematic diagram of the switching logic between the shooting mode and the image transmission mode provided by an embodiment of the present disclosure and applicable to the special effects processing method of the present disclosure;

[0017] FIG1E is a flow chart of an optional example of an implementation of a special effects processing method according to an embodiment of the present disclosure;

[0018] FIG1F is a flow chart of an optional example of an implementation of a special effects processing method according to an embodiment of the present disclosure;

[0019] FIG1G is a flow chart of another optional example of implementing the special effects processing method according to an embodiment of the present disclosure;

[0020] FIG1H is a flow chart of another optional example of implementing the special effects processing method according to an embodiment of the present disclosure;

[0021] FIG2A is a schematic flow chart of another special effects processing method provided by an embodiment of the present disclosure;

[0022] FIG2B is a schematic diagram of another interactive interface provided by an embodiment of the present disclosure and applicable to the special effects processing method of the embodiment of the present disclosure;

[0023] FIG3A is a flow chart of another special effect processing method provided by an embodiment of the present disclosure;

[0024] FIG3B is a schematic diagram of another interactive interface of the special effects processing method provided by the embodiment of the present disclosure and applicable to the embodiment of the present disclosure;

[0025] FIG3C is a schematic diagram of an interface displayed on a screen of two target objects that can be used in a special effects processing method according to an embodiment of the present disclosure;

[0026] FIG3D is a schematic diagram of an interface of three target objects displayed on a screen in a special effects processing method provided by an embodiment of the present disclosure;

[0027] FIG3E is a schematic diagram of an interface of five target objects displayed on a screen in a special effects processing method provided by an embodiment of the present disclosure;

[0028] FIG3F is a flowchart of another optional example of implementing a special effects processing method according to an embodiment of the present disclosure;

[0029] FIG4 is a schematic structural diagram of a special effects processing device provided by an embodiment of the present disclosure;

[0030] FIG5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0032] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0033] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0034] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0035] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0036] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0037] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0038] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0039] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0040] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0041] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0042] Figure 1A is a flow chart of a special effects processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to situations where an object is deleted and the object is restored after deletion. The method can be executed by a special effects processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0043] As shown in FIG1A , the method of this embodiment may specifically include:

[0044] S110 . In response to an image setting trigger operation, obtaining at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple.

[0045] The image setting trigger operation can be understood as a trigger operation for setting an image to be processed with special effects. Exemplarily, the image trigger operation can include an image capture operation and / or an image upload operation. The target object can be understood as an object in the image to be processed for generating a special effects image.

[0046] In an embodiment of the present disclosure, in response to an image setting trigger operation, at least one image to be processed is acquired, which may specifically include: displaying an image setting interface, wherein the image setting interface displays an image setting control, and the image setting control may include an image shooting control and / or an image upload control; in response to a control trigger operation acting on the image setting control, acquiring one or more set images as images to be processed. Exemplarily, in response to a control trigger operation acting on the image shooting control, the captured image is acquired as the image to be processed. Alternatively, in response to a control trigger operation acting on the image upload control, one or more uploaded images are acquired as images to be processed. This technical solution enriches the setting methods of the images to be processed, can better adapt to the differentiated special effects processing needs of users, and thus makes the image content of the special effects images more diverse.

[0047] FIG1B is a schematic diagram of an interactive interface (image settings interface, also called a capture interface) for use with the special effects processing method according to an embodiment of the present disclosure. As shown in FIG1B , the image settings interface may display an image upload control 10 and an image upload control 30 for users to upload images. The image upload control 10 may include an image upload button 102 and multiple image display locations 101 for previewing uploaded images. Image identifiers may be displayed in the image display locations 101. By triggering the image upload button 102 and the image upload control 30, one or more images may be uploaded as images to be processed, and the image identifiers of the uploaded images may be displayed in the image display locations 101 for user viewing. The image settings interface also displays an image capture control 30. By triggering the image capture control 30, captured images may be captured in real time as images to be processed. The delete control 40 may also be used to cancel special effects processing settings. To facilitate user selection of special effects, the image settings interface may also display a special effects display control 50. The special effects display control 50 allows for quick selection of special effects. The special effects display control 50 can also include a special effects search button and a special effects collection button. The special effects search button allows targeted searches for special effects to be used. The special effects collection button allows one or more special effects to be collected for later reuse. This technical solution allows flexible settings for the processed image through simple interactive operations, enriching interactive functions and enhancing the interactive experience.

[0048] It should be noted that there may be one or more images to be processed according to the image setting trigger operation. Since the images to be processed can be set independently through interactive operations, the images to be processed obtained may be various. Each image to be processed may not have a target object, or may include one or more target objects. In the embodiment of the present disclosure, the generation of special effect images needs to adopt the target objects in the images to be processed. In order to ensure the smooth generation of special effect images, after obtaining at least one image to be processed, the image to be processed can also be subjected to image qualification detection based on preset image detection conditions to avoid processing unqualified images to be processed and causing performance waste.

[0049] Optionally, when the image to be processed satisfies a preset image detection condition, one or more target objects contained in the image to be processed are extracted. The image detection condition can be understood as a condition for detecting whether the image to be processed meets the processing requirements. Exemplarily, the image detection condition includes at least one of the following conditions: the image to be processed contains a preset object; the image to be processed does not contain preset content; and the image quality index of the image to be processed satisfies a preset index condition. The image quality index can be understood as an index for indicating the imaging quality of the image to be processed. For example, it can be image brightness and / or image clarity.

[0050] Optionally, the method for determining the target object contained in the image to be processed includes: determining a preset type of image subject contained in each image to be processed; and if the image subject meets preset object detection conditions, using the image subject as the target object. This technical solution can accurately identify the target object in the image to be processed and ensure the display effect of the target object.

[0051] Among them, the preset type can be understood as a pre-set type corresponding to the image content. The object detection condition can be understood as a condition for detecting whether the image subject can be used as a target object. Exemplarily, the object detection condition includes at least one of the following conditions: the display size of the image subject reaches a preset size, the size proportion of the image subject in the image to be processed reaches a preset proportion, the posture information of the image subject meets the preset posture restriction condition, and the integrity of the image subject reaches a preset integrity.

[0052] The size ratio may include at least one of a width ratio, a height ratio, and an area ratio. The posture information may include posture angles, for example, yaw, pitch, and roll. Accordingly, the posture restriction condition may be a preset angle range. The integrity of the image subject may be determined by identifying the outer contour of the image subject or comparing key information contained in the image subject.

[0053] In the disclosed embodiment, the target object may be a preset type of image subject. For example, in a person image, the target sub-element may be a face or hand in the image; in a landscape image, the target object may be a preset type of building or plant.

[0054] S120 : In response to a special effect display triggering operation, display a special effect image obtained by fusing the plurality of target objects into a target template image.

[0055] Among them, the special effect display trigger operation can be understood as a trigger operation for requesting the display of a special effect image. The target template image can be understood as a base map corresponding to a plurality of the target objects. Specifically, the total number of regions contained in the target template image for fusing the fusion area of ​​the target object is greater than or equal to the total number of objects of the target object, so that the fusion effect of all the target objects can be presented in the special effect image. The fusion area can be understood as the image area in the target template image for fusing the target object. The fusion area can be a pre-set fixed area, or it can be an area detected based on a preset area detection rule. Specifically, the fusion area may include a preset fusion area and / or an area in the target template image where image content of the same type as the target object is located, etc.

[0056] To enrich the special effects display, special effects videos can be used to display special effects images. As previously mentioned, the disclosed embodiments support processing of captured and uploaded images, so the special effects processing methods can be divided into two special effects processing modes: capture mode and image transfer mode, and different special effects display methods can be set for each of the two special effects processing modes.

[0057] Specifically, a special effects processing mode is determined, and a special effects video is generated based on the special effects processing mode. The special effects processing mode includes a shooting mode and an image transmission mode. The special effects videos generated in the shooting mode and the image transmission mode differ in at least some of their video content. This technical solution can present different special effects for processed images from different data sources, enriching the special effects presentation methods and enhancing the special effects processing experience.

[0058] In the embodiment of the present disclosure, determining the special effects processing mode specifically includes: when there is at least one selected image and the selected image contains at least one of the target objects, determining the special effects processing mode as the image transmission mode; when there is no selected image or the selected image does not contain the target object, determining the special effects processing mode as the shooting mode.

[0059] The existing switching logic between shooting mode and image transfer mode often only supports the input of a single image to be processed. Therefore, as shown in Figure 1C, in shooting mode, if an image is selected, it jumps to image transfer mode; if the image is deselected, it jumps to shooting mode. However, this method is not well suited for scenarios with multiple images to be processed.

[0060] Therefore, the switching logic between the shooting mode and the image transmission mode in the embodiment of the present disclosure needs to support the input of multiple images to be processed. As shown in Figure 1D, multiple images to be processed can be input, and the image processing core processes the images to be processed one by one. The image processing core is used to extract the target object in the image to be processed. When processing multiple images to be processed, they often need to be queued and processed in sequence. In the shooting mode, since a single image is frozen at the time, the target object may not be displayed on the screen at this time. When the user chooses to upload an image and the selected image is legal, jump to the image transmission mode. The legality of the image can be determined by whether there is at least one target object in the selected image to be displayed on the screen. If so, jump to the image transmission mode. In the image transmission mode, if it is detected that the image selection is cancelled and there is no target object that can be displayed on the screen in all currently selected images, jump to the shooting mode.

[0061] Exemplarily, the special effects video includes at least the image to be processed, a special effects image obtained by fusing multiple target objects into a target template image, and at least one intermediate image frame displayed between the image to be processed and the special effects image. The intermediate image may include a transition image and / or a video frame showing the target object on the screen. At least one intermediate image frame may be different between the shooting mode and the image transmission mode.

[0062] Considering that multi-image processing is more convenient in image transfer mode, multiple target objects can be added to the upper screen display so that the user can intuitively understand the added target objects. Optionally, when the image to be processed is an uploaded image, a first special effects video can be displayed, wherein the first special effects video includes the image to be processed displayed in sequence, the target object displayed on the upper screen, a preset transition image, and a special effects image obtained by fusing multiple target objects into the target template image.

[0063] Optionally, when the image to be processed is a captured image, a second special effects video is displayed, wherein the second special effects video includes the image to be processed, a preset transition image, and a special effects image obtained by fusing multiple target objects into a target template image displayed in sequence.

[0064] When generating a special effects video, it is necessary to determine the video generation mode to be adopted, and then generate the special effects video according to the video generation mode. In shooting mode, the video generation mode includes shooting playback mode and shooting recording mode. Similarly, in image transmission mode, the video generation mode includes image transmission playback mode and image transmission recording mode.

[0065] Specifically, when a start recording message is received, the special effects processing mode is in shooting mode, and a special effects image has been obtained, the video generation mode is determined to be shooting playback mode. In shooting playback mode, both the image to be processed (the frame frozen by the shooting device) and the special effects image (returned by the server) are available, and the final special effects video can be performed according to a first preset method. The first preset method includes display time and screen display information and its change method. For example, as shown in Figure 1E, in shooting mode, the generation of special effects video is triggered by triggering the image shooting control or clicking the screen. After the trigger, the special effects video is generated. At this time, it is necessary to determine whether the special effects image has been obtained. If the special effects image has been obtained, the special effects video is generated in shooting playback mode. After the recording is completed, jump to the special effects editing interface for the user to process the special effects video (such as publishing or deleting, etc.). If the special effects image has not been obtained, continue shooting and recording in shooting mode.

[0066] For example, the first preset method includes displaying the image to be processed, displaying a progress bar over the image to be processed, the progress bar playing for a first preset duration, gradually disappearing by adjusting its transparency, then playing a transition effect, and then displaying a special effect image, which is maintained for a second preset duration. Furthermore, the easing curve can be magnified by a preset magnification factor and then frozen.

[0067] There are many ways to generate special effect images using the obtained special effect images. In the embodiment of the present disclosure, special effect images are generated by image fusion. Different from the method of processing only a single target object in the related art, fusion of multiple target objects can be achieved. Taking the target object as a facial image as an example, as shown in Figure 1F, the target object can include the face of user A and the face of user B. Then, through multi-face fusion, a photo of user A and user B can be obtained, which increases the input parameters of the special effect image and enriches the image content of the special effect image.

[0068] Before displaying the special effects image, multiple target objects need to be fused into the target template image to create the special effects image. Considering that special effects application terminals are mostly mobile devices with relatively limited computing power and memory space, to conserve the performance of the special effects application terminal, the target objects can be uploaded to the server, which then generates the special effects image. The special effects application terminal then receives the special effects image sent by the server and displays it. Of course, if the special effects application terminal's computing power allows, the special effects image can also be generated by the special effects application terminal itself.

[0069] Specifically, generating a special effect image may include: determining a target template image based on the total number of target objects contained in all the images to be processed; then, fusing multiple target objects into the target template image to obtain a special effect image, and displaying the special effect image. Furthermore, the target template image may be determined from one or more pre-set candidate template images corresponding to the total number of target objects. When there are multiple candidate template images, in order to ensure the display effect of the special effect image, image feature information may be determined based on the object information of multiple target objects, and then, a target template image may be selected based on the image feature information.

[0070] Optionally, at least one preset template image matching the total number of target objects is displayed, wherein the total number of fusion regions included in the preset template image for fusing the target objects is greater than or equal to the total number of objects; then, in response to a selection trigger operation for the preset template image, the selected preset template image is used as the target template image. This technical solution supports custom settings for the target template image, thereby enabling the determined target template image to better meet the differentiated needs of users.

[0071] Furthermore, displaying at least one preset template image that matches the total number of target objects may specifically include: determining, based on the total number of target objects contained in all of the images to be processed, at least one preset template image that matches the total number of target objects from preset template images stored in a target gallery, and displaying the preset template image. Specifically, determining the total number of target objects may be by separately determining the target objects contained in each of the images to be processed, and then determining the total number of target objects contained in all of the images to be processed.

[0072] After the target template image is determined, the plurality of target objects may be fused into the target template image to obtain a special effect image, and the special effect image may be displayed.

[0073] For ease of understanding, the special effects processing process is now illustrated with reference to the optional example in Figure 1G. As shown in Figure 1G, after the user shoots or uploads a facial image (an image containing a facial area) on the special effects application side, the facial image is processed by a facial recognition algorithm to obtain the target object (facial area) and image feature information. Then, the facial area and image feature information are transmitted to the server-side project, which matches the template image that meets the image feature information to obtain the target template image. Then, the facial area is fused into the target template image to obtain a fused image. The fused image is then output to the special effects application side as a special effects image.

[0074] As an optional example of a special effects processing method based on an embodiment of the present disclosure, as shown in FIG1H , upon receiving a trigger operation to enable a target special effect, the album tray is called up, displaying an operation prompt, such as, "Upload an image or click the screen to generate a photo album - supports up to 6 people." Upon receiving a trigger operation of clicking the screen, long-pressing to record, or clicking to shoot, or upon uploading no more than a preset number of images and clicking confirm, the screen freezes for one frame and automatically enters the loading page (i.e., the loading page). The image review process then begins to determine whether the image meets the requirements (has a target object and no preset prohibited content). If the image meets the requirements, the image is identified to obtain the target object and image feature information, which is then sent to the server. If the image does not meet the requirements, a pop-up window appears, such as, "The image does not meet the requirements. Try uploading another image." It displays for a first duration (e.g., two seconds) and then disappears, switching to the initial text. If a compliant image is found among the selected images, the state switches to uploading the image to the screen. The server presets multiple template images and annotates the target fusion position and image feature information in each template image. Based on the received target object data and image feature information, the server retrieves a model image that matches the image feature information, fuses multiple target objects, and generates a special effect image. If the special effect image is successfully generated within the second duration and successfully returned to the requesting end, the special effect image is displayed in conjunction with the transition. If the special effect image is not successfully generated within the second duration, or the requesting end does not receive the special effect image, a processing status prompt is displayed, such as "Network busy, please try again." In addition, a retry prompt can be displayed in the preview scene, such as "Click to shoot and save the effect." If a retry request is received, the server is requested to re-execute the operation of generating the special effect image.

[0075] The technical solution of the embodiment of the present disclosure obtains at least one image to be processed in response to an image setting trigger operation, supports customized settings for the image to be processed, and multiple target objects in one or more images to be processed enrich the generation materials of special effect images, supports more customized fusion content, and displays the special effect image obtained by fusing multiple target objects into the target template image in response to a special effect display trigger operation, thereby solving technical problems in related technologies such as the relatively monotonous display effect and lack of interest of special effect images, enriching the interactive mode of special effect processing and the display effect of special effect images, and improving the special effect processing experience.

[0076] Figure 2 is a flow chart of another special effects processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment adds the setting of the style of the special effects image on the basis of the above-mentioned embodiment. Optionally, before the said response to the special effects trigger operation, it also includes: responding to the style setting trigger operation, using the set image style as the target style; the said displaying the special effects image obtained by fusing multiple target objects into the target template image includes: displaying the special effects image obtained by fusing multiple target objects into the target template image of the target style. For specific implementation methods, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to those of the aforementioned embodiments will not be repeated here. As shown in Figure 2, the method of this embodiment may specifically include:

[0077] S210 . In response to an image setting trigger operation, obtaining at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple.

[0078] S220: In response to the style setting triggering operation, the set image style is used as the target style.

[0079] Among them, the style setting trigger operation can be understood as a trigger operation for setting the image style of the special effect image to be generated. Exemplarily, one or more style setting controls are displayed; in response to a control trigger operation for the style setting control, the image style is determined to be set. Optionally, each style setting control corresponds to a preset image style. Specifically, one or more style setting controls corresponding to image styles are displayed; in response to a selection trigger operation for the style setting control, the image style corresponding to the selected style setting control is used as the target style. Alternatively, the style setting control can also be a style switching control, and one style setting control can correspond to multiple image styles. In response to a control trigger operation for the style setting control, the selected image style is switched. Exemplarily, the image style can be set according to actual needs, for example, it can include at least one of the styles of Chinese style, blockbuster style, and interesting style, and there is no limitation on which image style to adopt.

[0080] FIG2B is a schematic diagram of another interactive interface provided by an embodiment of the present disclosure and applicable to the special effects processing method of the embodiment of the present disclosure. As shown in FIG2B , a plurality of style setting controls 60 may be displayed in the interactive interface. Each style setting control 60 may correspond to an image style. Specifically, in response to a selection trigger operation for a style setting control 60, the image style corresponding to the selected style setting control 60 is used as the target style. To facilitate the user's understanding of the operation status, the selected style setting control 60 and the unselected style setting controls 60 may be displayed separately. For example, the selected style setting control 60 may be highlighted by at least one of changing the display color, display size, and adding a selection mark.

[0081] S230 : In response to a special effect display triggering operation, display a special effect image obtained by fusing the plurality of target objects into a target template image of the target style.

[0082] In the disclosed embodiment, one or more target libraries are optionally set for each image style, storing one or more images matching the image style, so as to accurately match the candidate template images. Furthermore, images in the target library corresponding to the set image style are used as candidate template images corresponding to the image to be processed; and a target template image is determined from the candidate template images based on the total number of target objects in all the images to be processed.

[0083] It should be noted that the timing of the style setting operation can be set according to actual needs, for example, before obtaining the image to be processed, after obtaining the image to be processed, before displaying the special effects image, or after displaying the special effects image. However, if the set image style changes, the special effects image will also change accordingly. That is, in response to the style switching trigger operation, the special effects image corresponding to the switched image style is displayed.

[0084] The technical solution of the disclosed embodiment, by responding to a style setting trigger operation and taking the set image style as the target style, can realize flexible setting of the image style of the special effect image, enrich the interaction mode, increase the input parameters of the special effect processing, make the input parameters of the special effect processing richer, and guide the presentation effect of the special effect image; further, by responding to the special effect display trigger operation, the special effect image obtained by fusing multiple target objects into the target template image of the target style is displayed, and the special effect image can be accurately made to present the display effect of the target style through the style setting trigger operation, thereby realizing refined processing of the special effects and improving the presentation effect of the special effect image.

[0085] Figure 3A is a flow chart of another special effects processing method provided by an embodiment of the present disclosure. The technical solution of this embodiment adds a technical feature of displaying the target object of the uploaded image on the screen on the basis of the above embodiment. Optionally, after acquiring at least one image to be processed, before displaying the special effects image obtained by fusing multiple target objects into the target template image, it also includes: when the image to be processed is an uploaded image, each target object is displayed on the screen separately. For specific implementation methods, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to the above embodiments will not be repeated here. As shown in Figure 3A, the method of this embodiment may specifically include:

[0086] S310 . In response to an image setting trigger operation, obtaining at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple.

[0087] As previously mentioned, the image to be processed can be a captured image or an uploaded image. If the image to be processed is an uploaded image, to facilitate user viewing of the selected image, as shown in FIG3B , a selection indicator 1011 can be added to the image 1 corresponding to the selected image display position 101. Specifically, the selection indicator 1011 can also be used to indicate the order in which the images were selected. Subsequent processing can be performed on the images based on the order in which they were selected. For example, the target objects corresponding to the images can be displayed on the screen based on the order in which they were selected. After all images to be uploaded have been selected, subsequent processing of the selected images can be triggered by triggering the image confirmation button 103 displayed in the image upload control. It will be understood that the selected image is the image to be processed. The image confirmation button 103 is used to confirm that the input of the image to be processed has been completed. In the disclosed embodiment, the image confirmation button 103 can be displayed only when a selected image exists to avoid obscuring the image indicator displayed in the image display position 101 in the image upload control 10.

[0088] S320: When the image to be processed is an uploaded image, each target object is displayed on the screen respectively.

[0089] As mentioned above, the image to be processed is an uploaded image and the object to be processed includes multiple target objects. At this time, the special effects processing mode is the image transmission mode, which can be distinguished from the shooting mode, and the target objects contained in the uploaded image to be processed are displayed on the screen. It can be understood that there may be one or more target objects that need to be displayed on the screen. Each of the target objects is displayed on the screen separately. In order to ensure the on-screen display effect of multiple target objects, the display information of the multiple target objects can be dynamically adjusted according to the total number of target objects displayed on the screen. In other words, the display information of the multiple target objects can be determined according to the total number of target objects displayed on the screen. Then, the target object is displayed on the screen according to the display information of each target object.

[0090] For ease of understanding, Figures 3C, 3D, and 3E respectively illustrate examples of target objects 1012 displayed on the screen for two, three, and five target objects, respectively, in a special effects processing method provided by the present disclosure. It should be noted that the layouts shown in the figures are merely examples of how target objects 1012 may be displayed, and are not intended to limit the display method. As shown in Figures 3C, 3D, and 3E, the target objects 1012 for the selected image 1 and image 2 to be processed may be displayed on the screen. For the selected image 1 to be processed, the target object 1012 corresponding to the selected image 1 may include only 11, or may include 11, 12, and 13. Similarly, for the selected image 2 to be processed, the target object 1012 corresponding to the selected image 2 may include only 21, or may include 21 and 22. Multiple target objects 1012 may be displayed on the screen with the target objects 1012 centered. To ensure the optimal on-screen display of multiple target objects 1012, the displayed information for the target objects 1012 may be dynamically adjusted based on the total number of target objects 1012 displayed on the screen.

[0091] Considering that in actual applications, the image to be processed may be modified, such as adding an image, deselecting an image, or deleting an image, etc. Optionally, after each target object is displayed on the screen, the method further includes: in response to an edit trigger operation on the image to be processed, updating the screen display information of the target object according to the edited image to be processed.

[0092] The editing trigger operation includes at least one of an image adding operation, an image deleting operation, and an image cutting operation. The screen display information of the target object can be understood as the display information of the target object on the screen, for example, including one or more of the display information of the target object on the screen, such as the display position, display trajectory, display size, display color, and transparency.

[0093] By adopting this technical solution, flexible editing of the image to be processed can be achieved, and the on-screen display effect of the target object can be changed with the changes of the image to be processed, ensuring that the target object displayed on the screen is consistent with the actual image to be processed.

[0094] S330 : In response to a special effect display triggering operation, display a special effect image obtained by fusing the plurality of target objects into a target template image.

[0095] As mentioned above, when the image to be processed is an uploaded image, a first special effects video is displayed. The first special effects video includes the image to be processed displayed in sequence, the target object displayed on the upper screen, a preset transition image, and a special effects image obtained by fusing multiple target objects into a target template image.

[0096] Continuing with Figure 1E, as shown in Figure 1E, the image to be processed is the uploaded image, that is, in the image transmission mode. At this time, the generation of the special effects video is triggered by triggering the preset image selection confirmation control in the image upload control. Start generating the special effects video after the trigger. At this time, it is necessary to determine whether the special effects image has been obtained. If the special effects image has been obtained, the special effects video is generated in the image transmission playback mode. And, after the recording is completed, jump to the special effects editing interface for the user to process the special effects video (such as publishing a special effects video, deleting a special effects video, or returning to the image setting interface, etc.). If the special effects image has not been obtained, continue shooting and recording in the image transmission recording mode.

[0097] As an optional implementation of the embodiment of the present disclosure, the display effects of the multiple target objects displayed on the upper screen may be different in the image transmission recording mode and the image transmission playback mode. For example, in the image transmission recording mode, the target objects displayed on the upper screen may appear to converge from the display position when the image was rendered on the upper screen to the center of the screen. In the image transmission playback mode, the target objects displayed on the upper screen may appear to spread out from the center of the screen to the display position when the image was rendered on the upper screen.

[0098] FIG3F is a flowchart of another optional example of a special effect processing method based on an embodiment of the present disclosure provided by the present disclosure. As shown in FIG3F, during the special effect processing process, different response logics are set for the image setting operation to ensure the smooth generation of the special effect image. In the image transmission mode, if an image trigger generation operation is received (a trigger operation for image selection completion or an operation of tapping the screen, etc.), after the recording is completed, it is reset to the frame capture mode and the on-screen effect of the image selected in the current tray (in the image upload control) is retained; if an operation of selecting or canceling an image is received and the operation is not the last image, it returns to the image selection state of the image transmission mode and continues to add or delete images; if an operation of canceling the selection of the last image is received, it returns to the frame capture mode, that is, the shooting mode. If a recording trigger operation is received, at this time, after the recording is completed, it is reset to the frame capture mode and the on-screen effect of the image selected in the current tray (in the image upload control) is retained; the tray disappears in the recording state and does not support the operation of selecting or canceling the image. The same parts as the above examples are not repeated here, and can be referred to the previous example.

[0099] The technical solution of the embodiment of the present disclosure enables the user to intuitively view the target object to be fused into the target template image through the upper screen display by displaying each target object separately when the image to be processed is an uploaded image, so as to adjust the target object by adjusting the object to be processed. In addition, the intermediate information in the special effect processing process can be displayed, thereby enriching the special effect interaction form and improving the special effect processing experience.

[0100] FIG4 is a schematic diagram of the structure of a special effects processing device provided by an embodiment of the present disclosure. As shown in FIG4 , the device includes: an image setting module 410 and a special effects display module 420. The image setting module 410 is configured to, in response to an image setting trigger operation, obtain at least one image to be processed, wherein all of the images to be processed contain multiple target objects; and the special effects display module 420 is configured to, in response to a special effects display trigger operation, display a special effects image obtained by fusing multiple target objects into a target template image.

[0101] The technical solution of the embodiment of the present disclosure obtains at least one image to be processed in response to an image setting trigger operation through an image setting module, supports customized settings for the image to be processed, and, moreover, multiple target objects in one or more images to be processed enrich the generation materials of special effect images and support more customized fusion content. The special effect display module responds to a special effect display trigger operation to display a special effect image obtained by fusing multiple target objects into a target template image, thereby solving technical problems in related technologies such as the relatively monotonous display effect and lack of interest of special effect images, enriches the interactive mode of special effect processing and the display effect of special effect images, and improves the special effect processing experience.

[0102] Based on any optional technical solution of the disclosed embodiment, the special effects processing device may further include: a style setting module, wherein the style setting module is configured to, before responding to the special effects triggering operation, respond to the style setting triggering operation and set the set image style as the target style; and a special effects display module 420, specifically configured to display a special effects image obtained by fusing the plurality of target objects into a target template image of the target style.

[0103] Based on any optional technical solution of the embodiments of the present disclosure, the special effects processing device may further include an on-screen display module. The on-screen display module is configured to, after acquiring at least one image to be processed and before displaying a special effects image obtained by fusing the multiple target objects into a target template image, display each target object on the screen if the image to be processed is an uploaded image.

[0104] Based on any optional technical solution of the embodiments of the present disclosure, the special effects processing device may further include: a screen display update module. The screen display update module is configured to, after displaying each target object on the screen, respond to an edit trigger operation on the image to be processed and update the screen display information of the target object based on the edited image to be processed, wherein the edit trigger operation includes at least one of an image adding operation, an image deleting operation, and an image cutting operation.

[0105] On the basis of any optional technical solution of the embodiment of the present disclosure, optionally, the special effects display module 420 is used to display a first special effects video when the image to be processed is an uploaded image, wherein the first special effects video includes the image to be processed displayed in sequence, the target object displayed on the upper screen, a preset transition image, and a special effects image obtained by fusing multiple target objects into a target template image.

[0106] Based on any optional technical solution of the embodiments of the present disclosure, optionally, the special effects processing device further includes: an image detection module. The image detection module is configured to, after acquiring at least one image to be processed and before displaying a special effects image obtained by fusing multiple target objects into a target template image, extract one or more target objects contained in the image to be processed if the image to be processed satisfies a preset image detection condition, wherein the image detection condition includes at least one of: the image to be processed contains a preset object, the image to be processed does not contain preset content, and the image quality index of the image to be processed satisfies a preset index condition.

[0107] On the basis of any optional technical solution of the embodiment of the present disclosure, optionally, the special effects processing device also includes: a special effects display module 420, which is specifically used to respectively determine the preset type of image subject contained in each of the images to be processed; and, when the image subject meets the preset object detection conditions, use the image subject as the target object, wherein the object detection conditions include at least one of the display size of the image subject reaching a preset size, the size ratio of the image subject in the image to be processed reaching a preset ratio, the posture information of the image subject meeting the preset posture restriction conditions, and the integrity of the image subject reaching a preset integrity.

[0108] On the basis of any optional technical solution of the embodiment of the present disclosure, optionally, the special effects processing device also includes: a special effects display module 420, which is specifically used to display a second special effects video when the image to be processed is a captured image, wherein the second special effects video includes the image to be processed, a preset transition image, and a special effects image obtained by fusing multiple target objects into a target template image displayed in sequence.

[0109] Based on any optional technical solution of the embodiment of the present disclosure, optionally, the special effects processing device further includes: a template display module and a template selection module. The template display module is configured to display at least one preset template image that matches the total number of target objects before displaying the special effects image obtained by fusing multiple target objects into the target template image; and the template selection module is configured to use the selected preset template image as the target template image in response to a selection trigger operation for the preset template image. The total number of fusion regions contained in the preset template image for fusing the target objects is greater than or equal to the total number of objects.

[0110] On the basis of any optional technical solution of the embodiments of the present disclosure, optionally, the special effects display module 420 is specifically used to determine a special effects processing mode and generate a special effects video based on the special effects processing mode, wherein the special effects processing mode includes a shooting mode and a picture transmission mode; at least part of the video content in the special effects video generated in the shooting mode and the picture transmission mode is different.

[0111] Based on any optional technical solution of the embodiment of the present disclosure, optionally, the special effect display module 420 is specifically used to determine the special effect processing mode as the image transmission mode when there is at least one selected image and the selected image contains at least one of the target objects; and to determine the special effect processing mode as the shooting mode when there is no selected image or the selected image does not contain the target object.

[0112] Based on any optional technical solution of the embodiments of the present disclosure, optionally, the total number of fusion areas contained in the target template image for fusing the target object is greater than or equal to the total number of objects of the target object; the fusion area includes a preset fusion area and / or an area in the target template image where image content of the same type as the target object is located.

[0113] The special effects processing device provided by the embodiments of the present disclosure can execute the special effects processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the special effects processing method.

[0114] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0115] FIG5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG5 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG5 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG5 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0116] As shown in FIG5 , the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0117] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG5 shows the electronic device 500 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0118] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0119] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0120] The electronic device provided by the embodiment of the present disclosure and the special effects processing method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0121] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the special effect processing method provided in the above embodiment is implemented.

[0122] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0123] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0124] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0125] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to an image setting trigger operation, obtains at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple; responds to a special effect display trigger operation, displays a special effect image obtained by fusing multiple target objects into a target template image.

[0126] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0127] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0128] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."

[0129] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0130] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] According to one or more embodiments of the present disclosure, [Example 1] provides a special effects processing method, including: in response to an image setting trigger operation, obtaining at least one image to be processed, wherein the number of target objects contained in all the images to be processed is multiple; in response to a special effects display trigger operation, displaying a special effects image obtained by fusing multiple target objects into a target template image.

[0132] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further including: optionally, before the responding to the special effect trigger operation, it also includes: responding to the style setting trigger operation, using the set image style as the target style; the displaying of the special effect image obtained by fusing the multiple target objects into the target template image includes: displaying the special effect image obtained by fusing the multiple target objects into the target template image of the target style.

[0133] According to one or more embodiments of the present disclosure, [Example Three] provides the method of Example One, further including: optionally, after acquiring at least one image to be processed, before displaying the special effect image obtained by fusing multiple target objects into the target template image, it also includes: when the image to be processed is an uploaded image, each target object is displayed on the screen separately.

[0134] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 3, further including: optionally, after displaying each of the target objects on the screen respectively, it also includes: in response to an editing trigger operation for the image to be processed, updating the screen display information of the target object according to the edited image to be processed, wherein the editing trigger operation includes at least one of an image adding operation, an image deleting operation, and an image cutting operation.

[0135] According to one or more embodiments of the present disclosure, [Example Five] provides the method of Example Three, further including: optionally, the display of a special effects image obtained by fusing multiple target objects into a target template image includes: when the image to be processed is an uploaded image, displaying a first special effects video, wherein the first special effects video includes the image to be processed displayed in sequence, the target object displayed on the upper screen, a preset transition image, and a special effects image obtained by fusing multiple target objects into the target template image.

[0136] According to one or more embodiments of the present disclosure, [Example Six] provides the method of Example One, further including: optionally, after acquiring at least one image to be processed, before displaying the special effect image obtained by fusing multiple target objects into the target template image, further including: when the image to be processed meets a preset image detection condition, extracting one or more target objects contained in the image to be processed, wherein the image detection condition includes at least one of the following: the image to be processed contains a preset object, the image to be processed does not contain a preset content, and the image quality index of the image to be processed meets a preset index condition.

[0137] According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 3, further including: optionally, after acquiring at least one image to be processed, before displaying the special effect image obtained by fusing multiple target objects into the target template image, it also includes: separately determining the image subject of a preset type contained in each of the images to be processed; when the image subject meets the preset object detection conditions, taking the image subject as the target object, wherein the object detection conditions include at least one of the display size of the image subject reaching a preset size, the size ratio of the image subject in the image to be processed reaching a preset ratio, the posture information of the image subject meeting the preset posture restriction conditions, and the integrity of the image subject reaching a preset integrity.

[0138] According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 1, further including: optionally, the display of a special effects image obtained by fusing multiple target objects into a target template image includes: when the image to be processed is a captured image, displaying a second special effects video, wherein the second special effects video includes the image to be processed, a preset transition image, and a special effects image obtained by fusing multiple target objects into the target template image displayed in sequence.

[0139] According to one or more embodiments of the present disclosure, [Example Nine] provides the method of Example One, further including: optionally, before displaying the special effect image obtained by fusing multiple target objects into the target template image, it also includes: displaying at least one preset template image that matches the total number of objects of the target object, wherein the total number of fusion areas contained in the preset template image for fusing the target objects is greater than or equal to the total number of objects; in response to a selection trigger operation for the preset template image, the selected preset template image is used as the target template image.

[0140] According to one or more embodiments of the present disclosure, [Example 10] provides the method of Example 1, further including: optionally, the display of a special effects image obtained by fusing multiple target objects into a target template image includes: determining a special effects processing mode, and generating a special effects video based on the special effects processing mode, wherein the special effects processing mode includes a shooting mode and a picture transmission mode; at least part of the video content in the special effects video generated in the shooting mode and the picture transmission mode is different.

[0141] According to one or more embodiments of the present disclosure, [Example 11] provides the method of Example 10, further including: optionally, determining the special effects processing mode includes: when there is at least one selected image and the selected image contains at least one of the target objects, determining the special effects processing mode as the image transmission mode; when there is no selected image or the selected image does not contain the target object, determining the special effects processing mode as the shooting mode.

[0142] According to one or more embodiments of the present disclosure, [Example 12] provides the method of Example 1, further including: optionally, the total number of fusion areas contained in the target template image for fusing the target object is greater than or equal to the total number of objects of the target object; the fusion area includes a preset fusion area and / or an area in the target template image where image content of the same type as the target object is located.

[0143] According to one or more embodiments of the present disclosure, [Example 13] provides a special effects processing device, including: an image setting module, used to obtain at least one image to be processed in response to an image setting trigger operation, wherein the number of target objects contained in all the images to be processed is multiple; a special effects display module, used to display a special effects image obtained by fusing multiple target objects into a target template image in response to a special effects display trigger operation.

[0144] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0145] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0146] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A special effect processing method, characterized in that, Including: In response to an image setting trigger operation, obtain at least one image to be processed, where the number of target objects included in all the images to be processed is multiple; In response to a special effect display trigger operation, display a special effect image obtained by fusing the multiple target objects into a target template image.

2. The special effect processing method according to claim 1, wherein Before the response to the special effect trigger operation, it further includes: In response to a style setting trigger operation, set the set image style as the target style; The display of the special effect image obtained by fusing the multiple target objects into the target template image includes: Display a special effect image obtained by fusing the multiple target objects into the target template image of the target style.

3. The special effect processing method according to claim 1, characterized in that, After obtaining at least one image to be processed and before displaying the special effect image obtained by fusing the multiple target objects into the target template image, it further includes: In the case where the image to be processed is an uploaded image, display each of the target objects on the screen respectively.

4. The special effect processing method according to claim 3, wherein After respectively displaying each of the target objects on the screen, it further includes: In response to an editing trigger operation for the image to be processed, update the screen display information of the target object according to the edited image to be processed, where the editing trigger operation includes at least one of an image addition operation, an image deletion operation, and an image cutting operation.

5. The special effect processing method according to claim 3, characterized in that, The display of the special effect image obtained by fusing the multiple target objects into the target template image includes: In the case where the image to be processed is an uploaded image, display a first special effect video, where the first special effect video includes the image to be processed, the target objects displayed on the screen, a preset transition image, and the special effect image obtained by fusing the multiple target objects into the target template image, which are displayed in sequence.

6. The special effect processing method according to claim 1, wherein, After obtaining at least one image to be processed and before displaying the special effect image obtained by fusing the multiple target objects into the target template image, it further includes: In the case where the image to be processed meets a preset image detection condition, extract one or more target objects included in the image to be processed, where the image detection condition includes at least one of the image to be processed including a preset object, the image to be processed not including a preset content, and the image quality index of the image to be processed meeting a preset index condition.

7. The special effect processing method according to claim 1, wherein After obtaining at least one image to be processed and before displaying the special effect image obtained by fusing the multiple target objects into the target template image, it further includes: Respectively determine the image main bodies of a preset type included in each image to be processed; In the case where the image main body meets a preset object detection condition, use the image main body as a target object, where the object detection condition includes at least one of the display size of the image main body reaching a preset size, the size ratio of the image main body in the image to be processed reaching a preset ratio, the pose information of the image main body meeting a preset pose limitation condition, and the integrity of the image main body reaching a preset integrity.

8. The special effect processing method according to claim 1, wherein The display of the special effect image obtained by fusing the multiple target objects into the target template image includes: When the image to be processed is a captured image, a second special effect video is displayed, where the second special effect video includes the image to be processed, a preset transition image, and a special effect image obtained by fusing a plurality of the target objects into a target template image, which are displayed in sequence.

9. The special effect processing method according to claim 1, wherein Before displaying the special effect image obtained by fusing a plurality of the target objects into a target template image, it further includes: displaying at least one preset template image matching the total number of the target objects, where the total number of regions of the fusion regions for fusing the target objects included in the preset template image is greater than or equal to the total number of the objects; responding to a selection trigger operation for the preset template image, and using the selected preset template image as the target template image.

10. The special effect processing method according to claim 1, wherein The displaying the special effect image obtained by fusing a plurality of the target objects into a target template image includes: determining a special effect processing mode, and generating a special effect video based on the special effect processing mode, where the special effect processing mode includes a shooting mode and a picture transmission mode; at least part of the video content in the special effect videos generated in the shooting mode and the picture transmission mode is different.

11. The special effect processing method according to claim 10, wherein The determining the special effect processing mode includes: when there is at least one selected image and at least one of the target objects is included in the selected image, determining the special effect processing mode as the picture transmission mode; when there is no selected image or the target object is not included in the selected image, determining the special effect processing mode as the shooting mode.

12. The special effect processing method according to claim 1, wherein The total number of regions of the fusion regions for fusing the target objects included in the target template image is greater than or equal to the total number of the target objects; the fusion regions include preset fusion regions and / or regions where the image content of the same type as the target object is located in the target template image.

13. An special effect processing device, characterized in that, It includes: an image setting module, configured to obtain at least one image to be processed in response to an image setting trigger operation, where the number of target objects included in all the images to be processed is a plurality; a special effect display module, configured to display a special effect image obtained by fusing a plurality of the target objects into a target template image in response to a special effect display trigger operation.

14. An electronic device, characterized in that, The electronic device includes: one or more processors; a storage device, configured to store one or more programs, when the one or more programs are executed by the one or more processors, enabling the one or more processors to implement the special effect processing method according to any one of claims 1-12.

15. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the special effect processing method according to any one of claims 1-12 when executed by a computer processor.

Citation Information

Patent Citations

  • Image processing method and device, interactive display device and electronic equipment

    CN111986076A

  • Image processing method and device, electronic equipment and storage medium

    CN115205169A

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

    CN117876208A

  • Method and device for capturing images using image templates

    US20180060690A1