Method and apparatus for generating virtual resources, and device and storage medium
By providing an entry point for generating virtual resources within the application platform, and generating target visual content based on the user's live stream content, the problem of users being unable to customize virtual resources is solved, achieving efficient and personalized virtual resource generation.
Patent Information
- Application Number
- PCT/CN2025/111336
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-01
- Filing Date
- 2025-07-29
- Publication Date
- 2026-02-05
AI Technical Summary
In the existing interaction process, users can only use the virtual resources preset in the application platform, which cannot meet personalized interaction needs and cannot create custom virtual resources in the platform.
By presenting a target entry point for generating virtual resources, responding to user selections, and providing target virtual resources, which include target visual content associated with the user and generated based on reference visual content determined by the user's live stream content within a preset time period.
It improves the efficiency and quality of generating virtual resources, meets users' needs for custom virtual resources, and reduces the difficulty of creation.
Smart Images

Figure CN2025111336_05022026_PF_FP_ABST
Abstract
Description
Method, device, apparatus and storage medium for generating virtual resource
[0001] The present application claims priority to the Chinese Patent Application No. 202411054847.8, filed on August 01, 2024, and entitled "Method, device, apparatus and storage medium for generating virtual resource", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, device, apparatus and computer readable storage medium for generating virtual resource. BACKGROUND
[0003] In recent years, with the development of the Internet, more and more users use virtual resources in application platforms to interact. However, in the existing interaction process, users can only use the preset virtual resources in the application platform to interact, which cannot meet the user's interaction needs. Users expect to be able to create virtual resources in the application platform. SUMMARY
[0004] In a first aspect of the present disclosure, a method for generating a virtual resource is provided, comprising: presenting a target entry for generating a virtual resource; and in response to a user's selection of the target entry, providing a target virtual resource, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content, the reference visual content being determined based on the user's live content within a preset time period.
[0005] In a second aspect of the present disclosure, an apparatus for generating a virtual resource is provided. The apparatus comprises: a presentation module configured to present a target entry for generating a virtual resource; and a providing module configured to, in response to a user's selection of the target entry, provide a target virtual resource, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content, the reference visual content being determined based on the user's live content within a preset time period.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has stored thereon computer executable instructions executable by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer- executable instructions that, when executed by a device, cause the device to perform the method according to the first aspect.
[0009] It should be understood that all statements herein made regarding the exemplary embodiments of the present disclosure are intended to encompass both structural and functional equivalents thereof. Additionally, it should be understood that although the exemplary embodiments of the present disclosure have been specifically illustrated and described, various modifications and changes can be made without departing from the scope of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects and advantages of embodiments of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like reference numerals refer to like elements, wherein:
[0011] FIG. 1 illustrates a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0012] FIG. 2 illustrates a flowchart of an example process of generating a virtual resource according to some embodiments of the present disclosure;
[0013] FIGS. 3A-3D illustrate example interfaces according to some embodiments of the present disclosure;
[0014] FIG. 4 illustrates a flowchart of an example process of generating a virtual resource according to yet other embodiments of the present disclosure;
[0015] FIG. 5 illustrates a schematic structural block diagram of an example apparatus for content search according to some embodiments of the present disclosure; and
[0016] FIG. 6 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the present disclosure are shown. Like numbers refer to like elements throughout. The present disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the present disclosure to those skilled in the art.
[0018] It should be noted that the titles of any sections / sub-sections provided herein are not limiting. Various embodiments are described throughout this document and any type of embodiment can be included under any section / sub-section. Furthermore, embodiments described in any section / sub-section can be combined with any other embodiments described in the same section / sub-section and / or different section / sub-section in any manner.
[0019] In the description of embodiments of the disclosure, the term "includes" and its conjugates are open-ended, meaning "including but not limited to". The term "based on" is intended to mean "based, at least in part, on" The term "one embodiment" or "an embodiment" means "at least one embodiment". The term "some embodiments" means "at least some embodiments". Other explicit or implicit definitions can also be included below. The terms "first", "second", etc. can refer to different or the same objects. Other explicit and implicit definitions can also be included below.
[0020] Data related to users, acquisition and / or use of data, etc. can be involved in embodiments of the disclosure. These aspects all comply with the corresponding laws and regulations and relevant provisions. In embodiments of the disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware and confirms. Accordingly, when implementing various embodiments of the disclosure, the type of data or information that can be involved, the scope of use, the use scenario, etc. should be notified to the user and authorized by the user according to the relevant laws and regulations through appropriate means. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the disclosure is not limited in this regard.
[0021] In the specification and embodiments of the present disclosure, if personal information processing is involved, it will be processed on the premise of legality (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the scope of the provisions or agreements. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.
[0022] As mentioned above, with the development of the Internet, more and more users use virtual resources in application platforms to interact. However, in the existing interaction process, users can only use the preset virtual resources in the application platform to interact, which cannot meet the user's interaction needs. Users expect to be able to create virtual resources based on their own configuration operations in the application platform.
[0023] Embodiments of the present disclosure propose a scheme for generating a virtual resource. According to the scheme, a target entry for generating a virtual resource can be presented; and in response to a selection of the target entry by a user, a target virtual resource is provided, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content determined based on live content of the user within a preset time period.
[0024] In this way, embodiments of the present disclosure can provide an entry for generating a virtual resource for a user, and can obtain reference visual content determined from live content of the user through the entry. Further, embodiments of the present disclosure can generate target visual content based on the reference visual content and a virtual resource containing the target visual content. Thus, embodiments of the present disclosure can generate a virtual resource based on live content of a user, improving the efficiency of generating a virtual resource and improving the quality of the generated virtual resource.
[0025] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0026] Example Environment
[0027] FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0028] In this example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a live application, a social application, or other suitable application. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0029] In the environment 100 of FIG. 1, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.
[0030] In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services of the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media player, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) terminal, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an accessory or peripheral device for any of the foregoing, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to a user (such as “wearable” circuitry, etc.).
[0031] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports interface interaction.
[0032] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0033] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0035] Generating virtual resources
[0036] FIG. 2 illustrates a flowchart of an example process 200 of generating a virtual resource, according to some embodiments of the present disclosure. The process 200 can be implemented at the electronic device 110. The process 200 is described below with reference to FIG. 1.
[0037] As shown in FIG. 2, at block 210, the electronic device 110 presents a target entry for generating a virtual resource.
[0038] The process 200 will be described below with reference to FIGS. 3A-3D. FIGS. 3A-3D illustrate example interfaces 300A-300D, according to some embodiments of the present disclosure. The interfaces 300A-300D may, for example, be provided by the electronic device 110 shown in FIG. 1.
[0039] In some embodiments, as shown in FIG. 3A, the electronic device 110 can present a target interface 300A. As an example, the target interface 300A may, for example, be a live interface associated with a live broadcast. As an example, the electronic device 110 can present a configuration window 305 for generating a virtual resource in response to receiving a preset operation.
[0040] In some embodiments, with continued reference to FIG. 3A, the electronic device 110 can present an example image 310 of the virtual resource in the configuration window 305. As an example, the example image 310 may, for example, indicate a visual style of the virtual resource.
[0041] In some embodiments, with continued reference to FIG. 3A, the electronic device 110 can present a setting control 310 for generating the virtual resource in the configuration window 305. Further, the electronic device 110 can present a target entry for generating the virtual resource in response to receiving a trigger (e.g., a click operation) on the setting control 310.
[0042] At block 220, the electronic device 110 provides a target virtual resource in response to a selection of the target entry by the user, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content, the reference visual content being determined based on live content of the user within a preset time period.
[0043] In some embodiments, as shown in FIG. 3B, the electronic device 110 can present a target entry 320 of generating a virtual resource in the configuration window 305. As an example, the electronic device 110 can also preset visual content 325 (e.g., first preset visual content 325-1 and second preset visual content 325-2) in the configuration window 305. As an example, the electronic device 110 can target the preset visual content 205 as the target visual content based on the user’s selection (e.g., a click operation or a long press operation) of the preset visual content 205, and trigger the server 130 to generate the target virtual resource based on the target visual content. As an example, the preset visual content 325 can be the target visual content previously generated by the user based on the target entry 320.
[0044] In some embodiments, with continued reference to FIG. 3B, the electronic device 110 can stop presenting the corresponding preset visual content 325 in the configuration window 305 in response to receiving a user’s deletion request for the preset visual content 325.
[0045] In some embodiments, as shown in FIG. 3C, the electronic device 110 can present a creation avatar control 330 and a selection control 335 in response to receiving a user’s selection (e.g., a click operation) of the target entry 320.
[0046] In some embodiments, with continued reference to FIG. 3C, the electronic device 110 can request the server 130 to generate the target visual content based on reference visual content determined from the user’s live content within a preset time period in response to receiving a user’s triggering (e.g., a click operation) of the creation avatar control 330, so that the server 130 generates the target visual content based on the reference visual content. As an example, the user’s live content within the preset time period can be live content of the preset time period content provided by the user (e.g., historical live content within the preset time period). As an example, the electronic device 110 can present the target visual content generated by the server 130 based on the reference visual content (e.g., added as the preset visual content 325) in the configuration window 305.
[0047] It is emphasized that the information related to the user mentioned in the present disclosure (including but not limited to live content) is acquired and used with the knowledge and authorization of the relevant user.
[0048] In some embodiments, with continued reference to FIG. 3C, the electronic device 110 can present a set of preset visual content in response to receiving a trigger (e.g., a click operation) on the selection control 335. As an example, the set of preset visual content can be image content (e.g., picture content or video content, etc.). Further, the electronic device 110 can provide, to the server 130, a target preset visual content from the set of preset visual content as a reference visual content based on a user selection of the target preset visual content, so that the server 130 generates a target visual content based on the reference visual content.
[0049] In some embodiments, with continued reference to FIG. 3C, the electronic device 110 can provide a target virtual resource generated by the server 130 based on the target visual content. As an example, the target virtual resource can include at least one of image content, video content, a virtual expression resource (e.g., an emoticon), and a virtual gift resource (e.g., a virtual gift for interaction in a live streaming room).
[0050] In some embodiments, the electronic device 110 can trigger, in response to the target virtual resource being generated, a presentation of an interaction entry associated with the target virtual resource in a live streaming interface associated with the user. As an example, the electronic device 110 can present, in the interaction entry, an image identifier and / or a text identifier associated with the target virtual resource to indicate that the interaction entry is associated with the target virtual resource. As an example, the electronic device 110 can present the interaction entry associated with the target virtual resource in a virtual gift resource window or a virtual expression resource window associated with the live streaming interface.
[0051] In some embodiments, the electronic device 110 can present, in response to the interaction entry associated with the virtual resource being triggered (e.g., receiving a click operation on the interaction entry from the audience side), the target virtual resource in a live streaming interface associated with the user (including a live streaming interface of a live streaming party and a live streaming interface of the audience side).
[0052] In some embodiments, as shown in FIG. 3D, the electronic device 110 can present, in response to the interaction entry associated with the virtual resource being triggered, the target virtual resource in a live streaming interface of a live streaming room. As an example, the target virtual resource includes an interaction resource 340 for the live streaming room associated with the user.
[0053] In some embodiments, the target virtual resource includes a material for generating the interactive resource, i.e., the target virtual resource can be used as a material for generating the interactive resource. For example, the target virtual resource can include an image material for generating the interactive resource. In some embodiments, in response to the interactive resource generation request, a selection panel is displayed, the selection panel displays the target virtual resource or an identifier of the target virtual resource, and in response to a selection of the target virtual resource or the identifier of the target virtual resource, the interactive resource is generated. Specifically, in the case where the target virtual resource includes an image material, the interactive resource is generated based on the target virtual resource including the image material. The interactive resource 340 can be used to present an animation process associated with the target visual content in the live interface of the live room.
[0054] For example, the animation process can include a preset special effect animation process of the target virtual resource and a presentation animation process associated with the target visual content. For example, the presentation animation process of the target visual content can include a presentation animation process of the target visual content from nothing to something and / or a transition animation process of the target visual content transitioning into the associated visual content.
[0055] Based on the above-described interaction process, embodiments of the present disclosure can provide an entry for users to generate virtual resources and provide target virtual resources generated based on the configuration operations of the users. Therefore, embodiments of the present disclosure can provide a way for users to generate virtual resources, meeting the needs of users to create virtual resources based on configuration operations.
[0056] Example generation process
[0057] The specific generation process of the virtual resource will be further introduced below. FIG. 4 shows a flowchart of an example process 400 of generating a virtual resource according to yet some embodiments of the present disclosure. The process 400 can be implemented at the server 130. The process 400 will be described below with reference to FIG. 1.
[0058] As shown in FIG. 4, at block 410, the server 130 can determine a set of candidate visual contents associated with the user from the live content. For example, the server 130 can determine a set of candidate image frames satisfying a preset condition from a plurality of image frames of the live content. The server 130 can determine the set of candidate image frames as a set of candidate visual contents. For example, the preset condition can be to contain human image content. For example, the server 130 can also use an image processing model to screen a set of candidate image frames containing human image content from the plurality of image frames. The electronic device 110 can also remove some candidate image frames that are the same or similar in the set of candidate image frames to determine a set of candidate visual contents. For example, the image processing model can be implemented as a machine learning model with the ability to obtain image content containing human images based on visual content. The present disclosure does not intend to limit the specific content and training process of the image processing model.
[0059] At block 420, the server 130 can determine evaluation information of the set of candidate visual contents.
[0060] In some embodiments, the process of determining the evaluation information of the set of candidate visual contents by the server 130 can include identifying a set of keypoints associated with the user from the target candidate visual content. As an example, the target candidate visual content can be any candidate visual content in the set of candidate visual contents. As an example, the server 130 can utilize an image recognition model to identify the set of keypoints associated with the user from the target candidate visual content. As an example, the image processing model can be implemented as a machine learning model with the capability of identifying keypoints based on visual contents. The present disclosure does not intend to limit the specific content and training process of the image recognition model.
[0061] In some embodiments, the process of determining the evaluation information of the set of candidate visual contents by the server 130 can further include determining the evaluation information of the target candidate visual content based on the set of keypoints.
[0062] In some embodiments, the set of candidate visual contents can include a face object associated with the user. In some embodiments, the server 130 can determine a set of display parameters of the face object in the target candidate visual content based on the set of keypoints.
[0063] In some embodiments, the set of display parameters can include at least one of a display direction of the face object, an occlusion ratio of the face object, a display ratio of the face object in the corresponding image frame, and a motion state of the face object.
[0064] In some embodiments, the server 130 can determine the evaluation information of the target candidate visual content based on the set of display parameters. As an example, each display parameter can correspond to a score. The evaluation information (e.g., evaluation score) of the target candidate visual content can be determined based on the corresponding scores of the set of display parameters.
[0065] At block 430, the server 130 can determine the reference visual content from the set of candidate visual contents based on the evaluation information of the set of candidate visual contents. As an example, the server can determine the candidate visual content with the evaluation score corresponding to the evaluation information satisfying a threshold as the reference visual content based on the evaluation information of the set of candidate contents. As an example, if there are at least two candidate visual contents with the evaluation information satisfying the threshold, the server can determine the candidate visual content with the highest evaluation score corresponding to the evaluation information from the at least two candidate visual contents as the reference visual content. The present disclosure does not intend to limit the specific numerical value of the threshold.
[0066] In some embodiments, the process of generating the target virtual resource by the server 130 can include: generating the image data of the user based on the reference image content. Further, the server 130 can provide the image data and the preset prompt item to the target model. As an example, the preset prompt item can be description information for the target virtual resource to be generated. As an example, the description information can indicate an animation process of the target virtual resource and / or an association with the image data.
[0067] In some embodiments, the process of generating the target virtual resource by the server 130 can further include: the server 130 can obtain an output result output by the target model based on the image data and the preset prompt item, and generate the target virtual resource.
[0068] As an example, the target virtual resource can be video content, and the server 130 can directly take the output result of the target model as the target virtual resource.
[0069] As an example, the target virtual resource can include an interactive resource. The interactive resource can include an animation process for presenting in a live interface of a live room associated with the target visual content, and a static representation (e.g., an image representation and / or a text representation) presented in an interactive entrance. The server can generate the target virtual resource including the interactive resource based on the output result of the target model.
[0070] As an example, the target model can be a generative model capable of outputting an output result associated with the target virtual resource based on the image data and the preset prompt item. The present disclosure does not intend to limit the specific content and training process of the target model.
[0071] Based on the above-described generation process, embodiments of the present disclosure generate virtual resources based on live content provided by a user within a preset time period. Therefore, embodiments of the present disclosure can quickly generate virtual resources for a user according to the live content of the user, reducing the difficulty of the user to create virtual resources and improving the efficiency of the user to create virtual resources.
[0072] Example apparatus and device
[0073] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above-described method or process. FIG. 5 shows a schematic structural block diagram of an apparatus 500 for content search according to certain embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0074] As shown in FIG. 5, the apparatus 500 includes a presentation module 510 configured to present a target entry for generating a virtual resource, and a providing module 520 configured to provide, in response to a selection of the target entry by a user, a target virtual resource, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content, the reference visual content being determined based on the user in a preset time period.
[0075] In some embodiments, the apparatus 500 further includes a triggering module configured to trigger, in response to the target virtual resource being generated, providing an interactive entry associated with the target virtual resource in a live interface associated with the user.
[0076] In some embodiments, the target virtual resource includes an interactive resource in a live room associated with the user, or the target virtual resource is used to generate an interactive resource, the interactive resource being used to present an animation process associated with the target visual content in a live interface of the live room.
[0077] In some embodiments, the reference visual content is determined based on a process including: determining a set of candidate visual content associated with the user from the live content; determining evaluation information of the set of candidate visual content; and determining the reference visual content from the set of candidate visual content based on the evaluation information of the set of candidate visual content.
[0078] In some embodiments, determining the evaluation information of the set of candidate visual content includes: identifying a set of keypoints associated with the user from the target candidate visual content; and determining the evaluation information of the target candidate visual content based on the set of keypoints.
[0079] In some embodiments, the set of candidate visual content includes a face object associated with the user, and determining the evaluation information of the target candidate visual content based on the set of keypoints includes: determining a set of display parameters of the face object in the target candidate visual content based on the set of keypoints; and determining the evaluation information of the target candidate visual content based on the set of display parameters.
[0080] In some embodiments, the set of display parameters includes at least one of: a display direction of the face object; an occlusion ratio of the face object; a display ratio of the face object in a corresponding image frame; and an action state of the face object.
[0081] In some embodiments, the target virtual resource is generated based on a process including: generating avatar data of the user based on the reference image content; providing the avatar data and a preset prompt item to a target model; and generating the target virtual resource based on an output result of the target model.
[0082] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the electronic device 110 of FIG. 1.
[0083] As illustrated in FIG. 6, the electronic device 600 is in the form of a general electronic device. Components of the electronic device 600 can include, but are not limited to, one or more processors 610 or processing units, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processor 610 can be a real or virtual processor and is capable of performing various processing according to programs stored in the memory 620. In a multi-processor system, multiple processors perform computer-executable instructions in parallel to improve parallel processing capabilities of the electronic device 600.
[0084] The electronic device 600 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 600 and includes both volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable media and can include machine-readable media such as a flash drive, a magnetic disk drive, or any other media that can be used to store information and / or data and that can be accessed by the electronic device 600.
[0085] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive for reading from or writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0086] The communication unit 640 enables communication through communication media with other electronic devices. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0087] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., through the communication unit 640, as necessary, with one or more devices that enable a user to interact with the electronic device 600, or with any device (e.g., a network card, a modem, etc.) that enables the electronic device 600 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0088] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.
[0089] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described below are diagrammatic and schematic representations of actual or conceptual structures and processes, and are not limiting of the scope of the present disclosure. In the drawings, the same reference numerals are used to represent similar or like items.
[0090] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium that can direct a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including a manufacture including instructions which implement aspects of the function / act specified in the flowchart and / or block diagram block or blocks.
[0091] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0092] The flow diagrams and block diagrams in the attached figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flow diagrams and block diagrams can represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logic functions (s). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations thereof, can be implemented by a dedicated hardware-based system that performs the specified functions or acts or combinations of
[0093] implementations have been described above, the description is intended to be illustrative, and not restrictive, and is not intended to exclude other implementations from the scope of the implementations disclosed herein. Many modifications and variations to the implementations described herein are possible and are within the scope of the implementations described herein. The order or sequence of any process or method can be different from that described. Any referenced method can include additional steps not included in the foregoing process or method. The inclusion of an additional step does not preclude the existence or potential of an additional step. Any process or method can include fewer than all the steps of any previously described process or method. Any previously described process or method can be modified to include additional steps. Any process or method can include steps in addition to those described. Any process or method can include steps that are not included in any previously described process or method. Any process or method can include steps that are performed in a different order than the order described. Any process or method can include steps that are performed concurrently, where appropriate. Any previously described process or method can be modified to include additional or different steps, or described steps can be modified.
Claims
1. A method for generating a virtual resource, comprising: presenting a target entry for generating a virtual resource; and in response to a selection of the target entry by a user, providing a target virtual resource, the target virtual resource comprising a target visual content associated with the user, the target visual content being generated based on a reference visual content determined based on live content of the user within a preset time period.
2. The method of claim 1, further comprising: in response to the target virtual resource being generated, triggering to provide an interactive entry associated with the target virtual resource in a live interface associated with the user.
3. The method of claim 1, wherein the target virtual resource comprises an interactive resource in a live room associated with the user, or the target virtual resource is used to generate the interactive resource, the interactive resource being used to present an animation process associated with the target visual content in a live interface of the live room.
4. The method of claim 1, wherein the reference visual content is determined based on a process comprising: determining a set of candidate visual contents associated with the user from the live content; determining evaluation information of the set of candidate visual contents; and determining the reference visual content from the set of candidate visual contents based on the evaluation information of the set of candidate visual contents.
5. The method of claim 4, wherein determining the evaluation information of the set of candidate visual contents comprises: identifying a set of keypoints associated with the user from a target candidate visual content; and determining the evaluation information of the target candidate visual content based on the set of keypoints.
6. The method of claim 5, wherein the set of candidate visual contents comprises a face object associated with the user, and determining the evaluation information of the target candidate visual content based on the set of keypoints comprises: determining a set of display parameters of the face object in the target candidate visual content based on the set of keypoints; and determining the evaluation information of the target candidate visual content based on the set of display parameters.
7. The method of claim 6, wherein the set of display parameters comprises at least one of: a display direction of the face object; an occlusion ratio of the face object; a display ratio of the face object in a corresponding image frame; an action state of the face object.
8. The method of claim 1, wherein the target virtual resource is generated based on a process comprising: generating avatar data of the user based on the reference image content; providing the avatar data and a preset prompt item to a target model; and generating the target virtual resource based on an output result of the target model.
9. An apparatus for generating a virtual resource, comprising: a presentation module configured to present a target entry for generating a virtual resource; and a generation module configured to, in response to a selection of the target entry by a user, provide a target virtual resource, the target virtual resource comprising a target visual content associated with the user, the target visual content being generated based on a reference visual content determined based on live content of the user within a preset time period. A providing module is configured to provide, in response to a selection of the target entry by a user, a target virtual resource, the target virtual resource including target visual content associated with the user, the target visual content being generated based on reference visual content, the reference visual content being determined based on live content of the user within a preset time period.
10. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1-8.
11. A computer-readable storage medium having computer-executable instructions stored thereon that are executable by a processor to implement the method according to any one of claims 1-8.
12. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-8.
Citation Information
Patent Citations
Virtual gift sending method, device and equipment and storage medium
CN111010585A
Virtual object generation method and device, equipment and storage medium
CN114025189A
Information display method, system and device, electronic equipment and storage medium
CN115314728A
Live broadcast interaction method, apparatus and device, and computer readable storage medium
CN118283370A
Method and device for generating virtual resources, equipment and storage medium
CN118984402A