Emoji acquisition method and apparatus, electronic device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2026-02-09
- Publication Date
- 2026-08-13
Smart Images

Figure CN2026077993_13082026_PF_FP_ABST
Abstract
Description
Methods, devices, electronic devices, storage media, and program products for obtaining emojis
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510147587.7, filed on February 10, 2025, entitled “Method, Apparatus, Electronic Device, Storage Medium and Program Product for Obtaining Emojis”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, storage medium, and program product for acquiring emojis. Background Technology
[0004] Currently, users can interact with the app using emojis provided within it. Summary of the Invention
[0005] This disclosure provides a method, apparatus, electronic device, storage medium, and program product for acquiring emojis.
[0006] In a first aspect, embodiments of this disclosure provide a method for obtaining emoji packs, including:
[0007] In response to an emoticon acquisition operation based on an interactive interface, a first image content is displayed, in which a first part of a first object is presented;
[0008] In response to an image generation operation for the first image content, a second image content is generated by fusing a first part of the first object with a first reference image, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image.
[0009] The content of the second image is displayed on the first interface;
[0010] The first emoticon is generated by using the image content of the second image as the emoticon image.
[0011] Secondly, embodiments of this disclosure also provide an emoji acquisition device, comprising:
[0012] The first image display module is used to respond to the emoticon acquisition operation based on the interactive interface and display the first image content, in which the first image content presents a picture of the first part of the first object;
[0013] An image generation module is configured to, in response to an image generation operation for the first image content, trigger the fusion of a first part of the first object and a first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image;
[0014] The second image display module is used to display the content of the second image on the first interface;
[0015] The emoticon acquisition module is used to acquire an image frame using the content of the second image as the emoticon frame to generate a first emoticon.
[0016] Thirdly, embodiments of this disclosure also provide an electronic device, including:
[0017] One or more processors;
[0018] Memory, used to store one or more programs.
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the emoji acquisition method as described in the embodiments of this disclosure.
[0020] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for acquiring emojis as described in embodiments of this disclosure.
[0021] Fifthly, this disclosure also provides a computer program product that, when executed by a computer, enables the computer to implement the emoticon acquisition method as described in this disclosure.
[0022] The emoticon acquisition method, apparatus, electronic device, storage medium, and program product provided in this disclosure support users to acquire new emoticons by triggering the fusion of the first image content and the first part of the first reference image based on the interactive interface. This eliminates the need to first exit the interactive interface and then enter the emoticon creation interface to create emoticons after a series of triggering operations. Attached Figure Description
[0023] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0024] Figure 1 is a flowchart illustrating a method for obtaining emojis according to an embodiment of this disclosure;
[0025] Figure 2 is a schematic diagram showing a first image content provided in an embodiment of this disclosure;
[0026] Figure 3 is a schematic diagram illustrating a reference image provided in an embodiment of this disclosure;
[0027] Figure 4 is a schematic diagram illustrating a second image content provided in an embodiment of this disclosure;
[0028] Figure 5 is a schematic diagram of a second image content acquisition process provided in an embodiment of this disclosure;
[0029] Figure 6 is a schematic diagram illustrating another reference image provided in an embodiment of this disclosure;
[0030] Figure 7 is a schematic diagram of another process for acquiring second image content provided in an embodiment of this disclosure;
[0031] Figure 8 is a schematic diagram of another method for acquiring second image content according to an embodiment of this disclosure;
[0032] Figure 9 is a flowchart illustrating another method for obtaining emoticons provided in this embodiment of the present disclosure;
[0033] Figure 10 is a schematic diagram illustrating a first emoticon pack provided in an embodiment of this disclosure;
[0034] Figure 11 is a structural block diagram of an emoji acquisition device provided in an embodiment of this disclosure;
[0035] Figure 12 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0036] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0037] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0038] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0039] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0040] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0041] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0042] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0043] Currently, there are relatively few ways to obtain emojis.
[0044] Figure 1 is a flowchart illustrating a method for acquiring emojis according to an embodiment of this disclosure. This method can be executed by an emoji acquisition device, which can be implemented by software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The emoji acquisition method provided in this embodiment is applicable to scenarios where emojis are generated based on an interactive interface, such as scenarios where emojis are generated using a first part fusion method. As shown in Figure 1, the emoji acquisition method provided in this embodiment may include:
[0045] S101. In response to the emoticon acquisition operation based on the interactive interface, display the first image content, in which the first image content presents a picture of the first part of the first object.
[0046] The interactive interface can be understood as an interface for user interaction, such as an interface for users to send interactive information, like a conversation interface and / or a comment interface. This interactive information can be information used for interaction, such as conversation information and / or comment information. The emoticon retrieval operation can be understood as an operation used to instruct the retrieval of emoticons. The emoticon retrieval operation can be executed based on the interactive interface, and its specific execution method is not limited. For example, the emoticon retrieval operation can be an operation that triggers an emoticon retrieval control or performs an emoticon retrieval gesture.
[0047] The first image content can be understood as the image content used to merge with a reference image to obtain an emoticon. The first image content can be image content and / or video content, etc. For example, if the first image content is an image, a static emoticon can be generated; if the first image content is video content, a static or dynamic emoticon can be generated. The first object can be understood as the object captured by the first image content, such as the main subject captured in the first image frame. This main subject can be, for example, a person and / or an animal. The first image content presents a first part of the first object. This first part can be set as needed. For example, this first part can be a first body part, such as the face, head, hand, leg, and / or foot, etc., and can be flexibly set as needed. Optionally, the first part includes the face. For example, the first image content can present a facial image of the first object.
[0048] Specifically, upon receiving an emoticon acquisition operation performed by the current user based on the interactive interface, a first image content showing the first part of the first object can be displayed so that the current user can preview this first image content used to generate the emoticon.
[0049] S102. In response to the image generation operation for the first image content, trigger the fusion of the first part of the first object and the first reference image to generate the second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image.
[0050] An image generation operation can be understood as a triggering operation used to instruct the generation of second image content. The execution method of this image generation operation is not limited. For example, it can be an operation that triggers a control or performs a first gesture, such as a reference image selection operation that selects a reference image as the first reference image after determining the first image content, an image content acquisition operation that instructs the acquisition of the first image content after determining the first reference image, and / or an operation that triggers an image generation control after determining the first image content and the first reference image.
[0051] The second image content can be understood as image content obtained by fusing a first part of the first object in the first image content with a first reference image. For example, the second image content may at least present an image of the first part of the second object, which can be generated based on the first part of the first object and the first part of a third object in the first reference image. For instance, the image of the first part of the second object in the second image content can be obtained by fusing the image of the first part of the first object in the first image content with the image of the first part of the third object in the first reference image. The second image content can be used to generate emoticons. The second object can be understood as the object corresponding to the image of the first part presented in the second image content. For example, this second object can be a scene object in the second image content, such as the main subject of the scene presented in the second image content.
[0052] The first reference image can be understood as a reference image used to process the acquired first image content. This reference image can be used to process the acquired image content to obtain new image content for generating emoticons. The type of this reference image is not limited. For example, this reference image can be an image processing template, such as an image fusion template used to merge the image of a first part in the displayed image content (such as the first image content); it can also be an image processing effect, such as a shooting effect. Optionally, the first reference image includes an emoticon generation template. For example, the first reference image can generate a new emoticon by merging the first part. The first reference image presents the image of the first part of a third object. The third object can be understood as the object presented in the first reference image, such as the object corresponding to the image of the first part presented in the first reference image. The third object can be a person and / or an animal, etc., which is not limited in this embodiment.
[0053] Specifically, upon receiving an image generation operation for the first image content, a fusion based on the first part of the first object and the first reference image can be triggered. For example, the first part of the image of the first object presented in the first image content can be fused with the first part of the image of the third object presented in the first reference image to generate a second image content that at least presents the image of the first part of the fused second object, so as to generate a new emoticon based on the second image content.
[0054] In this embodiment, the second image content may present a view of the first part of the second object. The first part of the second object can be obtained by fusing the view of the first part of the first object in the first image content and the view of the first part of the third object in the first reference image. The fused first part of the second object may possess certain features of both the first part of the first object and the first part of the third object. For example, the first part of the second object may have the morphological features of the first object and the posture features of the third object, or the first part of the second object may have the posture features of the first object and the morphological features of the third object, etc.
[0055] Optionally, the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image, including: the shape of the first part of the second object in the second image content is associated with the shape of the first part of the first object in the first image content; the pose of the first part of the second object in the second image content is associated with the pose of the first part of the third object in the first reference image. For example, the shape of the first part of the second object in the second image content can be determined based on the shape of the first part of the first object in the first image content, and the pose of the first part of the second object in the second image content can be determined based on the pose of the first part of the third object in the first reference image. The method of determining the shape of the first part of the second object based on the shape of the first object and / or determining the pose of the first part of the second object based on the pose of the first part of the third object is not limited.
[0056] In some optional examples, in the second image content, the first part of the second object may have the same or similar shape as the first part of the first object in the first image content, such as having the same or similar part shape as the first part of the first object in the first image content; and / or, the first part of the second object may present the same or similar posture as the first part of the third object in the first reference image, such as presenting the same or similar part posture as the first part of the third object in the first reference image.
[0057] It is understood that the second image content may present a view of the first part of the second object. Furthermore, the second image content may also present other views besides the view of the first part of the second object. For example, it may further present views of other parts of the second object besides the first part, and / or, it may further present views other than the second object itself, such as a background image. These other views besides the view of the first part of the second object can be generated based on the first image content and / or the first reference image. For example, these other views can be generated based on corresponding views in the first image content and / or the first reference image, such as based on the shape and / or posture of corresponding parts of the first object and / or the third object. This embodiment does not limit this.
[0058] In some examples, the second image content may include other images besides the first part of the first object, or other images besides the first object, generated based on the first reference image. For instance, the first part of the second object may be obtained by fusing the first part of the first object in the first image content and the first part of the third object in the first reference image. The second image content may then be generated based on the first part of the second object and the images besides the first part of the third object in the first reference image, such as generating a second image content that visually presents the first part of the second object replacing the first part of the third object in the first reference image. Alternatively, the second object may be obtained by fusing the first object in the first image content and the third object in the first reference image. The second image content may then be generated based on the second object and the images besides the third object in the first reference image, such as generating a third image content that visually presents the second object replacing the third object in the first reference image.
[0059] Taking the face as an example, for instance, the facial image of the first object in the first image content can be fused with the facial image of the third object in the first reference image to obtain a facial image with the facial shape of the first object and the facial posture of the third object, which serves as the facial image of the second object. Based on the facial image of the second object and the images in the first reference image other than the facial image of the third object, the second image content is generated. In the second image content, the second object has the facial shape of the first object and the facial posture of the third object. Thus, it is possible to present the visual effect of replacing the face of the third object with the face of the first object. In other words, the second image content can present an image in which the face of the first object presents the same posture as the face of the third object in the first reference image. Thus, by replacing the facial image of the third object in the first reference image with the facial image of the first object in the first image content, new image content can be generated, and new emoticons can be obtained based on this image content.
[0060] S103. Display the content of the second image on the first interface.
[0061] In this embodiment, after obtaining the second image content, the generated second image content can be displayed on a first interface so that the current user can view it. The first interface can be an interface for displaying the generated second image content, such as a display interface, preview interface, and / or editing interface. Optionally, the first interface can be an editing interface to meet the user's need to edit the generated second image content; this will be illustrated below as an example.
[0062] S104. Obtain the image frame using the content of the second image as the image frame to generate the first emoticon.
[0063] The first emoticon can be understood as an emoticon generated based on the content of the second image. The emoticon image of the first emoticon can be generated based on the image of the second image content. In some examples, the emoticon image of the first emoticon can be the image of the second image content. For example, if the current user has not edited the second image content, the emoticon image of the first emoticon can be the original image of the second image content; if the current user has edited the second image content, the emoticon image of the first emoticon can be the edited image of the second image content.
[0064] For example, after obtaining the second image content, it is possible to trigger the generation of a first emoticon using the image screen of the second image content as the emoticon screen, and obtain this first emoticon generated based on the second image content. Thus, a new emoticon is obtained by fusing the image screen of the first part in the first image content and the first reference image.
[0065] The emoticon acquisition method provided in this embodiment, in response to an emoticon acquisition operation based on an interactive interface, displays a first image content showing a first part of a first object; in response to an image generation operation on the first image content, triggers the fusion of the first part of the first object and a first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of a third object in the first reference image; displays the second image content in a first interface; and acquires a first emoticon generated using the image of the second image content as the emoticon image. This embodiment, utilizing the above technical solution, supports users in acquiring new emoticons by triggering the fusion of the first image content and the first part of the first reference image based on an interactive interface, without first exiting the interactive interface and then entering the emoticon creation interface after a series of triggering operations. This enriches the methods for acquiring emoticons and simplifies the operations required to acquire emoticons.
[0066] In some embodiments, users may be supported in triggering the generation of second image content in a first interface to enrich the generation methods of the second image content, thereby further enriching the acquisition methods of emoticons. Optionally, the step of triggering the generation of second image content based on the fusion of a first part of the first object and a first reference image in response to the image generation operation for the first image content includes: displaying at least one reference image in the first interface in response to the image generation operation for the first image content; and triggering the generation of second image content based on the fusion of a first part of the first object and the first reference image in response to a first trigger operation for the first reference image among the at least one reference image.
[0067] The first triggering operation can be understood as triggering an operation on a reference image displayed in the first interface, such as clicking or long-pressing a reference image displayed in the first interface. In this case, the first reference image used to merge with the first part of the first object to generate the second image content can be the reference image corresponding to this first triggering operation, such as the reference image triggered by the current user in the first interface.
[0068] For example, in response to an emoticon acquisition operation based on an interactive interface, a first image content can be displayed on a first interface, as shown in Figure 2. Upon receiving an image generation operation for the first image content displayed on the first interface, at least one reference image can be displayed on the first interface. For instance, if the current user triggers the image generation control 20 displayed on the first interface, a reference image interface 30 can be displayed on the first interface in the form of a floating layer or pop-up window, and at least one reference image selectable by the current user can be displayed on the reference image interface 30, as shown in Figure 3. If the current user triggers a reference image displayed on the first interface, this reference image can be used as the first reference image. A first trigger operation for the first reference image is determined, and in response to this first trigger operation, a fusion based on the first part of the first object and the first reference image is triggered to generate second image content. This generated second image content can be displayed on the first interface, such as switching the currently displayed image content on the first interface from the first image content to the second image content, as shown in Figure 4.
[0069] In addition, as shown in Figures 2 and 4, the first interface may also display an emoticon sending control 21 and / or an emoticon adding control 22. Thus, the current user can send an emoticon based on the image content currently displayed in the first interface (such as the first image content or the second image content) by triggering the emoticon sending control 21; and / or, add the emoticon based on the image content currently displayed in the first interface (such as the first image content or the second image content) to the current user's emoticon collection by triggering the emoticon adding control 22.
[0070] In this embodiment, the reference image displayed in the first interface is not limited. Optionally, displaying at least one reference image in the first interface includes at least one of the following: displaying at least one reference image in the first interface; displaying at least one associated reference image of the first image content in the first interface, wherein the associated reference image is determined based on the first image content and / or a second reference image used by the first image content; or displaying at least one reference image uploaded by the current user in the first interface.
[0071] Here, the reference image can be understood as a pre-set reference image in the current application. For example, this reference image can be a set default reference image, so that the reference image does not change with the content of the first image. The associated reference image can be understood as a reference image associated with the content of the first image, such as a reference image determined based on the content of the first image and / or a second reference image used for the content of the first image and recommended for the current user.
[0072] In this embodiment, a reference image, a related reference image of the first image content, and / or a reference image uploaded by the current user can be displayed on the first interface to further enrich the displayed reference images and meet the different emoji generation needs of the user.
[0073] For example, in response to an image generation operation for the first image content, at least one reference image, at least one associated reference image with the first image content, and / or at least one reference image uploaded by the current user can be obtained, and at least some of the obtained reference images can be displayed in a first interface for the current user to select.
[0074] When obtaining the associated reference image of the first image content, for example, the first image content can be analyzed to determine a recommended reference image for generating an emoticon based on the image features of the first image content, which is then used as the associated reference image of the first image content; and / or, a reference image associated with the second reference image used in the first image content can be obtained, such as a reference image whose image features are similar to those of the second reference image used in the first image content, which is then used as the associated reference image of the first image content.
[0075] When obtaining a reference image uploaded by the current user, for example, the reference images uploaded by the current user in the past can be obtained; and / or, a reference image upload interface can be displayed, and in response to the reference image upload operation of the current user in this reference image upload interface, the reference image uploaded by the current user this time can be obtained.
[0076] In some implementations, in response to an emoji acquisition operation based on an interactive interface, first image content for generating emojis can be acquired from an image acquisition interface to enrich the acquisition method of the first image content, thereby enriching the generation method of the second image content.
[0077] Optionally, the step of displaying the first image content in response to an emoticon acquisition operation based on the interactive interface includes: displaying the interactive interface; displaying an image acquisition interface in response to an emoticon acquisition operation based on the interactive interface; and acquiring the first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface, and displaying the first image content in the first interface.
[0078] The image acquisition interface can be an interface used to acquire image content for generating emoticons. For example, this image acquisition interface may include a shooting interface and / or the current user's image collection interface, etc. The image acquisition operation can be understood as the operation of acquiring image content (such as the first image content) used to generate emoticons. The execution method of the image acquisition operation is not limited; for example, this image acquisition operation may be an operation that triggers a control or image content in the image acquisition interface, etc. The original image content can be the original image content acquired in the image acquisition interface.
[0079] Specifically, it can display an interactive interface; in response to an emoticon acquisition operation based on the interactive interface, such as when the current user triggers an emoticon acquisition control displayed on the interactive interface, it can display an image acquisition interface; in response to an image acquisition operation performed on the image acquisition interface, it can acquire a first image content determined based on the original image content in the image acquisition interface, and display this first image content in the first interface.
[0080] In the above embodiments, there are no limitations on the method of determining the first image content based on the original image content in the image acquisition interface.
[0081] In some examples, the original image content in the image acquisition interface may not be processed; that is, the original image content in the image acquisition interface can be used as the first image content. Optionally, the step of acquiring the first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface includes: acquiring the original image content in the image acquisition interface as the first image content in response to a first image acquisition operation performed within the image acquisition interface. For example, upon receiving an image acquisition operation performed within the image acquisition interface, the original image content corresponding to this image acquisition operation in the image acquisition interface can be acquired as the first image content for generating an emoticon. The first image acquisition operation can be a triggering operation for acquiring the original image content in the image acquisition interface, such as an image acquisition operation performed when the current user has not selected to use an image processing tool (such as effects and / or reference images).
[0082] In some examples, the original image content in the image acquisition interface can be processed, and the processed image content can be used as the first image content. For example, at least one image processing tool can be used to process the original image content in the image acquisition interface to obtain the first image content. Optionally, the step of acquiring the first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface includes: acquiring the first image content generated based on the original image content in the image acquisition interface and a second reference image in response to a second image acquisition operation performed within the image acquisition interface. For example, upon receiving a second image acquisition operation performed within the image acquisition interface, the original image content in the image acquisition interface can be acquired, processed using the image processing tool selected by the current user, and the processed image content can be used as the first image content. The second image acquisition operation can be a trigger operation for acquiring the image content obtained by processing the original image content, such as an image acquisition operation performed when the current user has selected one or more image processing tools. The second reference image can be a reference image used when processing the original image content, and it can be a different reference image from the first reference image.
[0083] Figure 5 is a schematic diagram of a second image content acquisition process provided in an embodiment of this disclosure. As shown in Figure 5 (the interactive interface is a conversation interface and the image acquisition interface is a shooting interface, as an example), in some examples, the second image content acquisition process can be described as follows:
[0084] Display the interactive interface and, in response to the emoticon display operation performed on the interactive interface, display the emoticon display interface 51. For example, if the current user triggers the emoticon display control 50 in the interactive interface, display the emoticon display interface 51 and display the first emoticon acquisition control 52 and at least one emoticon in this emoticon display interface 51, as shown in the first image of the first row of Figure 5.
[0085] When the current user triggers the first emoji acquisition control 52 in the emoji display interface 51, the first emoji acquisition control 53 and / or the second emoji acquisition control 54 can be displayed, as shown in the second image of the first row of Figure 5.
[0086] When the current user triggers the first emoticon acquisition control 53, it can be determined that an emoticon acquisition operation has been received. In response to this emoticon acquisition operation, the shooting interface (i.e., the image acquisition interface) is displayed, as shown in the third image of the first row of Figure 5. When the current user triggers the shooting control 55 in the shooting interface, it can be determined that an image acquisition operation has been received. In response to this image acquisition operation, if the current user has not selected to use a certain shooting effect in the shooting interface, the original image content captured by the camera is acquired as the first image content; and if the current user has selected to use a certain shooting effect (such as a second reference image, etc.) in the shooting interface, the image content captured using the shooting effect selected by the current user is acquired, that is, the image content obtained by processing the original image content captured by the camera using this shooting effect is acquired as the first image content.
[0087] When the current user triggers the second emoji acquisition control 54, the current user's image collection interface (i.e., image acquisition interface) can be displayed, and at least one preview of the original image content that the current user can select can be shown in the current user's image collection interface; and when the current user triggers a certain original image content displayed in the image collection interface, it is determined that an image acquisition operation has been received, and in response to the image acquisition operation, the original image content triggered by the current user is acquired as the first image content. And / or, when the current user triggers the third emoji acquisition control 56 in the shooting interface, the current user's image collection interface (i.e., image acquisition interface) can be displayed, and at least one preview of the original image content that the current user can select can be shown in the current user's image collection interface; and, when the current user triggers a certain original image displayed in the image collection interface, it is determined that an image acquisition operation has been received, and in response to the image acquisition operation, if the current user has not selected to use a certain shooting effect in the shooting interface, the original image content triggered by the current user is acquired as the first image content; and, if the current user has already selected to use a certain shooting effect (such as a second reference image, etc.) in the shooting interface, the image content obtained by processing the original image content with the shooting effect selected by the current user is acquired as the first image content.
[0088] Furthermore, this embodiment can also directly display the image acquisition interface when the current user triggers the first emoji acquisition control 52, such as directly displaying the shooting interface and / or the current user's image collection interface, which can be flexibly set as needed. And / or, the shooting interface can further display an effect control 57, which can be configured to trigger the display of at least one shooting effect for the current user to select.
[0089] After obtaining the first image content, it can be displayed on the first interface, as shown in the third image of the second row in Figure 5, so that the current user can edit the first image content.
[0090] When the current user triggers the image generation control 20 displayed in the first interface, it can be determined that an image generation operation has been received. In response to this image generation operation, a reference image interface 30 is displayed in the first interface in the form of a floating layer, and at least one reference image is displayed in the reference image interface 30, as shown in the second figure of the second row of Figure 5.
[0091] When a reference image is detected that the current user has triggered a reference image displayed in the reference image interface 30, this reference image can be used as the first reference image. The content of the first image can be processed based on the first reference image, such as triggering the fusion of the first part of the first reference image in the first image content with the first part of the third object in the first reference image to generate the second image content. The generated second image content is then displayed in the first interface, as shown in the first image of the second row in Figure 5, so that the current user can edit the second image content and / or obtain the emoticons generated based on the second image content.
[0092] Taking the face as the first part and the reference image as the emoticon generation template as an example, in an optional example, the sidebar of the emoticon editing interface (i.e., the first interface) can display a face-swapping control (i.e., an image generation control); after detecting that the current user clicks on this face-swapping control, an optional emoticon template panel (i.e., the reference image interface) can be displayed; after detecting that the current user clicks on a certain emoticon face-swapping template (i.e., the first reference image) in the emoticon template panel, a face-swapping effect (i.e., the second image content) is generated based on the emoticon face-swapping template clicked by the current user, and after the generation is completed, the generated face-swapping effect is displayed in the emoticon editing interface for the current user to preview and / or edit.
[0093] In some embodiments, users can trigger the generation of second image content within the image acquisition interface to enrich the generation methods of the second image content, thereby further enriching the acquisition methods of emoticons. Optionally, the step of displaying the first image content in response to an emoticon acquisition operation based on the interactive interface includes: displaying the interactive interface; displaying the image acquisition interface in response to an emoticon acquisition operation based on the interactive interface; and displaying a preview of the first image content in the image acquisition interface.
[0094] Specifically, it can display an interactive interface; in response to an emoji acquisition operation based on the interactive interface, display an image acquisition interface; display a preview of the first image content in the image acquisition interface, such as displaying a preview of the first image content to be captured in the shooting interface, and / or displaying a preview of at least one original image content that the user can select in the form of a thumbnail in the current user's image collection interface, etc.
[0095] In some implementations, after displaying a preview of the first image content in the image acquisition interface, at least one reference image can be displayed in the image acquisition interface for the current user to select the first reference image to use when generating the second image content based on the first image content.
[0096] Optionally, the method for acquiring emoticons may further include: displaying at least one reference image in the image acquisition interface in response to a reference image display operation performed on the image acquisition interface; and determining a first reference image among the at least one reference images that corresponds to the reference image selection operation in response to a reference image selection operation performed on the image acquisition interface.
[0097] The reference image display operation can be a trigger operation used to indicate the display of a reference image available for selection by the current user. The execution method of the reference image display operation is not limited; for example, it can trigger an operation of a reference image display control or an operation of an image processing tool (such as a shooting effect) that uses a reference image. The reference image selection operation can be understood as a trigger operation that selects a specific reference image as the reference image used when processing the content of the first image. The execution method of the reference image selection operation is not limited; for example, it can trigger an operation of displaying a reference image in the image acquisition interface.
[0098] Specifically, upon receiving a reference image display operation on the image acquisition interface, at least one reference image can be displayed on the image acquisition interface, as shown in Figure 6 (the image acquisition interface is taken as the shooting interface in the figure). Upon receiving a reference image selection operation on the image acquisition interface, such as when it is detected that the current user has triggered a reference image displayed on the image acquisition interface, the reference image corresponding to this reference image selection operation can be used as the first reference image.
[0099] In the above embodiments, at least one reference image can be displayed directly or indirectly in response to a reference image display operation performed on the image acquisition interface, and the specific settings can be configured as needed.
[0100] In some embodiments, the image acquisition interface includes a shooting interface, the first image content includes the content to be shot within the current shooting range, and the step of displaying at least one reference image in the image acquisition interface in response to a reference image display operation performed on the image acquisition interface includes: displaying at least one shooting effect in the image acquisition interface in response to the reference image display operation performed on the image acquisition interface, the at least one shooting effect including a first shooting effect; and displaying at least one reference image corresponding to the first shooting effect in the image acquisition interface in response to a second trigger operation for the first shooting effect.
[0101] Here, "current shooting range" can be understood as the camera's current field of view. "Content to be captured" can be understood as content located within the current shooting range. "First shooting effect" can be understood as the shooting effect associated with the reference image, such as a shooting effect with a reference image. For example, the current application may have a first shooting effect that supports image fusion of a first part. This first shooting effect can provide the user with one or more reference images for image fusion of the first part for the user to choose from. "Second trigger operation" can be understood as a trigger operation used to indicate and display the reference image corresponding to the first shooting effect, such as the operation that triggers the first shooting effect.
[0102] Taking the image acquisition interface as the shooting interface as an example, after the image acquisition interface is displayed, if a reference image display operation is received on the image acquisition interface, such as when the effect control 57 displayed on the shooting interface is triggered by the current user, at least one shooting effect can be displayed on the shooting interface; if a second trigger operation is received for the first shooting effect among the at least one shooting effect, such as when the first shooting effect displayed on the shooting interface is triggered by the current user, at least one reference image corresponding to the first shooting effect can be displayed on the image acquisition interface, as shown in Figure 6 (the first shooting effect is taken as shooting effect 1 in the figure).
[0103] Figure 7 is a schematic diagram of another process for acquiring second image content provided in an embodiment of this disclosure. As shown in Figure 7 (taking the interactive interface as a session interface and the image acquisition interface as a shooting interface as an example), in some examples, the process of acquiring second image content based on the shooting interface can be described as follows:
[0104] Display the interactive interface and respond to the emoticon display operation performed on the interactive interface. Display the emoticon display interface 51. For example, when the current user triggers the emoticon display control 50 in the interactive interface, the emoticon display interface 51 is displayed, and the first emoticon acquisition control 52 and at least one emoticon are displayed in this emoticon display interface 51, as shown in the first picture of the first row of Figure 7.
[0105] When the current user triggers the first emoji acquisition control 52, the first emoji acquisition control 53 and the second emoji acquisition control 54 can be displayed, as shown in the second image of the first row of Figure 7.
[0106] When the current user triggers the first emoji acquisition control 53, it can be determined that the emoji acquisition operation has been received, and the shooting interface (i.e. the image acquisition interface) is displayed. The shooting interface displays a preview of the content of the first image to be captured, as shown in the third image of the first row in Figure 7.
[0107] If the effect control 57 displayed in the shooting interface is detected to be triggered by the current user, it is determined that a reference image display operation has been received. In response to this reference image display operation, at least one shooting effect, including the first shooting effect, is displayed in the shooting interface, as shown in the third picture of the second row of Figure 7.
[0108] If the first shooting effect is detected in the shooting interface triggered by the current user, it is determined that a second trigger operation has been received. In response to the second trigger operation, the first shooting effect is displayed as selected, and at least one reference image corresponding to the first shooting effect is displayed in the shooting interface, as shown in the second image of the second row of Figure 7.
[0109] When it is detected that the current user has triggered a reference image among the above at least one reference image, it is determined that a reference image selection operation has been received, this reference image is used as the first reference image, and the first reference image is displayed as the selected image.
[0110] When the current user triggers the shooting control 55 in the shooting interface, it can be determined that an image generation operation has been received. In response to this image generation operation, the first image content is captured, and the first image content is processed based on the first reference image. For example, the first part of the first reference image in the first image content is fused with the first part of the third object in the first reference image to generate the second image content. The generated second image content is then displayed in the first interface, as shown in the first image of the second row in Figure 7, so that the current user can edit the second image content and / or obtain the emoticons generated based on the second image content.
[0111] Taking the face as the first part and the reference image as the emoji generation template as an example, in an optional example, when it is detected that the current user triggers the emoji capture control (i.e., the first emoji acquisition control) based on the emoji panel (i.e., the emoji display interface), the shooting interface is displayed; when it is detected that the current user triggers the effect control displayed in the shooting interface, at least one shooting effect is displayed; after it is detected that the current user triggers the face-swapping effect (i.e., the first shooting effect) in this at least one shooting effect, the optional emoji generation template (i.e., the reference image) in the face-swapping effect is displayed above the shooting control; when it is detected that the current user selects an emoji face-swapping template and triggers the shooting control in the shooting interface, the generation process is performed based on the emoji face-swapping template selected by the current user to generate a face-swapping effect (i.e., the second image content); this face-swapping effect is displayed in the emoji editing interface (i.e., the first interface) for the current user to preview and / or edit (such as adding text).
[0112] In some embodiments, users can also acquire emoticons based on reference images used in the emoticons displayed in the interactive interface, further enriching the methods for acquiring emoticons. Optionally, the step of displaying the first image content in response to an emoticon acquisition operation based on the interactive interface includes: displaying interactive information in the interactive interface, wherein the information content of the interactive information includes a second emoticon, the second emoticon being generated using the first reference image; displaying an image acquisition interface in response to an emoticon acquisition operation based on the second emoticon; and displaying a preview of the first image content in the image acquisition interface.
[0113] Interactive information can be understood as information content that includes emoticons generated based on reference images. This can be interactive information already sent in the interactive interface, such as information displayed in the information display area of the interactive interface. The second type of emoticon can be understood as emoticons generated based on reference images and included in the content of the interactive information.
[0114] Specifically, the interactive interface can display interactive information containing a second emoticon generated using a first reference image. Upon receiving an emoticon acquisition operation based on the second emoticon, an image acquisition interface can be displayed, showing a preview of the first image content. Upon receiving an image generation operation for this first image content, the fusion of the first part of the first object in the first image content with the first reference image used by the second emoticon can be triggered to generate the second image content.
[0115] Figure 8 is a schematic diagram of another method for acquiring second image content according to an embodiment of this disclosure. As shown in Figure 8 (taking the interactive interface as a conversation interface and the image acquisition interface as a shooting interface as an example), in some instances, the process of acquiring second image content based on interactive information in the interactive interface can be described as follows:
[0116] The interactive interface is displayed, and interactive information 80 containing a second emoticon generated using a reference image is displayed in the information display area of the interactive interface. A fourth emoticon acquisition control 81 can be displayed in association with this interactive information 80, as shown in the first figure of Figure 8.
[0117] When the current user triggers the fourth emoticon acquisition control 81 associated with the interactive information 80, it can be determined that an emoticon acquisition operation has been received. In response to this emoticon acquisition operation, an image acquisition interface is displayed, such as a shooting interface, and a preview of the first image content to be captured is displayed in this shooting interface, as shown in the second figure in Figure 8; and / or, the current user's image collection interface is displayed, and a preview of at least one original image content is displayed in this image collection interface.
[0118] Upon receiving an image generation operation on the image acquisition interface, a second image content can be generated by fusing a first part of a first object in the first image content acquired in the image acquisition interface with a first reference image used in the second emoticon in the interaction information 80. For example, if the current user triggers the shooting control 55 on the shooting interface, the first image content can be captured in the shooting interface, and a second image content can be generated by fusing a first part of a first object in the first image content captured in the image acquisition interface with a first reference image used in the second emoticon in the interaction information 80; and / or, if the current user triggers a certain original image content displayed in the image collection interface, this original image content can be used as the first image content, and a second image content can be generated by fusing a first part of a first object in the first image content acquired in the image acquisition interface with a first reference image used in the second emoticon in the interaction information 80.
[0119] After generating the first image content, the generated second image content can be displayed on the first interface, as shown in the third image of Figure 8, so that the current user can edit the second image content and / or obtain emoticons generated based on the second image content.
[0120] In some embodiments, the second image content generated based on the first image content and the first reference image can be used not only to generate new emoticons but also for users to publish, such as as media content in the current application, to further enrich the interactions supported by the second image content and the publishing methods of the media content. Optionally, the emoticon acquisition method may further include: publishing media content generated based on the second image content in response to a media content publishing operation for the second image content. For example, upon receiving a media content publishing operation for the second image content, media content can be generated based on the second image content and published in the current application. After the media content is published, it can be displayed in a media content stream, which may include multiple media content published by multiple users of the current application. The current user can switch between multiple media content in the media content stream based on content switching operations, such as up and down swiping operations. The current user can also interact with other users based on the media content, such as liking, commenting on, or sharing the media content. The media content publishing operation can be understood as an operation used to instruct the publishing of media content generated based on the second image content, such as triggering the publishing control displayed in the first interface or the publishing interface of this media content, or performing the first publishing gesture for this media content, etc.
[0121] Figure 9 is a flowchart illustrating another method for obtaining emoticons provided in this embodiment. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, obtaining the first emoticon generated using the image frame of the second image content as the emoticon frame includes: in response to an emoticon sending operation for the second image content, obtaining the first emoticon generated using the image frame of the second image content as the emoticon frame, and sending the first emoticon in the interactive interface; and / or, in response to an emoticon adding operation for the second image content, obtaining the first emoticon generated using the image frame of the second image content as the emoticon frame, and adding the first emoticon to the current user's emoticon set.
[0122] Optionally, as shown in Figure 9, the method for obtaining emoticons provided in this embodiment may include:
[0123] S201. In response to the emoticon acquisition operation based on the interactive interface, display the first image content, in which the first image content presents a first part of the first object.
[0124] S202. In response to the image generation operation for the first image content, trigger the fusion of the first part of the first object and the first reference image to generate the second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image.
[0125] S203. Display the second image content in the first interface, and execute S204 and / or S205.
[0126] S204. In response to the emoticon sending operation for the second image content, obtain the first emoticon generated using the image screen of the second image content as the emoticon screen, and send the first emoticon in the interactive interface.
[0127] The emoticon sending operation can be understood as a trigger operation used to instruct the sending of a first emoticon generated based on the content of a second image. The execution method of the emoticon sending operation is not limited; for example, the emoticon sending operation may include triggering the emoticon sending control displayed in the first interface.
[0128] Specifically, when an emoticon sending operation is received for the second image content, such as when the current user triggers the emoticon sending control 21 displayed in the first interface (as shown in Figure 4), the first emoticon 100 generated using the image screen of the second image content currently displayed in the first interface as the emoticon screen can be obtained, and this first emoticon 100 can be sent in the interactive interface, as shown in Figure 10 (the interactive interface is taken as the conversation interface in the figure).
[0129] In this embodiment, the method of sending the first emoticon is not limited. Optionally, sending the first emoticon in the interactive interface includes at least one of the following: sending the first emoticon in the form of interactive information in the interactive interface, wherein the interactive information includes conversation information and / or comment information; or displaying the sent first emoticon in the interactive information display area of the interactive interface.
[0130] The interactive information display area can be understood as the area in the interactive interface used to display the sent interactive information. For example, if the interactive interface is a conversation interface, this interactive information display area can be a conversation information display area; if the interactive interface is a comment interface, this interactive information display area can be a comment information display area.
[0131] For example, in response to an emoticon sending operation for the second image content, a first emoticon 100 generated based on the second image content can be sent in the form of interactive information in the interactive interface. For example, if the emoticon acquisition operation is performed based on a conversation interface, the first emoticon 100 can be sent in the form of conversation information in this conversation interface; if the emoticon acquisition operation is performed based on a comment interface, the first emoticon 100 can be sent in the form of comment information in this comment interface. And / or, the sent first emoticon 100 can be displayed in the interactive information display area of the interactive interface. For example, the interactive interface can be displayed after the first emoticon 100 is sent or after receiving a display operation for this interactive interface, and the sent first emoticon can be displayed in the interactive information display area of this interactive interface, as shown in Figure 10.
[0132] S205. In response to the emoticon addition operation for the second image content, obtain the first emoticon generated using the image screen of the second image content as the emoticon screen, and add the first emoticon to the current user's emoticon set.
[0133] The "emoji addition" operation can be understood as a triggering operation that instructs the addition of a first emoji generated based on the second image content to the current user's emoji set. This emoji set can be understood as a collection of emojis corresponding to the current user, such as the collection of emojis generated and / or saved by the current user. The execution method of the emoji addition operation is not limited; for example, it may include triggering the emoji addition control displayed on the first interface.
[0134] Specifically, when an emoticon addition operation is received for the second image content, such as when the current user triggers the emoticon addition control 22 displayed on the first interface (as shown in Figure 4), the first emoticon 100 generated using the image screen of the second image content as the emoticon screen can be obtained and added to the current user's emoticon set.
[0135] The emoticon acquisition method provided in this embodiment, after fusing the first part of the first object in the first image content with the first part of the third object in the first reference image to obtain the second image content, supports sending and / or adding emoticons generated based on this second image content to the emoticon collection, which can further enrich the interaction methods of emoticons generated based on the second image content and meet the different needs of users.
[0136] Figure 11 is a structural block diagram of an emoticon acquisition device provided in an embodiment of this disclosure. This device can be implemented by software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can generate emoticons based on an interactive interface by executing an emoticon acquisition method, such as generating emoticons using a first part fusion method. As shown in Figure 11, the emoticon acquisition device provided in this embodiment may include: a first image display module 1101, an image generation module 1102, a second image display module 1103, and an emoticon acquisition module 1104, wherein...
[0137] The first image display module 1101 is used to respond to the emoticon acquisition operation based on the interactive interface and display the first image content, in which the first image content presents a picture of the first part of the first object;
[0138] Image generation module 1102 is used to respond to an image generation operation for the first image content, trigger the fusion of the first part of the first object and the first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image;
[0139] The second image display module 1103 is used to display the content of the second image in the first interface;
[0140] The emoticon acquisition module 1104 is used to acquire the image screen using the content of the second image as the emoticon screen to generate the first emoticon.
[0141] The emoticon acquisition device provided in this embodiment responds to an emoticon acquisition operation based on an interactive interface by displaying a first image content showing a first part of a first object through a first image display module; responds to an image generation operation on the first image content by triggering the fusion of the first part of the first object and a first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of a third object in the first reference image; the second image display module displays the second image content on a first interface; and the emoticon acquisition module acquires the image using the second image content as the emoticon image to generate a first emoticon. This embodiment, utilizing the above technical solution, supports users in acquiring new emoticons by triggering the fusion of the first image content and the first part of the first reference image through an interactive interface, without first exiting the interactive interface and then entering the emoticon creation interface after a series of triggering operations. This enriches the methods of acquiring emoticons and simplifies the operations required to acquire emoticons.
[0142] Optionally, the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image, including: the shape of the first part of the second object in the second image content is associated with the shape of the first part of the first object in the first image content; and the pose of the first part of the second object in the second image content is associated with the pose of the first part of the third object in the first reference image.
[0143] Optionally, the image generation module 1102 may specifically include: a reference image display unit, configured to display at least one reference image in a first interface in response to an image generation operation for the first image content; and an image generation unit, configured to trigger the fusion of a first part of the first object and the first reference image to generate second image content in response to a first trigger operation for the first reference image among the at least one reference image.
[0144] Optionally, the reference image display unit may specifically be used to perform at least one of the following: displaying at least one reference image in a first interface; displaying at least one associated reference image of the first image content in a first interface, wherein the associated reference image is determined based on the first image content and / or a second reference image adopted by the first image content; or displaying at least one reference image uploaded by the current user in a first interface.
[0145] Optionally, the first image display module 1101 may specifically include: a first interactive interface display unit for displaying an interactive interface; a first acquisition interface display unit for displaying an image acquisition interface in response to an emoticon acquisition operation based on the interactive interface; and a first image display unit for acquiring first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface, and displaying the first image content in the first interface.
[0146] Optionally, the image display unit can be specifically used to: in response to a first image acquisition operation performed within the image acquisition interface, acquire the original image content in the image acquisition interface as the first image content; or, in response to a second image acquisition operation performed within the image acquisition interface, acquire the first image content generated based on the original image content in the image acquisition interface and the second reference image.
[0147] Optionally, the first image display module 1101 may specifically include: a second interactive interface display unit for displaying an interactive interface; a second acquisition interface display unit for displaying an image acquisition interface in response to an emoticon acquisition operation based on the interactive interface; and a second image display unit for displaying a preview of the first image content in the image acquisition interface.
[0148] Furthermore, the emoticon acquisition device may further include: a reference image display module, used to display at least one reference image in the image acquisition interface in response to a reference image display operation performed on the image acquisition interface; and a reference image determination module, used to determine a first reference image among the at least one reference images that corresponds to the reference image selection operation in response to a reference image selection operation performed on the image acquisition interface.
[0149] Optionally, the image acquisition interface includes a shooting interface, the first image content includes the content to be shot within the current shooting range, and the reference image display module can be specifically used to: in response to a reference image display operation performed on the image acquisition interface, display at least one shooting effect in the image acquisition interface, the at least one shooting effect including a first shooting effect; in response to a second trigger operation for the first shooting effect, display at least one reference image corresponding to the first shooting effect in the image acquisition interface.
[0150] Optionally, the first image display module 1101 may specifically include: an interactive information display unit, used to display interactive information in an interactive interface, wherein the information content of the interactive information includes a second emoticon, the second emoticon being generated using a first reference image; a third acquisition interface display unit, used to display an image acquisition interface in response to an emoticon acquisition operation based on the second emoticon; and a third image display unit, used to display a preview of the first image content in the image acquisition interface.
[0151] Optionally, the emoticon acquisition module 1104 may specifically include: an emoticon sending unit, configured to, in response to an emoticon sending operation for the second image content, acquire a first emoticon generated using the image frame of the second image content as the emoticon frame, and send the first emoticon in the interactive interface; and / or, an emoticon adding unit, configured to, in response to an emoticon adding operation for the second image content, acquire a first emoticon generated using the image frame of the second image content as the emoticon frame, and add the first emoticon to the current user's emoticon set.
[0152] Optionally, the emoticon sending unit may be specifically used to perform at least one of the following: sending the first emoticon in the form of interactive information in the interactive interface, wherein the interactive information includes conversation information and / or comment information; displaying the sent first emoticon in the interactive information display area of the interactive interface.
[0153] Furthermore, the emoticon acquisition device may also include: a media content publishing module, used to publish media content generated based on the second image content in response to a media content publishing operation for the second image content.
[0154] Optionally, the first part includes the face, and / or the first reference image includes an emoji generation template.
[0155] The emoji acquisition device provided in this disclosure can execute the emoji acquisition method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the emoji acquisition method. Technical details not described in detail in this embodiment can be found in the emoji acquisition method provided in any embodiment of this disclosure.
[0156] Referring now to FIG12, a schematic diagram of the structure of an electronic device (e.g., a terminal device) 1200 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG12 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present disclosure.
[0157] As shown in Figure 12, the electronic device 1200 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage device 1208 into a random access memory (RAM) 1203. The RAM 1203 also stores various programs and data required for the operation of the electronic device 1200. The processing unit 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0158] Typically, the following devices can be connected to I / O interface 1205: input devices 1206 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1207 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1208 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1209. Communication device 1209 allows electronic device 1200 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 12 shows electronic device 1200 with various devices, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0159] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1209, or installed from storage device 1208, or installed from ROM 1202. When the computer program is executed by processing device 1201, it performs the functions defined in the methods of embodiments of this disclosure.
[0160] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0161] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0162] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0163] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: in response to an emoticon acquisition operation based on an interactive interface, display first image content, wherein the first image content presents an image of a first part of a first object; in response to an image generation operation for the first image content, trigger the fusion of the first part of the first object and a first reference image to generate second image content, wherein the first part of a second object in the second image content is generated based on the first part of the first object and the first part of a third object in the first reference image; display the second image content in a first interface; and acquire a first emoticon generated using the image image of the second image content as the emoticon image.
[0164] Computer program code for performing the operations of this disclosure can 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, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0165] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0166] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.
[0167] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0168] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0169] According to one or more embodiments of this disclosure, Example 1 provides a method for obtaining emoji packs, including:
[0170] In response to an emoticon acquisition operation based on an interactive interface, a first image content is displayed, in which a first part of a first object is presented;
[0171] In response to an image generation operation for the first image content, a second image content is generated by fusing a first part of the first object with a first reference image, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image.
[0172] The content of the second image is displayed on the first interface;
[0173] The first emoticon is generated by using the image content of the second image as the emoticon image.
[0174] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, generates a first portion of a second object in the second image content based on a first portion of the first object and a first portion of a third object in the first reference image, including:
[0175] The shape of the first part of the second object in the second image content is related to the shape of the first part of the first object in the first image content;
[0176] The pose of the first part of the second object in the second image content is associated with the pose of the first part of the third object in the first reference image.
[0177] According to one or more embodiments of this disclosure, Example 3, based on the method of Example 1, wherein in response to an image generation operation for the first image content, triggering the generation of second image content based on the fusion of a first portion of the first object and a first reference image includes:
[0178] In response to an image generation operation for the content of the first image, at least one reference image is displayed on the first interface;
[0179] In response to a first triggering operation on a first reference image in the at least one reference image, a second image content is generated by triggering the fusion of a first part of the first object with the first reference image.
[0180] According to one or more embodiments of this disclosure, Example 4 describes the method of Example 3, wherein displaying at least one reference image in the first interface includes at least one of the following:
[0181] At least one reference image is displayed in the first interface;
[0182] At least one associated reference image of the first image content is displayed in a first interface, wherein the associated reference image is determined based on the first image content and / or a second reference image adopted by the first image content;
[0183] The first interface displays at least one reference image uploaded by the current user.
[0184] According to one or more embodiments of this disclosure, Example 5 describes the method described in Example 3, wherein the display of first image content in response to an emoticon acquisition operation based on an interactive interface includes:
[0185] Display the interactive interface;
[0186] In response to the emoticon acquisition operation based on the interactive interface, an image acquisition interface is displayed;
[0187] In response to an image acquisition operation performed within the image acquisition interface, first image content determined based on the original image content in the image acquisition interface is acquired, and the first image content is displayed in the first interface.
[0188] According to one or more embodiments of this disclosure, Example 6 describes the method of Example 5, wherein the step of acquiring first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface includes:
[0189] In response to a first image acquisition operation performed within the image acquisition interface, the original image content in the image acquisition interface is acquired and used as the first image content; or
[0190] In response to a second image acquisition operation performed within the image acquisition interface, first image content generated based on the original image content and the second reference image in the image acquisition interface is acquired.
[0191] According to one or more embodiments of this disclosure, Example 7 describes the method described in Example 1, wherein the display of first image content in response to an emoticon acquisition operation based on an interactive interface includes:
[0192] Display the interactive interface;
[0193] In response to the emoticon acquisition operation based on the interactive interface, an image acquisition interface is displayed;
[0194] A preview of the first image content is displayed on the image acquisition interface.
[0195] According to one or more embodiments of this disclosure, Example 8, based on the method described in Example 7, further includes:
[0196] In response to a reference image display operation performed on the image acquisition interface, at least one reference image is displayed on the image acquisition interface;
[0197] In response to a reference image selection operation performed on the image acquisition interface, a first reference image corresponding to the reference image selection operation is determined among the at least one reference images.
[0198] According to one or more embodiments of this disclosure, Example 9 describes the method according to Example 8, wherein the image acquisition interface includes a shooting interface, the first image content includes content to be shot within the current shooting range, and the step of displaying at least one reference image in the image acquisition interface in response to a reference image display operation performed on the image acquisition interface includes:
[0199] In response to a reference image display operation performed on the image acquisition interface, at least one shooting effect is displayed on the image acquisition interface, the at least one shooting effect including a first shooting effect;
[0200] In response to a second trigger operation for the first shooting effect, at least one reference image corresponding to the first shooting effect is displayed in the image acquisition interface.
[0201] According to one or more embodiments of this disclosure, Example 10, based on the method of Example 1, the step of displaying first image content in response to an emoticon acquisition operation based on an interactive interface includes:
[0202] The interactive interface displays interactive information, the content of which includes a second emoticon, which is generated using a first reference image.
[0203] In response to the emoji acquisition operation based on the second emoji, the image acquisition interface is displayed;
[0204] A preview of the first image content is displayed on the image acquisition interface.
[0205] According to one or more embodiments of this disclosure, Example 11, according to any one of Examples 1-10, the step of obtaining the first emoticon generated using the image frame with the content of the second image as the emoticon frame includes:
[0206] In response to an emoji sending operation for the second image content, a first emoji is generated using an image frame with the second image content as the emoji frame, and the first emoji is sent in the interactive interface; and / or
[0207] In response to the emoticon addition operation for the second image content, a first emoticon is generated using the image frame of the second image content as the emoticon frame, and the first emoticon is added to the current user's emoticon set.
[0208] According to one or more embodiments of this disclosure, Example 12, based on the method of Example 11, the step of sending the first emoticon in the interactive interface includes at least one of the following:
[0209] The first emoticon is sent in the form of interactive information in the interactive interface, wherein the interactive information includes conversation information and / or comment information;
[0210] The first emoticon sent is displayed in the interactive information display area of the interactive interface.
[0211] According to one or more embodiments of this disclosure, Example 13, based on any one of Examples 1-10, further includes:
[0212] In response to a media content publishing operation for the second image content, media content generated based on the second image content is published.
[0213] According to one or more embodiments of this disclosure, Example 14 describes the method according to any one of Examples 1-10, wherein the first part includes a face, and / or the first reference image includes an emoji generation template.
[0214] According to one or more embodiments of this disclosure, Example 15 provides an emoji acquisition device, including:
[0215] The first image display module is used to respond to the emoticon acquisition operation based on the interactive interface and display the first image content, in which the first image content presents a picture of the first part of the first object;
[0216] An image generation module is configured to, in response to an image generation operation for the first image content, trigger the fusion of a first part of the first object and a first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image;
[0217] The second image display module is used to display the content of the second image on the first interface;
[0218] The emoticon acquisition module is used to acquire an image frame using the content of the second image as the emoticon frame to generate a first emoticon.
[0219] According to one or more embodiments of this disclosure, Example 16 provides an electronic device comprising:
[0220] One or more processors;
[0221] Memory, used to store one or more programs.
[0222] When the one or more programs are executed by the one or more processors, the one or more processors implement the emoji acquisition method as described in any of Examples 1-14.
[0223] According to one or more embodiments of the present disclosure, Example 17 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements a method for acquiring emojis as described in any of Examples 1-14.
[0224] According to one or more embodiments of this disclosure, Example 18 provides a computer program product that, when executed by a computer, causes the computer to implement the method for acquiring emojis as described in any of Examples 1-14.
[0225] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0226] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0227] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for obtaining emojis, comprising: In response to an emoticon acquisition operation based on an interactive interface, a first image content is displayed, in which a first part of a first object is presented; In response to an image generation operation for the first image content, a second image content is generated by fusing a first part of the first object with a first reference image, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image. The content of the second image is displayed on the first interface; The first emoticon is generated by using the image content of the second image as the emoticon image.
2. The method according to claim 1, wherein the first portion of the second object in the second image content is generated based on the first portion of the first object and the first portion of the third object in the first reference image, comprising: The shape of the first part of the second object in the second image content is related to the shape of the first part of the first object in the first image content; The pose of the first part of the second object in the second image content is associated with the pose of the first part of the third object in the first reference image.
3. The method according to claim 1, wherein in response to an image generation operation for the first image content, triggering the generation of second image content based on the fusion of a first part of the first object and a first reference image includes: In response to an image generation operation for the content of the first image, at least one reference image is displayed on the first interface; In response to a first triggering operation on a first reference image in the at least one reference image, a second image content is generated by triggering the fusion of a first part of the first object with the first reference image.
4. The method of claim 3, wherein displaying at least one reference image in the first interface includes at least one of the following: At least one reference image is displayed in the first interface; At least one associated reference image of the content of the first image is displayed in the first interface, wherein, The associated reference image is determined based on the content of the first image and / or the second reference image used for the content of the first image; The first interface displays at least one reference image uploaded by the current user.
5. The method according to claim 3, wherein displaying the first image content in response to an emoticon acquisition operation based on an interactive interface includes: Display the interactive interface; In response to the emoticon acquisition operation based on the interactive interface, an image acquisition interface is displayed; In response to an image acquisition operation performed within the image acquisition interface, first image content determined based on the original image content in the image acquisition interface is acquired, and the first image content is displayed in the first interface.
6. The method according to claim 5, wherein acquiring first image content determined based on the original image content in the image acquisition interface in response to an image acquisition operation performed within the image acquisition interface comprises: In response to a first image acquisition operation performed within the image acquisition interface, the original image content in the image acquisition interface is acquired and used as the first image content. or In response to a second image acquisition operation performed within the image acquisition interface, first image content generated based on the original image content and the second reference image in the image acquisition interface is acquired.
7. The method according to claim 1, wherein displaying the first image content in response to an emoticon acquisition operation based on an interactive interface includes: Display the interactive interface; In response to the emoticon acquisition operation based on the interactive interface, an image acquisition interface is displayed; A preview of the first image content is displayed on the image acquisition interface.
8. The method according to claim 7, further comprising: In response to a reference image display operation performed on the image acquisition interface, at least one reference image is displayed on the image acquisition interface; In response to a reference image selection operation performed on the image acquisition interface, a first reference image corresponding to the reference image selection operation is determined among the at least one reference images.
9. The method according to claim 8, wherein the image acquisition interface includes a shooting interface, the first image content includes the content to be shot within the current shooting range, and the step of displaying at least one reference image in the image acquisition interface in response to a reference image display operation performed on the image acquisition interface includes: In response to a reference image display operation performed on the image acquisition interface, at least one shooting effect is displayed on the image acquisition interface, the at least one shooting effect including a first shooting effect; In response to a second trigger operation for the first shooting effect, at least one reference image corresponding to the first shooting effect is displayed in the image acquisition interface.
10. The method of claim 1, wherein displaying the first image content in response to an emoticon acquisition operation based on an interactive interface includes: The interactive interface displays interactive information, the content of which includes a second emoticon, which is generated using a first reference image. In response to the emoji acquisition operation based on the second emoji, the image acquisition interface is displayed; A preview of the first image content is displayed on the image acquisition interface.
11. The method according to any one of claims 1-10, wherein obtaining the first emoticon generated using the image frame with the content of the second image as the emoticon frame comprises: In response to the emoticon sending operation for the second image content, a first emoticon is generated using the image frame of the second image content as the emoticon frame, and the first emoticon is sent in the interactive interface; and / or In response to the emoticon addition operation for the second image content, a first emoticon is generated using the image frame of the second image content as the emoticon frame, and the first emoticon is added to the current user's emoticon set.
12. The method of claim 11, wherein sending the first emoticon in the interactive interface comprises at least one of the following: The first emoticon is sent in the form of interactive information in the interactive interface, wherein, The interactive information includes session information and / or comment information; The first emoticon sent is displayed in the interactive information display area of the interactive interface.
13. The method according to any one of claims 1-10, further comprising: In response to a media content publishing operation for the second image content, media content generated based on the second image content is published.
14. The method according to any one of claims 1-10, wherein the first part includes a face, and / or the first reference image includes an emoji generation template.
15. A device for acquiring emojis, comprising: The first image display module is used to respond to the emoticon acquisition operation based on the interactive interface and display the first image content, in which the first image content presents a picture of the first part of the first object; An image generation module is configured to, in response to an image generation operation for the first image content, trigger the fusion of a first part of the first object and a first reference image to generate second image content, wherein the first part of the second object in the second image content is generated based on the first part of the first object and the first part of the third object in the first reference image; The second image display module is used to display the content of the second image on the first interface; The emoticon acquisition module is used to acquire an image frame using the content of the second image as the emoticon frame to generate a first emoticon.
16. An electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for obtaining emojis according to any one of claims 1-14.
17. A computer-readable storage medium storing computer instructions for causing a processor to execute the method for acquiring emojis according to any one of claims 1-14.
18. A computer program product comprising a computer program that, when executed by a processor, implements the method for acquiring emojis according to any one of claims 1-14.