Method and device for generating virtual resources, equipment and storage medium
By providing an entrance to generate virtual resources in the application platform and generating virtual resources based on user's live broadcast content, the problem that users cannot customize virtual resources is solved, and the efficiency and quality of virtual resources are improved.
Patent Information
- Application Number
- CN202411054847.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-19
AI Technical Summary
In the prior art, users can only use preset virtual resources to interact in the application platform, and cannot meet the user's personalized interaction needs. Users hope to be able to create customized virtual resources in the application platform.
By presenting a target portal for generating a virtual resource, in response to user selection, a target virtual resource associated with the user is provided. The visual content of the target virtual resource is generated based on the reference visual content determined by the user in the live broadcast content within the preset period.
It realizes the entry for users to generate virtual resources based on configuration operations, improves the efficiency and quality of virtual resources generation, and meets the user's personalized interaction needs.
Smart Images

Figure CN118984402A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for generating virtual resources. Background Art
[0002] In recent years, with the development of the Internet, more and more users use virtual resources in application platforms for interactive activities. However, in the existing interaction process, users can only use the virtual resources preset in the application platform for interaction, which cannot meet the interaction needs of users. Users expect to create virtual resources in the application platform. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for generating virtual resources is provided, comprising: presenting a target entrance for generating virtual resources; and providing a target virtual resource in response to a user's selection of the target entrance, wherein the target virtual resource includes a target visual content associated with the user, the target visual content being generated based on a reference visual content, and the reference visual content being determined based on live content of the user within a preset time period.
[0004] In a second aspect of the present disclosure, a device for generating a virtual resource is provided. The device includes: a presentation module configured to present a target portal for generating a virtual resource; and a providing module configured to provide a target virtual resource in response to a user's selection of the target portal, wherein the target virtual resource includes a target visual content associated with the user, the target visual content is generated based on a reference visual content, and the reference visual content is determined based on live content of the user within a preset period of time.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect or the second aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect or the second aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0010] Figure 2 A flowchart illustrating an example process of generating virtual resources according to some embodiments of the present disclosure;
[0011] FIG. 3A to FIG. 3D shows an example interface according to some embodiments of the present disclosure;
[0012] Figure 4 A flowchart showing an example process of generating virtual resources according to still other embodiments of the present disclosure;
[0013] Figure 5 A schematic structural block diagram showing an example apparatus for content search according to some embodiments of the present disclosure; and
[0014] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0016] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0019] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0020] As mentioned above, with the development of the Internet, more and more users use virtual resources in application platforms for interactive activities. However, in the existing interaction process, users can only use the virtual resources preset in the application platform for interaction, which cannot meet the user's interaction needs. Users expect to create virtual resources in the application platform based on their own configuration operations.
[0021] The embodiment of the present disclosure proposes a scheme for generating virtual resources. According to the scheme, a target portal for generating virtual resources can be presented; and in response to a user's selection of the target portal, a target virtual resource is provided, the target virtual resource includes a target visual content associated with the user, the target visual content is generated based on a reference visual content, and the reference visual content is determined based on the live broadcast content of the user within a preset period of time.
[0022] In this way, the embodiments of the present disclosure can provide users with an entry for generating virtual resources, and can obtain reference visual content determined from the user's live content through the entry. Further, the embodiments of the present disclosure can generate target visual content and virtual resources containing the target visual content based on the reference visual content. Thus, the embodiments of the present disclosure can generate virtual resources based on the user's live content, improve the efficiency of generating virtual resources, and improve the quality of the generated virtual resources.
[0023] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.
[0024] Example Environment
[0025] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0026] In this example environment 100, the electronic device 110 may run an application 120 that supports interface interaction. The application 120 may be any appropriate type of application for interface interaction, examples of which may include, but are not limited to, live broadcast applications, social applications, or other appropriate applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0027] exist Figure 1 In the environment 100, 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.
[0028] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, 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 receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0029] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as 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 big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports interface interaction in the electronic device 110.
[0030] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0032] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0033] Generate virtual resources
[0034] Figure 2 FIG. 2 is a flowchart of an example process 200 for generating virtual resources according to some embodiments of the present disclosure. The process 200 may be implemented at the electronic device 110. Figure 1 The process 200 is described below.
[0035] like Figure 2 As shown, at block 210 , the electronic device 110 presents a target entry for generating a virtual resource.
[0036] The following will refer to FIG. 3A to FIG. 3D The process 200 is described below. FIG. 3A to FIG. 3D 300A to 300D according to some embodiments of the present disclosure are shown. The interfaces 300A to 300D may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.
[0037] In some embodiments, Figure 3AAs shown, the electronic device 110 may present a target interface 300A. As an example, the target interface 300A may be a live interface associated with a live broadcast. As an example, the electronic device 110 may present a configuration window 305 for generating a virtual resource in response to receiving a preset operation.
[0038] In some embodiments, continue to refer to Figure 3A , the electronic device 110 may present an example image 310 of the virtual resource in the configuration window 305. As an example, the example image 310 may indicate a visual style of the virtual resource, for example.
[0039] In some embodiments, continue to refer to Figure 3A , the electronic device 110 may present a setting control 310 for generating a virtual resource in the configuration window 305. Further, the electronic device 110 may present a target entry for generating a virtual resource in response to receiving a trigger (eg, a click operation) on the setting control 310.
[0040] In box 220, the electronic device 110 provides a target virtual resource in response to the user's selection of a target entrance, where the target virtual resource includes target visual content associated with the user, where the target visual content is generated based on reference visual content, and the reference visual content is determined based on the live content of the user within a preset time period.
[0041] In some embodiments, Figure 3B As shown, the electronic device 110 can present a target entry 320 for generating a virtual resource in the configuration window 305. As an example, the electronic device 110 can also preset visual content 325 (e.g., a first preset visual content 325-1 and a second preset visual content 325-2) in the configuration window 305. As an example, the electronic device 110 can use the preset visual content 205 as the target visual content based on the user's selection of the preset visual content 205 (e.g., a click operation or a long press operation), and trigger the server 130 to generate a 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.
[0042] In some embodiments, continue to refer to Figure 3B In response to receiving a user's request to delete the preset visual content 325 , the electronic device 110 may stop presenting the corresponding preset visual content 325 in the configuration window 305 .
[0043] In some embodiments, Figure 3C As shown, the electronic device 110 may present a create image control 330 and a select control 335 in response to receiving a user selection (eg, a click operation) for the target entry 320 .
[0044] In some embodiments, continue to refer to Figure 3C In response to receiving a trigger (e.g., a click operation) from a user to create an image control 330, the electronic device 110 may request the server 130 to generate target visual content based on the reference visual content determined from the live content of the user within a preset period of time. As an example, the live content of the user within the preset period of time may be live content of the preset period of time content provided by the user (e.g., historical live content within the preset period of time). As an example, the electronic device 110 may present the target visual content generated by the server 130 based on the reference visual content in the configuration window 305 (e.g., newly added as preset visual content 325).
[0045] It should be emphasized that the user-related information mentioned in this disclosure (including but not limited to live broadcast content) is obtained and used with the knowledge and authorization of the relevant users.
[0046] In some embodiments, continue to refer to Figure 3C , the electronic device 110 may present a set of preset visual contents in response to receiving a trigger (e.g., a click operation) on the selection control 335. As an example, the set of preset visual contents may be image contents (e.g., picture contents or video contents, etc.). Further, the electronic device 110 may provide the target preset visual contents as reference visual contents to the server 130 based on the user's selection of the target preset visual contents in the set of preset visual contents, so that the server 130 generates the target visual contents based on the reference visual contents.
[0047] In some embodiments, continue to refer to Figure 3C , the electronic device 110 may provide the target virtual resource generated by the server 130 based on the target visual content. As an example, the target virtual resource may include at least one of image content, video content, virtual expression resource (e.g., expression pack) and virtual gift resource (e.g., virtual gift for interaction in the live broadcast room).
[0048] In some embodiments, the electronic device 110 may trigger, in response to the target virtual resource being generated, to provide an interactive portal associated with the target virtual resource in a live broadcast interface associated with the user. As an example, the electronic device 110 may present an image logo and / or text logo associated with the target virtual resource in the interactive portal to indicate that the interactive portal is associated with the target virtual resource. As an example, the electronic device 110 may present an interactive portal associated with the target virtual resource in a virtual gift resource window or a virtual expression resource window associated with the live broadcast interface.
[0049] In some embodiments, the electronic device 110 can present the target virtual resource in a live broadcast interface associated with the user (including the live broadcast interface of the live broadcast party and the live broadcast interface of the audience side) in response to an interactive portal associated with the virtual resource being triggered (for example, receiving a click operation on the interactive portal from the audience side).
[0050] In some embodiments, Figure 3D As shown, the electronic device 110 can present the target virtual resource in the live broadcast interface of the live broadcast room in response to the interactive entrance associated with the virtual resource being triggered. As an example, the target virtual resource includes an interactive resource 340 for the live broadcast room associated with the user.
[0051] In some embodiments, the target virtual resource includes materials for generating interactive resources, that is, the target virtual resource can be used as materials for generating interactive resources. For example, the target virtual resource may include image materials for generating interactive resources. In some embodiments, in response to an interactive resource generation request, a selection panel is displayed, and the target virtual resource or the target virtual resource identifier is displayed on the selection panel, and in response to the selection of the target virtual resource or the target virtual resource identifier, the interactive resource is generated. Specifically, in the case where the target virtual resource includes image materials, the interactive resource is generated based on the target virtual resource including the image materials. Interactive resources 340 can be used to present an animation process associated with the target visual content in the live broadcast interface of the live broadcast room.
[0052] As an example, the animation process may include a preset special effect animation process of the target virtual resource and a presentation animation process associated with the target visual content. As an example, the presentation animation process of the target visual content may 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 to the associated visual content.
[0053] Based on the interaction process described above, the embodiments of the present disclosure can provide users with an entry for generating virtual resources, and provide target virtual resources generated based on the user's configuration operations. Therefore, the embodiments of the present disclosure can provide users with a way to generate virtual resources, satisfying the user's need to create virtual resources based on configuration operations.
[0054] Example generation process
[0055] The specific generation process of virtual resources will be further introduced below. Figure 4 FIG. 4 is a flowchart showing an example process 400 for generating virtual resources according to some other embodiments of the present disclosure. The process 400 may be implemented at the server 130. Figure 1 4. The process 400 is described below.
[0056] like Figure 4As shown, in box 410, the server 130 can determine a group of candidate visual content associated with the user from the live content. As an example, the server 130 can determine a group of candidate image frames that meet preset conditions from multiple image frames of the live content. The server 130 can use a group of candidate image frames as a group of candidate visual content. As an example, the preset condition can be to contain portrait content. As an example, the server 130 can also use an image processing model to filter out a group of candidate image frames containing portrait content from multiple image frames. The electronic device 110 can also remove the same or similar parts of the candidate image frames in a group of candidate image frames to determine a group of candidate visual content. As an example, the image processing model can be implemented as a machine learning model with the ability to obtain image content containing portraits based on visual content. The present disclosure is not intended to limit the specific content and training process of the image processing model.
[0057] At block 420 , the server 130 may determine rating information for a set of candidate visual content.
[0058] In some embodiments, the process by which the server 130 determines the evaluation information of a set of candidate visual content may include: identifying a set of key points associated with the user from the target candidate visual content. As an example, the target candidate visual content may be any candidate visual content in a set of candidate visual content. As an example, the server 130 may use an image recognition model to identify a set of key points associated with the user from the target candidate visual content. As an example, the image processing model may be implemented as a machine learning model having the ability to identify key points based on visual content. The present disclosure is not intended to limit the specific content and training process of the image recognition model.
[0059] In some embodiments, the process of server 130 determining evaluation information of a set of candidate visual contents may further include: determining evaluation information of target candidate visual contents based on a set of key points.
[0060] In some embodiments, the set of candidate visual content may include a facial object associated with the user. In some embodiments, server 130 may determine a set of display parameters of the facial object in the target candidate visual content based on a set of key points.
[0061] In some embodiments, a set of display parameters may include at least one of: a display direction of the facial object, an occlusion ratio of the facial object, a display ratio of the facial object in the corresponding image frame, and an action state of the facial object.
[0062] In some embodiments, server 130 may determine evaluation information of target candidate visual content based on a set of display parameters. As an example, each display parameter may correspond to a score. Evaluation information (e.g., evaluation score) of the target candidate visual content may be determined based on the corresponding score of a set of display parameters.
[0063] In box 430, the server 130 may determine the reference visual content from a set of candidate visual content based on the evaluation information of the set of candidate visual content. As an example, the server may use the candidate visual content whose evaluation score corresponding to the evaluation information meets the threshold as the reference visual content based on the evaluation information of a set of candidate content. As an example, if there are at least two candidate visual contents whose evaluation information meets the threshold, the candidate visual content with the highest evaluation score corresponding to the evaluation information is determined from the at least two candidate visual contents as the reference visual content. This disclosure is not intended to limit the specific value of the threshold.
[0064] In some embodiments, the process of server 130 generating the target virtual resource may include: generating the image data of the user based on the reference image content. Further, server 130 may provide the image data and preset prompt items to the target model. As an example, the preset prompt item may be the description information for the target virtual resource to be generated. As an example, the description information may indicate the animation process of the target virtual resource and / or the association relationship with the image data.
[0065] In some embodiments, the process of the server 130 generating the target virtual resource may further include: the server 130 may obtain the output result of the target model based on the image data and the preset prompt items to generate the target virtual resource.
[0066] As an example, the target virtual resource may be video content, and the server 130 may directly use the output result of the target model as the target virtual resource.
[0067] As an example, the target virtual resource may include an interactive resource. The interactive resource may include an animation process associated with the target visual content presented in the live broadcast interface of the live broadcast room, and a static representation (e.g., an image representation and / or a text representation) presented in the interactive portal. The server may generate a target virtual resource including the interactive resource based on the output result of the target model.
[0068] As an example, the target model may be a generative model that outputs an output result associated with the target virtual resource based on the image data and the preset prompt item. The present disclosure is not intended to limit the specific content and training process of the target model.
[0069] Based on the generation process described above, the embodiment of the present disclosure generates virtual resources based on the live content within a preset time period provided by the user. Therefore, the embodiment of the present disclosure can quickly generate virtual resources for the 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.
[0070] Example devices and equipment
[0071] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an apparatus 500 for content search according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware or any combination thereof.
[0072] like Figure 5 As shown, the device 500 includes a presentation module 510, configured to present a target entrance for generating virtual resources; and a providing module 520, configured to provide a target virtual resource in response to a user's selection of the target entrance, wherein the target virtual resource includes a target visual content associated with the user, the target visual content is generated based on a reference visual content, and the reference visual content is determined based on the live content of the user within a preset time period.
[0073] In some embodiments, the apparatus 500 further includes a trigger module, which is configured to: in response to the target virtual resource being generated, trigger the provision of an interactive entry associated with the target virtual resource in a live broadcast interface associated with the user.
[0074] In some embodiments, the target virtual resource includes an interactive resource for a live broadcast room associated with the user, or the target virtual resource is used to generate an interactive resource, and the interactive resource is used to present an animation process associated with the target visual content in the live broadcast interface of the live broadcast room.
[0075] In some embodiments, the reference visual content is determined based on the following process: 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.
[0076] In some embodiments, determining evaluation information of a set of candidate visual contents includes: identifying a set of key points associated with the user from the target candidate visual contents; and determining evaluation information of the target candidate visual contents based on the set of key points.
[0077] In some embodiments, a set of candidate visual content includes a facial object associated with a user, and determining evaluation information of the target candidate visual content based on a set of key points includes: determining a set of display parameters of the facial object in the target candidate visual content based on the set of key points; and determining evaluation information of the target candidate visual content based on the set of display parameters.
[0078] In some embodiments, a set of display parameters includes at least one of the following: a display direction of the facial object; an occlusion ratio of the facial object; a display ratio of the facial object in the corresponding image frame; and an action state of the facial object.
[0079] In some embodiments, the target virtual resource is generated based on the following process: generating image data of the user based on the reference image content; providing the image data and preset prompt items to the target model; and generating the target virtual resource based on the output result of the target model.
[0080] Figure 6 1 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to implement Figure 1 An electronic device 110.
[0081] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, 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 processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.
[0082] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 600.
[0083] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0084] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0085] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0086] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0087] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0088] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0089] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0090] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0091] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for generating a virtual resource, comprising: Presenting a target entry for generating a virtual resource; as well as In response to the user's selection of the target entrance, a target virtual resource is provided, wherein the target virtual resource includes target visual content associated with the user, wherein the target visual content is generated based on reference visual content, and wherein the reference visual content is determined based on the live content of the user within a preset time period.
2. The method according to claim 1, further comprising: In response to the target virtual resource being generated, a trigger is provided in a live broadcast interface associated with the user, providing an interactive entrance associated with the target virtual resource.
3. The method according to claim 1, wherein the target virtual resource includes an interactive resource in a live broadcast room associated with the user, or the target virtual resource is used to generate the interactive resource, and the interactive resource is used to present an animation process associated with the target visual content in the live broadcast interface of the live broadcast room.
4. The method of claim 1, wherein the reference visual content is determined based on the following process: Determining a set of candidate visual content associated with the user from the live content; determining evaluation information of the set of candidate visual contents; as well as The reference visual content is determined 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 key points associated with the user from the target candidate visual content; as well as Based on the set of key points, the evaluation information of the target candidate visual content is determined.
6. The method of claim 5, wherein the set of candidate visual content includes a facial object associated with the user, and the evaluation information for determining the target candidate visual content based on the set of key points includes: Based on the set of key points, determining a set of display parameters of the facial object in the target candidate visual content; as well as Based on the set of display parameters, the evaluation information of the target candidate visual content is determined.
7. The method according to claim 6, wherein the set of display parameters comprises at least one of the following: a display direction of the facial object; An occlusion ratio of the facial object; The display ratio of the facial object in the corresponding image frame; The action state of the facial object.
8. The method according to claim 1, wherein the target virtual resource is generated based on the following process: generating image data of the user based on the reference image content; Providing the image data and preset prompt items to the target model; as well as The target virtual resource is generated based on the output result of the target model.
9. A device for generating virtual resources, comprising: A presentation module, configured to present a target entry for generating a virtual resource; as well as A providing module is configured to provide a target virtual resource in response to a user's selection of the target entrance, wherein the target virtual resource includes a target visual content associated with the user, wherein the target visual content is generated based on a reference visual content, and wherein the reference visual content is determined based on the live content of the user within a preset time period.
10. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 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 virtual resource display method and device, electronic equipment, server and medium
CN116939275A
Live broadcast interaction method, apparatus and device, and computer readable storage medium
CN118283370A
Cited By
Method and apparatus for generating virtual resources, and device and storage medium
WO2026026818A1
