Image processing method and device, equipment and storage medium

By automatically intercepting virtual objects to pick up virtual props in the game, the problem of manual screenshots is solved, and efficient image recording and sharing is achieved.

CN120508234APending Publication Date: 2025-08-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510909725.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

In the prior art, users need to manually take screenshots when obtaining virtual props in games, resulting in low image screening efficiency.

Method used

During the process of picking virtual props by virtual objects, the picture containing virtual objects and props is automatically intercepted, and the first clipped image is generated to reflect the state of the object holding the props.

Benefits of technology

Improve image interception efficiency, ensure the integrity of the content of the interception image, and meet the needs of users for sharing and showing off.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120508234A_ABST
    Figure CN120508234A_ABST
Patent Text Reader

Abstract

The invention discloses an image processing method and device, equipment and a storage medium, and relates to the technical field of computers and the Internet. The method comprises the following steps: displaying a virtual environment, wherein the virtual environment comprises a first virtual object and a first virtual item; in response to a pickup operation for the first virtual item, controlling the first virtual object to pick up the first virtual item; in the process that the first virtual object picks up the first virtual item, a picture containing the first virtual object and the first virtual item is intercepted, and a first intercepted image is obtained; wherein in the first intercepted image, the first virtual object is in a state of holding the first virtual item. According to the method, the image interception efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer and Internet technologies, and in particular to an image processing method, apparatus, device, and storage medium. Background Art

[0002] In a game application, when a virtual object controlled by a user obtains a precious virtual prop, the user may want to take a photo to keep it, or share it with other users for the purpose of "commemorating" or "showing off".

[0003] In the related art, users generally need to manually operate and take a manual screenshot of the game interface through the screenshot function of the device while obtaining virtual props.

[0004] In the above-mentioned related technologies, the manual interception method results in low image interception efficiency. Summary of the Invention

[0005] The embodiments of the present application provide an image processing method, apparatus, device, and storage medium, which can enrich the forms of human-computer interaction. The technical solution provided by the present application includes the following aspects.

[0006] According to one aspect of an embodiment of the present application, an image processing method is provided, which includes the following steps.

[0007] displaying a virtual environment, wherein the virtual environment includes a first virtual object and a first virtual prop;

[0008] In response to a picking operation on the first virtual prop, controlling the first virtual object to pick up the first virtual prop;

[0009] During the process of the first virtual object picking up the first virtual prop, a picture including the first virtual object and the first virtual prop is captured to obtain a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0010] According to one aspect of an embodiment of the present application, an image processing device is provided, which includes the following modules.

[0011] An environment display module, configured to display a virtual environment, wherein the virtual environment includes a first virtual object and a first virtual prop;

[0012] a prop picking module, configured to control the first virtual object to pick up the first virtual prop in response to a picking operation on the first virtual prop;

[0013] The screen capture module is configured to capture a screen containing the first virtual object and the first virtual prop during the process of the first virtual object picking up the first virtual prop, thereby obtaining a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0014] According to one aspect of an embodiment of the present application, a terminal device is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above-mentioned image processing method.

[0015] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned image processing method.

[0016] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium and executes the computer program, causing the terminal device to perform the above-described image processing method.

[0017] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0018] In the embodiment of the present application, during the process of a first virtual object picking up a first virtual prop, a screenshot of the first virtual object and the first virtual prop is captured to obtain a first captured image. This automatic screenshot automatically records the event of the first virtual object picking up the first virtual prop, eliminating the need for manual capture by the user and improving image capture efficiency. Furthermore, in this first captured image, the first virtual object is shown holding the first virtual prop. This first captured image fully reflects the fact that the first virtual object has picked up the first virtual prop, thereby improving the content integrity of the captured image. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a structural block diagram of a computer system provided by one embodiment of the present application;

[0020] Figure 2 is a schematic diagram of an image processing method provided by an embodiment of the present application;

[0021] Figure 3 is a flowchart of an image processing method provided by an embodiment of the present application;

[0022] Figure 4is a flowchart of an image processing method provided by another embodiment of the present application;

[0023] Figure 5 is a flowchart of an image processing method provided by another embodiment of the present application;

[0024] Figure 6 is a schematic diagram of an interactive animation of picking up a first virtual prop provided by an embodiment of the present application;

[0025] Figure 7 This is a schematic diagram of text prompt information and thumbnail prompt information provided by an embodiment of the present application;

[0026] Figure 8 This is a schematic diagram of the generation of dynamic effects of recording elements and a virtual recording carrier provided by one embodiment of the present application;

[0027] Figure 9 This is a schematic diagram of sending a chat session message encapsulating a virtual resource package to a chat session channel provided by an embodiment of the present application;

[0028] Figure 10 This is a schematic diagram of the special effects of opening a virtual resource package provided by an embodiment of the present application;

[0029] Figure 11 is a schematic diagram of a first interactive image provided by an embodiment of the present application;

[0030] Figure 12 This is a schematic diagram of resource prompt information and sharing prompt information provided by an embodiment of the present application;

[0031] Figure 13 This is a schematic diagram of an exhibition interface provided by an embodiment of the present application;

[0032] Figure 14 is a schematic diagram of an exhibition interface provided by another embodiment of the present application;

[0033] Figure 15 is a block diagram of an image processing method provided by an embodiment of the present application;

[0034] Figure 16 is a block diagram of an image processing method provided by another embodiment of the present application;

[0035] Figure 17 is a block diagram of an image processing method provided by another embodiment of the present application;

[0036] Figure 18 is a block diagram of an image processing method provided by another embodiment of the present application;

[0037] Figure 19is a block diagram of an image processing device provided by one embodiment of the present application;

[0038] Figure 20 This is a structural block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0040] First, a brief introduction to the terms involved in the embodiments of this application is given:

[0041] 1. Virtual Environment: This is the environment displayed (or provided) when an application is running on a terminal device. This virtual environment can be a simulation of the real world, a semi-simulated, semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any of a two-dimensional, a 2.5-dimensional, or a three-dimensional virtual environment. Optionally, the virtual environment is also used for virtual environment battles between at least two virtual characters, and the virtual environment contains virtual resources available to the at least two virtual characters.

[0042] 2. Virtual Objects: Refers to movable and inanimate objects in a virtual scene. Movable objects can be at least one of virtual people, virtual animals, and animated characters. Inanimate objects can be at least one of virtual buildings, virtual plants, and virtual terrain. Optionally, when the virtual scene is a three-dimensional virtual scene, the virtual objects can be three-dimensional virtual models. Each virtual object has its own unique shape and volume within the three-dimensional virtual scene and occupies a portion of the space within the three-dimensional virtual scene. Optionally, the virtual objects are three-dimensional characters constructed based on three-dimensional human skeleton technology, and the virtual objects achieve different appearances by wearing different skins. In some implementations, virtual objects can also be implemented using 2.5D or 2D models, which is not limited in this embodiment of the present application. For example, based on the different methods of controlling virtual objects, virtual objects can be divided into user-controlled virtual objects and server-controlled virtual objects. User-controlled virtual objects are objects that are movable in the virtual scene and are controlled by the client. Server-controlled virtual objects are virtual objects that are controlled by automatic control algorithms or artificial intelligence programs on the client or server. Server-controlled virtual objects include both movable and inanimate objects in the virtual scene. For example, the inactive object may respond to or influence the activity of the active object, for example, the active object may destroy the inactive object, or the active object may enter a stealth state when the active object enters the inactive object.

[0043] 3. User Interface (UI) Controls: Any visual control or element visible on an application's user interface, such as images, input boxes, text boxes, buttons, labels, and other controls. Some UI controls respond to user actions, such as a pick control for picking up a virtual item. The user presses the pick control to pick up the virtual item. The UI controls involved in the embodiments of this application include, but are not limited to, pick controls.

[0044] Please refer to Figure 1 , which shows a schematic diagram of a computer system provided by an embodiment of the present application. The computer system can be implemented as an image processing system. The computer system may include: a terminal device 10 and a server 20.

[0045] The number of terminal devices 10 can be one or more. The terminal device 10 can be an electronic device such as a mobile phone, tablet computer, game console, e-book reader, multimedia playback device, wearable device, PC (Personal Computer), vehicle-mounted terminal, etc. The client of the target application (such as a game application) can be installed in the terminal device 10. Optionally, the target application can be an application that needs to be downloaded and installed, or it can be a click-to-use application, which is not limited in the embodiments of the present application.

[0046] In an embodiment of the present application, the target application is an application that provides a virtual pet, such as a simulation program, a shooting game, a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooter (FPS), a multiplayer shooter survival game, a third-person shooter (TPS), a multiplayer online tactical competitive game (MOBA), a strategy game (SLG), a social application, or an interactive entertainment application. In addition, for different applications, the virtual objects and virtual props provided may also be different, and this embodiment of the present application does not limit this. Optionally, a client of the above application is running in the terminal device 10. In some embodiments, the above application is an application developed based on a three-dimensional virtual scene engine, such as the Unity engine, which can build a three-dimensional virtual environment, virtual objects and virtual props, etc., to bring a more immersive gaming experience to the user.

[0047] Among them, the above-mentioned virtual environment refers to a scene created for the first virtual object to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. The above-mentioned virtual object refers to the virtual character, virtual vehicle, virtual item, etc. controlled by the user account in the target application, and this application does not limit this. Taking the target application as a game application as an example, a virtual object refers to a game object controlled by the user account in the game application. The virtual object can be in the form of a character, an animal, a cartoon or other form, and this embodiment of the application does not limit this. Exemplarily, the first virtual object in this application is a virtual object controlled by the client (also referred to as a master virtual object). Exemplarily, the master virtual object in this application is a virtual object controlled by the client, and the virtual props can also be a virtual object controlled by a server or terminal device.

[0048] The server 20 is used to provide background services for the client of the target application in the terminal device 10. For example, the server 20 can 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, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but is not limited thereto.

[0049] The terminal device 10 and the server 20 can communicate with each other via a network, which can be a wired network or a wireless network.

[0050] Before introducing the specific solution of this application, a brief description of the relevant background technology is given below.

[0051] In mobile search-and-kill games, players rely on achievement systems to enhance their gaming experience and social interaction. However, these systems suffer from weak achievement retention and low player emotional engagement; difficulty in social dissemination, relying on manual screenshot sharing and external platforms, a cumbersome process; low commercial conversion rates, and the disconnection between achievements and the economic system, making them ineffective in attracting new players.

[0052] To address the above issues, this application proposes a solution based on the player achievement display needs. This solution automatically generates and disseminates achievement content through a physical recording and packaging of highlight moments and a red envelope fission mechanism: when a player obtains a rare item, the system captures the keyframe of the highlight moment and generates a physical archival photo; red envelopes are simultaneously distributed on the public channel, displaying the highlight moment screenshots to all players.

[0053] like Figure 2As shown, a highlight moment 200 is automatically captured within the game. As the first virtual object picks up the first virtual prop, a screenshot of the first virtual object holding the first virtual prop is automatically captured to obtain a first captured image. For example, the first captured image is displayed in the lower left corner of the user interface.

[0054] like Figure 2 As shown, the physical packaging achievement 210 outside the game, that is, the first intercepted image is displayed outside the game, and the first intercepted image is presented in the form of a virtual recording medium. On the settlement interface of the game, a virtual diary (a form of virtual recording medium) is displayed. For example, a photo is displayed on the first page of the virtual diary, and the photo shows the intercepted first intercepted image. For example, related information is displayed on the second page of the virtual diary. The related information is information related to the first intercepted image, such as the interception time, the name of the virtual prop, etc.

[0055] like Figure 2 As shown, the outsider's personal achievements are displayed 220. For example, the obtained virtual props are displayed in a showcase on the exhibition interface, and a fixed area rotates the props promotional pictures. The virtual props displayed in the showcase can be dragged by the user to change the display position.

[0056] like Figure 2 As shown, the off-game red envelope fission forms social fission 230. For example, after the game ends, if the virtual item picked up is a rare item, a red envelope distribution pop-up window is automatically triggered to send a red envelope to at least one chat session channel to guide user accounts in the channel to pay attention to the first event, that is, the event that the first virtual object picked up a rare item.

[0057] The technical solution provided in the embodiment of the present application realizes automatic screenshots of highlight moments, satisfies players' needs to share and show off, stimulates new players to participate in the game, and builds a closed business loop.

[0058] Please refer to Figure 3 , which shows a flow chart of an image processing method provided by an embodiment of the present application. The execution subject of each step of the method can be Figure 1 The terminal device 10 in the computer system shown, for example, can be the client of the target application program. In the following method embodiment, for ease of description, only the client is used as the client for the execution of each step. The method can include at least one of the following steps (310-330).

[0059] Step 310: Display a virtual environment, where the virtual environment includes a first virtual object and a first virtual prop.

[0060] In embodiments of the present application, there are at least three ways to display a virtual environment on a terminal device. The first is a first-person perspective, in which a virtual camera is mounted on the head of a first virtual object. The image obtained by observing the virtual environment through this virtual camera serves as the displayed image of the virtual environment. In this case, the first virtual object is not included in the displayed image of the virtual environment. The second is a third-person perspective, in which a virtual camera is mounted behind the first virtual object. The image obtained by observing the virtual environment through this virtual camera serves as the displayed image of the virtual environment. In this case, the displayed image of the virtual environment may include part or all of the first virtual object. The orientation of both the first-person and third-person perspectives changes with the orientation of the first virtual object. The third is another perspective with a specific direction. The orientation of this perspective does not change. In this case, the image obtained by observing the entire virtual environment from a specific direction by the virtual camera serves as the displayed image of the virtual environment. In this case, the first virtual object can be displayed in the center of the displayed image of the virtual environment, in other locations within the displayed image of the virtual environment, or not at all within the displayed image of the virtual environment. This is not limited in this application. The virtual environment in the embodiments of the present application is considered to be at least one of a three-dimensional virtual environment, a two-dimensional virtual environment, or a 2.5-dimensional virtual environment, and the present application does not limit this.

[0061] The first virtual object mentioned in the embodiment of the present application refers to the virtual object controlled by the user account in the client of the target application (such as a game application). For example, the client of the target application is installed on the terminal device. In some embodiments, Figure 1The terminal device 10 includes a first terminal device and a second terminal device, wherein the first terminal device has a first client of the target application installed, the second terminal device has a second client of the target application installed, the first user account of the first user controls a first virtual object (also referred to as a first virtual object) in the first client of the target application, and the second user account of the second user controls a second virtual object in the second client of the target application. Of course, in addition to the virtual object controlled by the above-mentioned user, the second virtual object in the embodiment of the present application can also be a virtual object controlled by the server (artificial intelligence virtual object). Optionally, the first virtual object and the second virtual object are in the same virtual environment. Optionally, the first virtual object and the second virtual object can belong to the same camp, the same team, the same organization, have a friend relationship or have temporary communication permissions, in which case the second virtual object is considered to be a friendly virtual object of the first virtual object. Optionally, the first virtual object and the second virtual object can belong to different camps, different teams, different organizations or have a hostile relationship, in which case the second virtual object is considered to be an enemy virtual object of the first virtual object. Optionally, the clients installed on the first terminal device and the second terminal device are the same, or the clients installed on the two terminals are the same type of clients on different operating system platforms (Android or IOS). The first terminal device may generally refer to one of a plurality of terminal devices, and the second terminal device may generally refer to another one of the plurality of terminal devices. This embodiment only takes the first terminal device and the second terminal device as examples.

[0062] In some embodiments, the virtual environment includes virtual props. Exemplarily, the virtual props referred to in the embodiments of this application refer to virtual objects other than the first virtual object in the virtual environment. In some embodiments, the virtual props may be the second virtual object described above. Exemplarily, the virtual props may be user-controlled virtual objects, server-controlled virtual objects, or uncontrolled virtual objects, though this application does not limit this. Exemplarily, when the virtual props are user-controlled virtual objects, the first virtual object may pick up virtual props controlled by other users as picked-up virtual props. Exemplarily, when the virtual props are server-controlled virtual objects, the first virtual object may pick up artificially intelligent virtual objects in the virtual environment controlled by the server according to a preset algorithm as picked-up virtual props. Exemplarily, after the first virtual object picks up the virtual prop, the virtual prop is controlled by the first virtual object or by the user account controlling the first virtual object. Exemplarily, the embodiments of this application do not limit the number, shape, or location of the virtual props. Exemplarily, the virtual props may be movable or immovable objects in the virtual environment.

[0063] This application does not limit the types of virtual props. Optionally, the types of virtual props include at least one of the following: virtual vehicles, virtual attack props, virtual decorative props, virtual buildings, etc. Optionally, the first virtual prop in this application can be any type of virtual prop, or a virtual prop of a specified type. Exemplarily, the virtual props of a specified type include at least one of the following: a relatively rare virtual prop of a preset type, a virtual prop of a higher value preset type, a virtual prop of a preset type that is not easy to be found, and a virtual prop of a preset type that is difficult to obtain.

[0064] Step 320 : In response to the picking operation on the first virtual prop, control the first virtual object to pick up the first virtual prop.

[0065] Optionally, the pick-up operation is an operation for picking up a virtual item. Optionally, the pick-up operation is an operation on a pick-up control. Exemplarily, the pick-up operation is one of a click operation, a double-click operation, a long press operation, and the like on the pick-up control. Exemplarily, when the first virtual object approaches the first virtual item, the pick-up control is triggered to be displayed. That is, when the distance between the first virtual object and the first virtual item is less than or equal to a threshold, the pick-up control is triggered to be displayed. Exemplarily, when the first virtual object is within a preset trigger area corresponding to the first virtual item, the pick-up control is triggered to be displayed.

[0066] Optionally, when the distance between the first virtual object and the first virtual prop is less than or equal to a threshold, the picking operation is considered to be triggered. That is, when the distance between the first virtual object and the first virtual prop is less than or equal to the threshold, the first virtual object is controlled to pick up the first virtual prop.

[0067] Optionally, when the first virtual object is in a preset triggering area corresponding to the first virtual prop, the picking operation is considered to be triggered. That is, when the first virtual object is in the preset triggering area corresponding to the first virtual prop, the first virtual object is controlled to pick up the first virtual prop.

[0068] In an embodiment of the present application, a screen is displayed showing a first virtual object picking up a first virtual item. Optionally, the first virtual object performs a picking action to pick up the first virtual item. Optionally, the present application does not limit the picking action taken by the first virtual object.

[0069] Exemplarily, the first virtual object is controlled to pick up the first virtual prop using a first picking-up gesture. Exemplarily, the first picking-up gesture is at least one of the following picking-up gestures: a one-handed picking-up gesture, a two-handed picking-up gesture, a bent-over picking-up gesture, a standing-on-the-feet picking-up gesture, and the like.

[0070] In some embodiments, a terminal device obtains a pick instruction for a pick operation. Exemplarily, the pick operation is an operation performed on a control device. The control device herein is a device used to control a virtual object in a target application. Exemplarily, the control device and the terminal device hosting the target application are the same terminal device or different terminal devices.

[0071] Exemplarily, when the control device and the terminal device where the target application is located are the same terminal device, the terminal device receives the picking operation performed by the user and generates a corresponding picking instruction.

[0072] Exemplarily, when the control device and the terminal device where the target application is located are different terminal devices, the control device receives the pick-up operation performed by the user and generates a corresponding pick-up instruction. Exemplarily, the control device sends the pick-up instruction to the terminal device. Exemplarily, the control device may be an external device of the terminal device. Exemplarily, the external device of the terminal device refers to a device that is directly or indirectly connected to the terminal device. Exemplarily, the external device of the terminal device includes but is not limited to at least one of the following: a mouse, a handle, a touch screen, etc. Exemplarily, the external device of the terminal device may be a device connected to the terminal device through a physical line, or may be a device connected to the terminal device through a wireless network or the like.

[0073] In some embodiments, the control device collects a pick-up operation performed by a user and generates a pick-up instruction. For example, when the control device and the terminal device are the same device, the pick-up operation performed by the user is an operation performed on the terminal device's screen, such as a pick-up operation on a virtual joystick displayed on the terminal device's user interface. For example, when the control device and the terminal device are different devices, the pick-up operation performed by the user is an operation performed on the control device, such as an operation performed on a handle or physical joystick on the control device.

[0074] Exemplarily, the picking operation performed by the user may also be a gesture performed by the user, a voice command issued, etc. At this time, the control device may collect the picking operation performed by the user through a camera, a recording device, etc., and generate a picking instruction.

[0075] In some embodiments, the picking instruction carries at least one of the following information: the virtual item to be picked up corresponding to the picking operation.

[0076] In some embodiments, after receiving the pickup instruction of the pickup operation, the terminal device controls the first virtual object to pick up the first virtual prop according to the pickup instruction.

[0077] Step 330 , when the first virtual object picks up the first virtual prop, capture a picture including the first virtual object and the first virtual prop to obtain a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0078] In an embodiment of the present application, the first virtual object picking up the first virtual prop is a dynamically changing process. Exemplarily, the time required for the first virtual object to pick up the first virtual prop is the first duration. That is, the time from the first virtual object starting to pick up the first virtual prop to the first virtual object finishing picking up the first virtual prop is the first duration. Optionally, it is necessary to capture a picture containing the first virtual object and the first virtual prop within the first duration to obtain a first captured image. Optionally, the first duration corresponds to at least one image frame on the interface.

[0079] Optionally, a first image frame is determined from at least one image frame. Exemplarily, the first image frame is an image frame corresponding to a first moment. Exemplarily, the image frame at the first moment is captured to obtain a first captured image. Exemplarily, the first moment is a set moment, such as the moment when the first virtual object just contacts the first virtual prop, the last moment of a pickup process, or a moment in the middle of a pickup process.

[0080] Optionally, the first image frame, i.e., the image frame at the first moment, is completely captured as a first captured image. Optionally, a portion of the first image frame, i.e., the portion of the image frame at the first moment, is captured as the first captured image. Specifically, only the first virtual object and the first virtual prop in the first image frame are captured to obtain the first captured image. That is, during the capture process, the background is not captured, and only the portion related to the first virtual object and the first virtual prop is captured to obtain the first captured image.

[0081] Optionally, when the first virtual object picks up the first virtual prop, an interactive animation of picking up the first virtual prop is displayed. Figure 6 As shown, when the first virtual object 600 obtains the first virtual prop, an interactive animation 610 of picking up the first virtual prop is displayed.

[0082] Optionally, during the process of the first virtual object picking up the first virtual prop, a picture of the first virtual object holding the first virtual prop is captured to obtain a first captured image.

[0083] In an embodiment of the present application, step 330 may also be implemented as follows: during the process of the first virtual object picking up the first virtual prop, if the first virtual object meets a preset condition, a screen containing the first virtual object and the first virtual prop is captured to obtain a first captured screen.

[0084] In some embodiments, the first virtual object satisfies a preset condition including at least one of the following: the posture of the first virtual object is a preset type of posture, the posture of the first virtual object picking up the first virtual prop is a preset type of posture (for example, the first virtual object is in a state of holding the first virtual prop), the position of the first virtual object is a preset position, and the first virtual prop picked up by the first virtual object is a virtual prop of a preset type.

[0085] In some embodiments, the first virtual object satisfying a preset condition includes: the first virtual object's posture satisfying a first condition, and the first virtual prop satisfying a second condition. Exemplarily, the first virtual object's posture satisfying the first condition includes: the first virtual object's gripping posture having a posture integrity greater than or equal to a preset threshold, and the gripping posture being the posture used by the first virtual object to pick up the first virtual prop. Exemplarily, the first virtual prop satisfying the second condition includes: the first virtual prop being a preset type of prop.

[0086] In the embodiment of the present application, during the process of a first virtual object picking up a first virtual prop, a screenshot of the first virtual object and the first virtual prop is captured to obtain a first captured image. This automatic screenshot automatically records the event of the first virtual object picking up the first virtual prop, eliminating the need for manual capture by the user and improving image capture efficiency. Furthermore, in this first captured image, the first virtual object is shown holding the first virtual prop. This first captured image fully reflects the fact that the first virtual object has picked up the first virtual prop, thereby improving the content integrity of the captured image.

[0087] Please refer to Figure 4 , which shows a flow chart of an image processing method provided by another embodiment of the present application. The execution subject of each step of the method can be Figure 1 The terminal device 10 in the computer system shown, for example, can be the client of the target application program. In the following method embodiment, for ease of description, only the client is used as the client for the execution of each step. The method can include at least one of the following steps (410-440).

[0088] Step 410: Display a virtual environment, where the virtual environment includes a first virtual object and a first virtual prop.

[0089] Step 420 : In response to the picking operation on the first virtual prop, control the first virtual object to pick up the first virtual prop.

[0090] Step 430 , when the first virtual object picks up the first virtual prop, capture a picture including the first virtual object and the first virtual prop to obtain a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0091] In some embodiments, during the process of the first virtual object picking up the first virtual prop, a state of the first virtual object in at least one image frame is obtained.

[0092] Exemplarily, starting with the first virtual object picking up the first virtual prop, pose data of the first virtual object in at least one image frame is obtained. Exemplarily, the pose data of the first virtual object is used to reflect the state of the first virtual object. Optionally, the pose data includes position data of at least one key point on the first virtual object. The key point here includes a joint point.

[0093] In some embodiments, based on the state of the first virtual object in at least one image frame, the first image frame is determined from at least one image frame, the first virtual object in the first image frame is in a state of holding the first virtual prop, and the first captured image is obtained by capturing the first image frame.

[0094] Optionally, based on a state of the first virtual object in at least one image frame, a first image frame that satisfies the condition is determined from the at least one image frame. Optionally, the first image frame is an image frame in which the posture of the first virtual object satisfies a preset posture. Exemplarily, the preset posture here refers to a state in which the first virtual object is holding the first virtual prop.

[0095] Optionally, when there is no first image frame meeting the condition in the at least one image frame, the last image frame in the at least one image frame is determined as the first image frame.

[0096] Optionally, according to the state of the first virtual object in at least one image frame, an image frame in which the posture integrity of the first virtual object is greater than or equal to a preset threshold is determined from the at least one image frame as the first image frame.

[0097] Optionally, based on the state of the first virtual object in at least one image frame, when it is impossible to determine from at least one image frame an image frame in which the posture integrity of the first virtual object is greater than or equal to a preset threshold, the last image frame in at least one image frame is used as the first image frame.

[0098] Optionally, the images of the first virtual object and the first virtual prop are inserted into a preset captured image template to generate a filled image. The filled image is used as the first captured image. Exemplarily, the preset captured image template is introduced to improve the image quality of the generated captured image.

[0099] In some embodiments, the first image frame is an image frame in which the posture completeness of the first virtual object in at least one image frame is greater than or equal to a preset threshold, the posture completeness is the ratio between the number of first key points and the number of second key points, the first number of key points is the number of key points corresponding to the state of the first virtual object in the image frame, and the second number of key points is the number of key points corresponding to the state of holding the first virtual prop.

[0100] Exemplarily, the first number of key points is the number of key points corresponding to the state of the first virtual object in the image frame. Optionally, the number of key points is determined based on the posture data of the first virtual object in the image frame to obtain the first number of key points. Optionally, the first virtual object in the image frame is directly identified, and the number of identified key points is determined to obtain the first number of key points. Exemplarily, the second number of key points is the number of key points corresponding to the state of holding the first virtual prop. Optionally, the second number of key points is a preset value. Optionally, the preset threshold is 85%.

[0101] Exemplarily, the first image frame is directly used as the first captured image. Exemplarily, a partial image of the first virtual object and the first virtual prop contained in the first image frame is captured as the first captured image.

[0102] In some embodiments, only one image is captured, and the captured image is used as the first captured image.

[0103] In some other embodiments, the number of captured images is at least two. Optionally, one of the at least two captured images is selected as the first captured image.

[0104] Exemplarily, at the moment of the first image frame, images of the first virtual object and the first virtual prop from different directions (different shooting angles) are acquired to obtain at least two captured images.

[0105] Exemplarily, for a total of N moments before and after the moment of the first image frame, image frames corresponding to the N moments are obtained as at least two captured images, where N is an integer greater than 1.

[0106] Exemplarily, at least two captured images are displayed, and the user is allowed to select one. If the user does not make a selection within a set period of time, the first captured image of the at least two captured images is defaulted to be the first captured image.

[0107] The technical solution provided in the embodiments of the present application determines the first image frame by acquiring the state of the first virtual object in at least one image frame, thereby improving the accuracy of determining the first image frame. Furthermore, an image frame whose posture integrity is greater than or equal to a preset threshold is determined as the first image frame, which helps ensure that the posture of the first virtual object in the first image frame is relatively complete, thereby improving the image quality of the subsequent first captured image.

[0108] Step 440: Display a first prompt message, where the first prompt message is used to prompt that the first captured image has been captured.

[0109] In some embodiments, a first prompt message is displayed, where the first prompt message is used to prompt that the first captured image has been captured.

[0110] The first prompt information in this application is used to prompt that the first captured image has been captured. This application does not limit the information type of the first prompt information, such as the information type of the first prompt information includes at least one of the following: text, picture, voice, etc.

[0111] For example, after the first captured image is captured, a pop-up window automatically pops up to display the first prompt information.

[0112] Exemplarily, after the first captured image is captured, the first prompt information is automatically displayed on the current UI interface.

[0113] For example, when the first captured image is captured, a set sound effect is automatically played to prompt the capture of the image.

[0114] Optionally, the first prompt information is displayed simultaneously with or after the first captured image is captured.

[0115] Optionally, the display duration of the first prompt information is a preset duration. Optionally, the preset duration is 10 seconds, and the first prompt information is displayed for 10 seconds and then is no longer displayed.

[0116] Optionally, the first prompt information is displayed from the beginning until the end of the game.

[0117] In a possible implementation, the first prompt information is only displayed on the client of the first terminal device.

[0118] In another possible implementation, the first prompt information is displayed not only on the client of the first terminal device, but also on the client of the second terminal device. Optionally, the client of the first terminal device is the client where the first user account is located. The first user account is the user account that controls the first virtual object. Optionally, the client of the second terminal device is the client where the second user account is located. The first virtual object controlled by the first user account and the second virtual object controlled by the second user account are in the same camp or in an opposing camp.

[0119] Exemplarily, the display duration of the first prompt information on the client of the first terminal device is greater than or equal to the display duration of the first prompt information on the client of the second terminal device.

[0120] Optionally, after the first prompt information is displayed on the client of the first terminal device, a share button is displayed. In response to an operation on the share button, the first prompt information is also displayed on the client of the second terminal device.

[0121] Optionally, the first prompt information displayed on the client of the first terminal device and the client of the second terminal device may be identical or slightly different, but both are used to prompt the first user account that the first captured image has been captured. For example, the first prompt information may be used to prompt the first user account that the first virtual item has been picked up.

[0122] In this way, the prompt information that could only be seen by the user himself can be shared with the user's teammates or enemies to achieve the purpose of "showing off", thus enriching the human-computer interaction form.

[0123] In this embodiment of the present application, a first prompt is introduced to indicate that the first captured image has been captured. This approach helps improve the user's awareness of automatic capture, avoiding situations where the capture occurs but the user is unaware. Once the user is aware of the capture of the first captured image based on the first prompt, the user can further perform operations such as sharing, thereby enriching the human-computer interaction.

[0124] Optionally, at least one of the following three methods is used to indicate that the first captured image has been captured.

[0125] Method 1: Displaying text prompt information, where the text prompt information is used to prompt in text form that the first captured image has been captured.

[0126] Optionally, the text prompt information is used to prompt in text form that the first captured image has been captured. Optionally, the text prompt information is displayed at a preset position on the interface, such as the text prompt information is displayed at the center of the interface. For example, Figure 7As shown, text prompt information 700 is displayed at the center of the interface.

[0127] For example, the specific content of the text prompt information is preset, such as Figure 7 It says: "Historic moment! A screenshot has been saved for you."

[0128] Mode 2: Displaying thumbnail prompt information, where the thumbnail prompt information is used to display the first captured image in the form of a thumbnail.

[0129] Optionally, the thumbnail prompt information is used to display the first captured image in the form of a thumbnail. Optionally, the thumbnail prompt information is displayed at a preset position on the interface, such as the thumbnail prompt information is displayed at a position other than the center of the interface, such as the lower left corner of the interface. For example, Figure 7 As shown, a thumbnail prompt information 720 is displayed in the lower left corner. For example, the content of the thumbnail prompt information is the first captured image after being reduced. Optionally, the size of the thumbnail is preset.

[0130] Method 3: Play the set sound effect when the first captured image is captured.

[0131] Optionally, the set sound effect is a pre-set sound effect for screenshots, such as "click". Optionally, the set sound effect can be set by the user or pre-set by the developer.

[0132] The prompt information displayed in any of the above methods will automatically be canceled after the preset duration has expired. For example, the text prompt information will be canceled after the preset duration has expired. For example, the thumbnail prompt information will be canceled after the preset duration has expired.

[0133] For example, Figure 15 As shown, the image processing method includes the following steps.

[0134] Step 1500, pick up rare items.

[0135] Exemplarily, when the player controls the first virtual object to pick up a virtual item, a determination is made as to whether the picked-up virtual item belongs to a preset type of virtual item. Exemplarily, a determination is made as to whether the picked-up item is a rare item. If the virtual item belongs to a preset type of virtual item (e.g., a rare item), the following processing flow continues. If the virtual item does not belong to a preset type of virtual item, the following processing flow does not need to be performed.

[0136] Step 1510: Is the gesture completeness greater than or equal to 85%?

[0137] For example, during the process of picking up the first virtual item, is the posture integrity of the first virtual object in each frame determined to be greater than or equal to 85% (corresponding to the aforementioned preset threshold)? If the posture integrity of the first virtual object is greater than or equal to 85%, then step 1520 is executed. If the posture integrity of the first virtual object is less than 85%, then step 1530 is executed.

[0138] Step 1520: capture key frames.

[0139] Exemplarily, a frame where the posture integrity of the first virtual object is greater than or equal to 85% is determined as a key frame, and the key frame is captured to obtain a first captured image.

[0140] Step 1530: Delay to the last frame of the animation and take a screenshot.

[0141] Exemplarily, the last frame in which the first virtual object picks up the first virtual prop is captured to obtain a first captured image.

[0142] Step 1540: Bind metadata.

[0143] For example, the metadata bound here is considered to be the associated information of the above-mentioned intercepted image, that is, the associated information of the intercepted image is bound to the intercepted image.

[0144] For example, metadata includes: item attributes (name / rarity), spatiotemporal data (date / map name), and player identification (UID (User Identifier) + character snapshot). For information related to captured images, please refer to the following explanation of the embodiment and will not be repeated here.

[0145] Step 1550, compressed storage.

[0146] Exemplarily, the captured image and metadata are compressed and stored in a local cache (response delay ≤ 300ms).

[0147] Step 1560, thumbnail prompt in the lower right corner.

[0148] Exemplarily, a 3-second thumbnail (i.e., the first captured image displayed in thumbnail form) is dynamically displayed in the lower right corner (or lower left corner) of the client and is accompanied by shutter sound feedback (i.e., playing a preset sound effect).

[0149] This application realizes the automatic capture of highlight moments and realizes zero-intervention recording of in-game achievements. First, automatic screenshots. When a player picks up a high-value item, the system automatically triggers the review animation, selects the best frame (such as the moment when the character's holding posture is complete) through the action recognition algorithm to complete the screenshot, and is accompanied by a "click" sound feedback. Secondly, thumbnail preview. After the screenshot is generated, a thumbnail is dynamically displayed in the lower right corner of the screen (fading away after 3 seconds), immediately reminding the player that the achievement has been recorded. Finally, the screenshot data is bound. The screenshot is encrypted and associated with the item attributes (name / rarity), spatiotemporal data (timestamp / specific map), and player character information to form a traceable achievement archive.

[0150] The technical solution provided by the embodiment of the present application adopts multiple possible prompting methods to indicate that the first captured image has been captured, which not only reflects the diversity and flexibility of the prompting methods, but also enriches the human-computer interaction form and the interface display elements.

[0151] In some embodiments, a recording element displaying the first captured image is added to a virtual recording carrier for display; wherein the virtual recording carrier is used to record at least one captured image and associated information of the captured image.

[0152] Optionally, the recording element displaying the first screenshot image is considered as a carrier for recording the first screenshot image. The present application does not limit the type of the recording element, such as the recording element being at least one of a photo, a photo frame, a poster, and the like.

[0153] Optionally, the first screenshot image is displayed in the form of a photo. Optionally, the photo can have different styles, such as different filters, frames, patterns, etc.

[0154] Optionally, the first captured image is displayed in the form of a photo frame. Optionally, the photo frame can have different styles, such as different frames, shapes, materials, etc.

[0155] Optionally, the first captured image is displayed in the form of a poster. Optionally, the photo frame can have different styles, such as different sizes, shapes, etc.

[0156] For example, the recording element and the style of the recording element can be selected by the user to record the first captured image. Optionally, a selection interface is displayed for selecting one of three recording elements: a photo, a photo frame, and a poster to record the first captured image.

[0157] Optionally, the recording element displaying the first captured image is added to a virtual recording carrier for display. Exemplarily, the virtual recording carrier is a virtual carrier for recording the aforementioned recording element. This application also does not limit the type of the virtual recording carrier. Exemplarily, the type of the virtual recording carrier includes at least one of the following: a virtual diary, a virtual portfolio, a virtual photo album, and the like.

[0158] Optionally, the virtual recording medium is used to record at least one captured image. For example, the virtual recording medium is used to record the recording element displaying the first captured image. Optionally, the virtual recording medium is used to record at least one recording element, each recording element displaying at least one captured image.

[0159] Optionally, the virtual recording medium is used to record information associated with the captured images. For example, the virtual recording medium is used to record the aforementioned recording element displaying the associated information of the captured images. Optionally, the virtual recording medium is used to record at least one recording element, each recording element displaying not only at least one captured image but also associated information of the captured image. Optionally, the associated information of the captured images is directly recorded on the virtual recording medium.

[0160] The associated information of the captured image herein refers to information related to the captured image. The associated information of the captured image includes at least one of the following: the capture time of the captured image, the position information of the virtual object in the captured image in the virtual environment, the identification information of the virtual object in the captured image, and the prop information of the virtual prop in the captured image.

[0161] Optionally, when a captured image is recorded on a virtual recording medium, associated information of the captured image is recorded accordingly. Optionally, when the first captured image is recorded on a virtual recording medium, other captured images and associated information of the other captured images are already recorded on the virtual recording medium.

[0162] For the specific content of this information, please refer to the following embodiments and will not be described in detail here.

[0163] Exemplarily, the recording element displaying the first captured image is added to the virtual recording medium for display. Alternatively, the recording element displaying the first captured image is attached to the virtual recording medium. Alternatively, the recording element displaying the first captured image is sandwiched between the virtual recording medium. Alternatively, the recording element displaying the first captured image is inserted between the virtual recording medium.

[0164] Exemplarily, on the settlement interface, a generated animation of the recording element is displayed. Exemplarily, on the settlement interface, a recording element displaying the first captured image is added to the virtual recording medium for display. The settlement interface herein refers to the interface for game settlement that appears after the game in which the first virtual object is involved ends.

[0165] Exemplarily, after the first captured image is captured within the game, the generated dynamic effect of the recording element is immediately displayed. Exemplarily, after the first captured image is captured within the game, the recording element with the first captured image is displayed and added to the virtual recording carrier for display. Optionally, within the game, the generated dynamic effect of the recording element is displayed on the upper layer of the currently displayed virtual environment screen. After the generated dynamic effect of the recording element is displayed, the recording element with the first captured image is displayed and added to the virtual recording carrier for display. After the display reaches a certain length of time, the display of the virtual recording carrier is cancelled and the virtual environment screen is displayed again.

[0166] The technical solution provided by the embodiments of this application adds a recording element displaying a first captured image to a virtual recording medium for display, simulating a real-world recording medium. The captured image and associated information are recorded in a physical form. This not only demonstrates the diversity of information recording but also simulates the real-world recording experience, providing users with a more diverse and authentic user experience.

[0167] In some embodiments, a generated animation of a recording element is displayed.

[0168] For example, when the first captured image is displayed through the recording element, different generated animations are displayed according to different recording elements. Optionally, the generated animations are preset.

[0169] Optionally, in the case where the recording element is a photo, the generation animation of the recording element includes: a process in which a printer slowly prints out the photo.

[0170] Optionally, when the recording element is a photo frame, generating an animation effect for the recording element includes: splicing the photo frame and the captured image. Specifically, generating the animation effect includes affixing the captured image to the back of the photo frame, tightening the lock, and then inverting the photo frame to obtain a recording element displaying the first captured image.

[0171] Optionally, in the case where the recording element is a poster, the generation animation of the recording element includes: a process of slowly drawing the captured image on the poster with a brush.

[0172] For example, the generated dynamic effect of the record element is displayed. For example, Figure 8 As shown, an animation is shown in which a virtual printer 800 slowly prints out a photo 810 showing a first captured image. The first captured image is not shown in the photo 810. For example, the photo 810 is added and displayed in a virtual diary 820.

[0173] The technical solution provided in the embodiment of the present application not only enriches the display elements of the screen but also enriches the interactive form by displaying the generated dynamic effects of the record elements, so as to bring users a better user experience.

[0174] In some embodiments, a recording element displaying the first captured image is added to a first page or a first page area of a virtual recording medium for display.

[0175] In some embodiments, associated information of the first captured image is displayed on the second page or the second page area of the virtual recording carrier, and the associated information of the first captured image includes at least one of the following: the capture time of the first captured image, the position information of the first virtual object in the first captured image in the virtual environment, the identification information of the first virtual object, and the prop information of the first virtual prop.

[0176] Optionally, the recording element displaying the first captured image is added to a first page of the virtual recording medium for display. On a second page of the virtual recording medium, associated information of the first captured image is displayed. Exemplarily, the first page and the second page are two different pages.

[0177] Optionally, a recording element displaying the first captured image is added to a first page area of the virtual recording medium for display. Information associated with the first captured image is displayed in a second page area of the virtual recording medium. Exemplarily, the first page area and the second page area are two different areas.

[0178] Optionally, in the user interface, a recording element and associated information of the captured image are displayed simultaneously for the user to compare and view specific information related to the captured image.

[0179] Exemplarily, the associated information of the first captured image includes at least one of the following: capture time of the first captured image, position information of the first virtual object in the first captured image in the virtual environment, identification information of the first virtual object, and prop information of the first virtual prop.

[0180] The capture time of the first captured image is the time when the first captured image was captured.

[0181] The position information of the first virtual object in the first captured image in the virtual environment, that is, the position of the first virtual object in the virtual environment when the first captured image is captured, is also referred to as the captured position of the first captured image.

[0182] The identification information of the first virtual object, that is, at least one of the nickname, avatar, etc. of the first virtual object.

[0183] The item information of the first virtual item is information related to the first virtual item, such as at least one of the item name, item level, and item type of the first virtual item.

[0184] For example, Figure 8 As shown, on the first page 840 of the virtual recording carrier, a display record element is added to display the first screenshot image. On the second page 850 of the virtual recording carrier, the associated information of the first screenshot image is displayed. Figure 8 As shown, the associated information of the first captured image includes: item name, owner, acquisition time, movement range, and item value. "Owner" is the identification information of the first virtual object, "item name" and "item value" are the item information of the first virtual item, "acquisition time" is the capture time, and "movement range" is the location information.

[0185] For example, Figure 16 As shown, the image processing method includes the following steps.

[0186] Step 1610: The settlement interface is triggered.

[0187] Optionally, in the checkout interface, a photo generation engine is called to generate a photo (i.e., the aforementioned record element) and display the photo generation animation. For example, a 3-second printer animation is played to simulate the printing process.

[0188] Step 1620, load the diary template.

[0189] Exemplarily, the photos (ie, the aforementioned recording elements) are packaged using a preset diary template (ie, the aforementioned virtual recording carrier).

[0190] Step 1630: Play the printing animation.

[0191] That is, display the generated animation of the record element.

[0192] Step 1640: Combine the screenshot and the text data.

[0193] For example, a game screenshot is automatically embedded in the cover of the diary, and the inner pages are structured to fill in the time, map information, item name and rarity data, and finally a formatted archive record is generated.

[0194] That is, the record element is added and displayed on the first page or the first page area of the virtual record carrier, and the associated information of the captured image is displayed on the second page or the second page area of the virtual record carrier.

[0195] Step 1650, generate the final file.

[0196] Exemplarily, a virtual record carrier is displayed, wherein a first page or a first page area of the virtual record carrier is additionally displayed with a record element (a first screenshot is displayed on the record element), and a second page or a second page area of the virtual record carrier displays associated information of the first screenshot.

[0197] Optionally, a physical photo is generated on the checkout screen. After the player successfully takes out an item, a "Generate Commemorative Photo" print animation plays on the checkout screen (i.e., the animation showing the generation of the aforementioned record elements). Archival Information Packaging: This is packaged in a diary-style format, with a cover displaying a screenshot of the game scene, and structured records on the inner pages: time of first acquisition, map name, item information, and rarity.

[0198] The technical solution provided by the embodiment of the present application displays the above-mentioned recording elements and the associated information of the captured image on different pages or different page areas of the virtual recording carrier, which facilitates users to perform image and text comparison and enriches the information display types and display methods.

[0199] Please refer to Figure 5 , which shows a flow chart of an image processing method provided by another embodiment of the present application. The execution subject of each step of the method can be Figure 1 The terminal device 10 in the computer system shown, for example, can be the client of the target application program. In the following method embodiment, for ease of description, only the client is used as the client for the execution of each step. The method can include at least one of the following steps (510-540).

[0200] Step 510: Display a virtual environment, where the virtual environment includes a first virtual object and a first virtual prop.

[0201] Step 520 : In response to the picking operation on the first virtual prop, control the first virtual object to pick up the first virtual prop.

[0202] Step 530 , when the first virtual object picks up the first virtual prop, capture a picture including the first virtual object and the first virtual prop to obtain a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0203] Step 540: Send a chat session message encapsulating a virtual resource package to at least one chat session channel. The virtual resource package is used to guide at least one user account in the chat session channel to pay attention to a first event, where the first event is an event in which a first virtual object obtains a first virtual item.

[0204] In an embodiment of the present application, after the first virtual object acquires the first virtual item, a virtual resource package is triggered. Optionally, after acquiring the first virtual item, a chat session message encapsulating the virtual resource package is automatically sent to at least one chat session channel.

[0205] Optionally, in the game in which the first virtual object is located, after obtaining the first virtual item, a chat session message encapsulating the virtual resource package is sent to at least one chat session channel.

[0206] Exemplarily, within a game, after a first virtual object picks up a first virtual item, a send pop-up window is immediately triggered to display. Optionally, the send pop-up window is used to send a chat session message encapsulating a virtual resource package to at least one chat session channel. Optionally, the chat session channel to be sent can be selected in the send pop-up window. Optionally, the virtual resource to be sent can be selected in the send pop-up window. Optionally, before triggering the display of the send pop-up window, it is necessary to determine whether the first virtual item meets the conditions. Optionally, it is determined whether the first virtual item belongs to a preset type of virtual item. If the first virtual item belongs to the preset type of item, the send pop-up window is immediately triggered to display after the first virtual item is picked up. If the first virtual item does not belong to the preset type of item, the send pop-up window is not triggered to display after the first virtual item is picked up.

[0207] Exemplarily, outside of a game in which the first virtual object is located, after the game ends after acquiring the first virtual item, a chat session message encapsulating a virtual resource package is sent to at least one chat session channel. Exemplarily, after the game in which the first virtual object is located ends, a send pop-up window is immediately triggered for display. Optionally, the send pop-up window is used to send the chat session message encapsulating the virtual resource package to at least one chat session channel. Optionally, the chat session channel to be sent can be selected in the send pop-up window. Optionally, the virtual resource to be sent can be selected in the send pop-up window. Optionally, a determination is made as to whether the first virtual item is a virtual item of a preset type. If the first virtual item is a virtual item of the preset type, a send pop-up window is immediately triggered for display after the game ends. If the first virtual item is not a virtual item of the preset type, the send pop-up window is not triggered for display after the game ends.

[0208] Optionally, a chat session channel is a channel for at least one user account to conduct a chat. Optionally, each user account can only join one chat session channel. Optionally, each user account can join multiple chat sessions.

[0209] Optionally, the user account may send a chat session message in the chat session channel. For example, the chat session message is a virtual resource package message, which is used to indicate that a virtual resource package has been sent.

[0210] Optionally, a virtual resource package refers to a package containing virtual resources. Optionally, the virtual resources include at least one of virtual gold coins, virtual skins, and virtual diamonds. Optionally, after a user account sends a virtual resource package, other user accounts can claim the virtual resources in the virtual resource package.

[0211] In the embodiment of the present application, the virtual resource package is combined with the first event. By sending the virtual resource package, other user accounts are guided to pay attention to the first event, that is, to pay attention to the first virtual object and obtain the first virtual prop.

[0212] In one possible implementation, the chat session message includes, in addition to the virtual resource package, a text or picture message. Optionally, the text or picture message is related to the first event. For example, the picture message is a first captured image that has just been captured. For example, the text message is a displayed text prompt message. Optionally, the text or picture message is other preset text or picture related to the first event.

[0213] The technical solution provided by the embodiment of this application combines the virtual resource package with the first event, fully satisfying the user's desire to share the first event. Furthermore, through the virtual resource package, it can also attract the attention of other user accounts to the first event, improving sharing efficiency and interaction efficiency.

[0214] In some embodiments, after sending a chat session message encapsulating a virtual resource package to at least one chat session channel, the method further includes: displaying a first text in a chat interface corresponding to the chat session channel, where the first text is used to prompt a first event.

[0215] Exemplarily, in the chat interface corresponding to the chat session channel, a first copy is displayed, and the first copy is used to prompt the first event. Exemplarily, in the first area of the chat interface corresponding to the chat session channel, the first copy is displayed. Optionally, the first area is the top area of the chat interface corresponding to the chat session channel. Exemplarily, the content of the first copy here can be input by the user, or automatically generated by the model, or preset in advance by the developer. Exemplarily, as Figure 9 As shown, in the chat interface corresponding to the chat session channel, a first text 920 is displayed, and the first text 920 is used to prompt the first event. Figure 9 As shown, the first text 920 is displayed in the top area 930 of the chat interface corresponding to the chat session channel.

[0216] In some embodiments, after sending a chat session message encapsulating a virtual resource package to at least one chat session channel, the method further includes: displaying a second text on the cover of the virtual resource package, where the second text is used to prompt the first event.

[0217] Exemplarily, a second text is displayed on the cover of the virtual resource package, and the second text is used to prompt the first event. Exemplarily, after sending a chat session message encapsulating the virtual resource package, the chat session message encapsulating the virtual resource package is displayed in the chat interface corresponding to the chat session channel. Optionally, in the chat interface corresponding to the chat session channel, the chat session message encapsulating the virtual resource package sent by the first user account is displayed. Optionally, the second text is displayed on the cover of the virtual resource package. Exemplarily, the content of the second text here can be input by the user, automatically generated by the model, or preset in advance by the developer.

[0218] Optionally, if the chat session message of the virtual resource package is pinned to the top, the first text is now also the second text. In the aforementioned step, the first text is displayed in the chat interface corresponding to the chat session channel, and the second text is displayed on the cover of the virtual resource package. That is, in the chat interface corresponding to the chat session channel, the chat session message of the virtual resource package is pinned to the top, and the cover of the virtual resource package displays the text, which is used to indicate the first event.

[0219] The technical solution provided by the embodiment of the present application displays a first text in the chat interface corresponding to the chat session channel, the first text being used to indicate a first event; and displays a second text on the cover of the virtual resource package, the second text being used to indicate the first event. Using different methods to indicate the first event helps increase user attention to the first event and satisfy the purpose of "showing off" the first user's account.

[0220] In some embodiments, when a first user account among the at least one user account receives a virtual resource package, a client corresponding to the first user account displays a first interaction image, where the first interaction image is an image related to a first event.

[0221] Optionally, when the first user account receives the virtual resource package, the client corresponding to the first user account displays the first interactive image. Exemplarily, before displaying the first interactive image, a special effect of opening the virtual resource package is displayed.

[0222] Optionally, the first interactive image is an image related to the first event. Optionally, the first interactive image is the first captured image described above. Optionally, the first interactive image is a processed image corresponding to the first captured image described above. Optionally, the processed image is also referred to as a shared image corresponding to the first captured image. Optionally, the first captured image and associated information of the first captured image are processed by a preset shared image module to obtain a shared image corresponding to the first captured image.

[0223] Exemplarily, the client corresponding to the first user account also displays at least one of the following: resource prompt information and sharing prompt information, where the resource prompt information is used to indicate the virtual resources obtained by the first user account, and the sharing prompt information is used to prompt the first user account to share the first interactive image to obtain additional virtual resources.

[0224] Exemplarily, the resource prompt information is used to indicate the virtual resources obtained by the first user account. The resource prompt information may be in the form of pictures, text, voice, etc. The resource prompt information includes the quantity and type of virtual resources obtained by the first user account.

[0225] For example, the sharing prompt information is used to prompt the first user account to share the first interactive image to obtain additional virtual resources. The sharing prompt information can be in the form of images, text, voice, etc. The resource prompt information includes the amount of additional virtual resources and the type of additional virtual resources.

[0226] Optionally, after displaying the first interactive image, the client corresponding to the first user account further displays resource prompt information. Optionally, the resource prompt information is used to prompt the first user account of the virtual resources obtained.

[0227] Optionally, after displaying the first interactive image, the client corresponding to the first user account further displays sharing prompt information. Optionally, the sharing prompt information is used to prompt the first user account to share the first interactive image to obtain additional virtual resources.

[0228] In some embodiments, when a second user account among the at least one user account receives a virtual resource package, a client corresponding to the second user account displays a first interaction image, where the first interaction image is an image related to the first event.

[0229] Optionally, when the second user account receives the virtual resource package, the client corresponding to the second user account displays the first interactive image. Exemplarily, before displaying the first interactive image, a special effect of opening the virtual resource package is displayed.

[0230] Exemplarily, the client corresponding to the second user account also displays at least one of the following: resource prompt information and sharing prompt information, where the resource prompt information is used to indicate the virtual resources obtained by the second user account, and the sharing prompt information is used to prompt the second user account to share the first interactive image to obtain additional virtual resources.

[0231] Exemplarily, the client corresponding to the second user account further displays at least one of the following: resource prompt information and sharing prompt information, wherein the resource prompt information is used to indicate the virtual resources obtained by the second user account, and the sharing prompt information is used to prompt the second user account to share the second interactive image to obtain additional virtual resources.

[0232] Optionally, after displaying the second interactive image, the client corresponding to the second user account further displays resource prompt information. Optionally, the resource prompt information is used to prompt the second user account of the virtual resources obtained.

[0233] Optionally, after displaying the second interactive image, the client corresponding to the second user account further displays sharing prompt information. Optionally, the sharing prompt information is used to prompt the second user account to share the second interactive image to obtain additional virtual resources.

[0234] like Figure 10 As shown, when a user account receives a virtual resource package, the opening special effect of the virtual resource package is displayed. Optionally, the opening special effect of the virtual resource package includes a dynamic special effect from screen 1000 to screen 1010.

[0235] like Figure 11 As shown, when the user account receives the virtual resource package, the client displays a first interaction image 1100. Optionally, the first interaction image 1100 is a sharing image for the first captured image.

[0236] like Figure 12 As shown, when the user account receives the virtual resource package, the client also displays resource prompt information 1130 and sharing prompt information 1140. Optionally, the sharing prompt information 1140 is a sharing control.

[0237] like Figure 12 As shown, the client displays resource prompt information 1130 and sharing prompt information 1140 , and also displays the first interactive image 1120 in thumbnail form.

[0238] The technical solution provided by the embodiments of this application further deepens the user account's attention to the first event by displaying the first interactive image when claiming virtual resources, thereby improving the efficiency of human-computer interaction. In addition, sharing prompt information is displayed to expand the impact of the first event and promote social dissemination of the first event.

[0239] In some embodiments, before sending a chat session message encapsulating a virtual resource package to at least one chat session channel, the method further includes: displaying a sending interface, the sending interface including at least one of the following: a first selection control, a second selection control, a third selection control, a fourth selection control, and a fifth selection control.

[0240] The technical solution provided by an embodiment of the present application further displays a sending interface when sending a chat session message encapsulated with a virtual resource package. Specifically, the sending interface is an interface for setting up the virtual resource package. Optionally, a setting control and a sending control are displayed on the sending interface. The setting control is used to set up the virtual resource package, and the sending control is used to send the virtual resource package, that is, to send the chat session message encapsulated with the virtual resource package. Optionally, the setting control includes at least one of the first selection control, the second selection control, the third selection control, the fourth selection control, and the fifth selection control mentioned above.

[0241] Exemplarily, after the first virtual object picks up the first virtual item, a sending interface is displayed to send a chat session message encapsulating a virtual resource package to at least one chat session channel.

[0242] Exemplarily, the first selection control is used to select a first event from at least two events. Exemplarily, the first selection control is a UI control for selecting an event. Exemplarily, the first event is a first virtual object obtaining a first virtual item. Of course, the at least two events may also include a second event, where the second event is the first virtual object obtaining a second virtual item, and the first virtual item and the second virtual item are different virtual items. That is, the present application can select to send virtual resource packages for different events to guide user accounts in the chat session channel to pay attention to different events.

[0243] Exemplarily, the second selection control is used to select at least one chat session channel from the at least two chat session channels. Exemplarily, the second selection control is a UI control for selecting a chat session channel.

[0244] Exemplarily, the third selection control is used to input or select a first text from at least two texts. Exemplarily, the third selection control is a UI control for selecting or inputting a text. That is, the first text can be a text input by the user or a preset text.

[0245] Exemplarily, the fourth selection control is used to input or select a second text from at least two texts. Exemplarily, the fourth selection control is a UI control for selecting or inputting a text. That is, the second text can be a text input by the user or a preset text.

[0246] Exemplarily, the fifth selection control is used to select the first interaction image from at least two images related to the first event, and the at least two images related to the first event include the first captured image. Exemplarily, the fifth selection control is a UI control for selecting an image.

[0247] For example, Figure 9As shown, a second selection control 910 is displayed on the sending interface 900. Optionally, the second selection control 910 is used to select at least one chat session channel from at least two chat session channels.

[0248] The technical solution provided by the embodiments of this application displays a sending interface and various controls within the sending interface to select at least one of the chat session channel, the event corresponding to the virtual resource package, the text corresponding to the virtual resource package, and the interactive image. Based on this, the application achieves a flexible combination of events, text, images, and virtual resource packages, enriching the forms of human-computer interaction.

[0249] In some embodiments, the above step of sending the virtual resource package can be performed within or outside the game.

[0250] The first is triggered within the game: after the first captured image is captured, a chat session message encapsulating a virtual resource package is sent to at least one chat session channel.

[0251] In a possible implementation, during a game, when a first event is triggered, that is, a first virtual object obtains a first virtual item, a chat session message encapsulating a virtual resource package is sent to at least one chat session channel.

[0252] Exemplarily, in a game, when a first event is triggered, that is, a first virtual object obtains a first virtual item, a step of sending a chat session message encapsulating a virtual resource package to at least one chat session channel is automatically executed.

[0253] Exemplarily, during a game, when a first event is triggered, i.e., when a first virtual object obtains a first virtual item, the send interface is displayed. The send interface includes at least one of the following: a first selection control, a second selection control, a third selection control, a fourth selection control, and a fifth selection control. Exemplarily, the send interface may be displayed in a pop-up window.

[0254] In another possible implementation, after the first captured image is captured, a first trigger control is displayed; in response to an operation on the first trigger control, a chat session message encapsulating the virtual resource package is sent to at least one chat session channel.

[0255] Exemplarily, after the first captured image is captured, a first trigger control is triggered and displayed on the user interface. Optionally, the first trigger control is a UI control for sending a virtual resource package.

[0256] Exemplarily, in response to an operation on the first trigger control, a virtual resource package is automatically sent with one click. That is, a chat session message encapsulating the virtual resource package is sent to at least one chat session channel. Exemplarily, there is no need to select an event, text, image, chat channel, etc.; the events, text, image, and chat session channel are all preset. Exemplarily, the event is the acquisition of a first virtual item by a first virtual object, the text is a preset text, the image is the first captured image, and the chat session channel is the channel to which the first user account last sent a chat session message.

[0257] In another possible implementation, after the first captured image is captured, a first trigger control is displayed; in response to an operation on the first trigger control, a sending interface is displayed; and in response to an operation on the send control on the sending interface, a chat session message encapsulating the virtual resource package is sent to at least one chat session channel.

[0258] The second type is triggered outside the game. After exiting the game where the first virtual object is located, in response to a sending operation for the virtual resource package, a chat session message encapsulating the virtual resource package is sent to at least one chat session channel.

[0259] Of course, after exiting the game, the sending interface may be automatically popped up to respond to the sending operation for the virtual resource package and send a chat session message encapsulating the virtual resource package to at least one chat session channel.

[0260] For example, after a game ends, a check is performed to determine whether the virtual item obtained during the game belongs to a preset type of virtual item. If so, a sending interface automatically pops up to send a chat session message containing a virtual resource package to at least one chat session channel. If the virtual item does not belong to the preset type, the sending interface does not automatically pop up.

[0261] For example, Figure 18 As shown, the image processing method includes the following steps.

[0262] Step 1810, detecting rare items.

[0263] Step 1820, generate a red envelope delivery pop-up window.

[0264] When the first virtual item picked up by the first virtual object is a virtual item of a preset type, a red envelope delivery pop-up window is automatically generated (i.e., the sending interface described above). For example, the red envelope delivery pop-up window is automatically generated during a game. For example, the red envelope delivery pop-up window is automatically generated outside of a game, such as immediately after the game ends.

[0265] Step 1830, synthesize the red envelope cover image.

[0266] For example, the second text mentioned above is combined with the red envelope base image to obtain the red envelope cover image. The red envelope is also the virtual resource package mentioned above.

[0267] Step 1840, select a channel to broadcast.

[0268] Exemplarily, the player selects the chat session channel to send the message. Exemplarily, via HTTP (HyperText Transfer Protocol), the red envelope message (i.e., the chat session message encapsulating the virtual resource package) is pinned to the top of the world channel for 10 seconds. Exemplarily, the red envelope message carries the user ID and item ID (corresponding to the identification information of the first virtual item).

[0269] Step 1850, the player clicks to receive.

[0270] Step 1860, verify the validity of the player's UID.

[0271] Step 1870, distribute red envelope rewards.

[0272] Step 1880, do you want to share externally?

[0273] Determine whether to share externally, that is, whether to share on external social platforms. If shared externally, additional rewards will be distributed. If not shared externally, no additional rewards will be distributed.

[0274] Step 1890, distribute additional rewards.

[0275] The technical solution provided by the embodiment of the present application realizes the issuance of achievement red envelopes. Players distribute red envelopes (i.e., virtual resource packages) in the chat session channel, and the cover displays additional boasting copy (such as "Player X has obtained X rare item!", corresponding to the second copy mentioned above). This achieves strong exposure in all channels, and the red envelope is exposed at the top of the world channel to attract players to click to receive it. The interface simultaneously displays a screenshot of the achievement (corresponding to the first interactive image mentioned above). This is conducive to encouraging secondary dissemination, and recipients can receive additional rewards by sharing on social platforms, forming a closed loop of "dissemination-income-redissemination".

[0276] The technical solution provided by the embodiment of the present application provides two ways to send virtual resource packages: triggering within the game and triggering outside the game. Triggering within the game can attract the attention of other user accounts while the first virtual object obtains the first virtual prop. Triggering outside the game can also make the sending of virtual resource packages more flexible. In addition, within the game, the first trigger control can be used to send the virtual resource package with one click, reducing the steps required to send the virtual resource package and improving the efficiency of sending the virtual resource package.

[0277] In some embodiments, an exhibition interface is displayed, wherein a virtual display carrier is displayed in the exhibition interface, and the virtual display carrier is used to display at least one virtual prop obtained by the first user account, and the at least one virtual prop includes the first virtual prop.

[0278] The exhibition interface in this application is an interface for displaying virtual props. Optionally, the virtual display carrier is a virtual carrier for displaying virtual props. This application does not limit the type of virtual display carrier, which includes but is not limited to: display cabinets, booths, exhibition halls, etc.

[0279] Optionally, the virtual display carrier has a plurality of grids, each grid allowing a virtual prop to be placed to realize the display of the virtual prop. Optionally, the user can select the virtual prop to be displayed in the virtual display carrier.

[0280] In one possible implementation, virtual items acquired by the first user account, either within or outside of a game, are automatically displayed in a virtual display medium. Alternatively, the virtual items acquired by the first user account are displayed in descending order of value. In other words, virtual items are automatically displayed without manual user interaction.

[0281] In another possible implementation, the virtual props displayed in the virtual display carrier can be freely changed, such as increasing the displayed virtual props, reducing the displayed virtual props, changing the position of the displayed virtual props, etc.

[0282] Exemplarily, in response to an operation on any virtual prop, the display position of the virtual prop in the virtual display carrier is changed.

[0283] Alternatively, the virtual prop displayed in the virtual display carrier can be directly dragged to change its position within the virtual display carrier. Optionally, an editing control is displayed in the exhibition interface. In response to operating the editing control, the virtual prop displayed in the virtual display carrier becomes editable. This allows the user to freely edit the virtual prop displayed in the exhibition carrier, such as changing its position, deleting it, or adding a new virtual prop.

[0284] For example, Figure 13 As shown, an exhibition interface 1300 is displayed, and a virtual display carrier 1310 is displayed in the exhibition interface 1300. For example, Figure 13 As shown, the virtual props displayed in the virtual display carrier 1310 are in an editable state.

[0285] In some embodiments, in a set display area of the virtual display carrier, at least one prop promotion picture related to a set time period is displayed in a loop, and the prop promotion picture is used to promote virtual props related to the set time period.

[0286] In some embodiments, in a set display area of the exhibition interface, at least one prop promotion picture related to a set time period is displayed in a loop, and the prop promotion picture is used to promote virtual props related to the set time period.

[0287] For example, Figure 14 As shown, in the set display area 1410 of the exhibition interface 1400, at least one prop promotional picture related to the set time period is displayed in a loop.

[0288] The set period here can be considered as a preset period, such as each season in the game corresponds to a set period. For example, different set periods correspond to different virtual props to be promoted, and the prop renderings are also different.

[0289] In some embodiments, the exhibition interface also displays at least one of the following: a first interactive control for liking the exhibition interface; a second interactive control for leaving a message on the exhibition interface; a third interactive control for sharing the exhibition interface; and a fourth interactive control (i.e., the above-mentioned editing control) for editing the exhibition interface.

[0290] For example, Figure 14 As shown, the exhibition interface 1400 displays: a first interactive control 1440 , a third interactive control 1430 , and a fourth interactive control 1420 .

[0291] In some embodiments, when the first message information input through the second interactive control is related to the second virtual prop, the first message information is displayed around the second virtual prop displayed in the virtual display carrier in the first display style.

[0292] Optionally, the first message input by the user is identified, and a virtual item matching the first message is determined. The first message is displayed around the virtual item matching the first message. Optionally, the first display style can be a bubble, a superscript, or the like.

[0293] Optionally, a keyword in the first message is identified and matched with the name of each virtual prop displayed in the virtual display carrier. If a matching virtual prop exists, the first message is displayed in a first display style around a second virtual prop displayed in the virtual display carrier. Exemplarily, the first message is displayed in the form of a bubble around the second virtual prop.

[0294] For example, Figure 17 As shown, the image processing method includes the following steps.

[0295] Step 1710, loading player collection data.

[0296] Step 1720, initialize the canvas.

[0297] For example, a two-dimensional canvas is initialized, such as using animation technology to construct a two-dimensional interactive showcase, which is the above-mentioned virtual display carrier.

[0298] Step 1730: bind drag event detection.

[0299] For example, players can freely drag and adjust the position of the collection (coordinate transformation algorithm prevents overlap). That is, for the virtual props displayed in the virtual display carrier, the user is allowed to drag and change the display position.

[0300] Step 1740, rarity lighting effect rendering.

[0301] For example, different virtual props displayed in the virtual display carrier are rendered with different lighting effects. For example, different rarities trigger dynamic lighting effect filters.

[0302] Step 1750: Pull out promotional images of the current season's collections.

[0303] For example, the promotional images of the collections of the season correspond to the promotional images of the props for the preset time period mentioned above.

[0304] Step 1760: The carousel area is switched periodically.

[0305] For example, a fixed area rotates the promotional images of the collections of the season. For example, in a set display area of the exhibition interface, at least one prop promotional image related to a set time period is displayed in a loop.

[0306] Step 1770, leave a message on the message board.

[0307] Exemplarily, visitor messages are synchronized to the database in real time.

[0308] The technical solutions provided in this application's embodiments create an immersive showcase system and seasonal promotions. Flexible showcase display: Players can drag and drop items in interactive showcases in their personal lobby, with items of varying rarities triggering dynamic lighting effects. Seasonal promotional displays: A fixed area on the showcase homepage rotates promotional images of the current season's items, creating a portal for content diversion. A social visitor interaction system: Friends and passersby can visit the showcase and leave comments and likes.

[0309] The technical solution provided by the embodiments of this application uses a fully automatic highlight capture mechanism, allowing players to accurately record precious moments without any manual operation, reducing the frustration of missing highlights caused by unfamiliar operation in related technologies. For novice players, this system provides a stress-free achievement retention experience, significantly enhancing initial emotional engagement in the game. It can also restructure the achievement materialization process to achieve simple operation.

[0310] Furthermore, the one-click packaging technology streamlines the screenshot editing and layout design process, directly generating and displaying them on the settlement interface. The resulting diary-style archive integrates in-game highlights with core data (time, map, rarity), shortening the path from recording to sharing and optimizing operational fluidity.

[0311] On the other hand, it activates a self-circulating social fission cycle to enhance the effectiveness of dissemination. The full-channel exposure mechanism allows a single achievement display to transcend the limitations of the friend circle and reach a vast number of potential players. The deep integration of physical profiles and red envelope covers makes the achievement showoff both emotionally charged and disseminative. The instant rewards for external sharing form a closed loop of "dissemination-benefit-redissemination", injecting continuous new user acquisition momentum into the game.

[0312] Furthermore, it provides a highly scalable framework for multiple scenarios. Physical templates (the aforementioned virtual record carriers) can be quickly iterated into limited edition esports events and brand collaboration collections. The social fission engine is compatible with operational scenarios such as livestream interactive red envelopes and pre-order rewards. Automated capture algorithms can be applied to other highlights.

[0313] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0314] Please refer to Figure 19 , which shows a block diagram of an image processing device provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be the terminal device described above, or it can be set in the terminal device. Figure 19 As shown, the device 1900 may include: an environment display module 1910 , a prop picking module 1920 and a screen capture module 1930 .

[0315] The environment display module 1910 is configured to display a virtual environment, where the virtual environment includes a first virtual object and a first virtual prop.

[0316] The prop picking module 1920 is configured to control the first virtual object to pick up the first virtual prop in response to a picking operation on the first virtual prop.

[0317] The screen capture module 1930 is used to capture a screen containing the first virtual object and the first virtual prop during the process of the first virtual object picking up the first virtual prop, thereby obtaining a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

[0318] In some embodiments, the screen capture module 1930 is used to obtain the state of the first virtual object in at least one image frame during the process of the first virtual object picking up the first virtual prop; according to the state of the first virtual object in the at least one image frame, determine a first image frame from the at least one image frame, in which the first virtual object is in a state of holding the first virtual prop, and the first captured image is obtained by capturing the first image frame.

[0319] In some embodiments, the first image frame is an image frame in which the posture completeness of the first virtual object in the at least one image frame is greater than or equal to a preset threshold, and the posture completeness is the ratio between the number of first key points and the number of second key points, the first number of key points is the number of key points corresponding to the state of the first virtual object in the image frame, and the second number of key points is the number of key points corresponding to the state of holding the first virtual prop.

[0320] In some embodiments, the device further includes an information display module (not shown in the figure).

[0321] In some embodiments, the information display module is used to display first prompt information, where the first prompt information is used to prompt that the first captured image has been captured.

[0322] In some embodiments, the information display module is used for at least one of the following: displaying text prompt information, wherein the text prompt information is used to prompt in text form that the first captured image has been captured; displaying thumbnail prompt information, wherein the thumbnail prompt information is used to display the first captured image in the form of a thumbnail; and playing a set sound effect when the first captured image is captured.

[0323] In some embodiments, the information display module is used to add the recording element displaying the first captured image to a virtual recording carrier for display; wherein the virtual recording carrier is used to record at least one captured image and associated information of the captured image.

[0324] In some embodiments, the information display module is used to display the generated animation of the record element.

[0325] In some embodiments, the information display module is configured to add a record element displaying the first captured image to the first page or first page area of the virtual record carrier for display.

[0326] In some embodiments, an information display module is used to display associated information of the first captured image on the second page or the second page area of the virtual recording carrier, and the associated information of the first captured image includes at least one of the following: the capture time of the first captured image, the position information of the first virtual object in the first captured image in the virtual environment, the identification information of the first virtual object, and the prop information of the first virtual prop.

[0327] In some embodiments, the device further includes a message sending module (not shown in the figure).

[0328] In some embodiments, the message sending module is used to send a chat session message encapsulated with a virtual resource package to at least one chat session channel, where the virtual resource package is used to guide at least one user account in the chat session channel to pay attention to a first event, where the first event is an event in which the first virtual object obtains the first virtual prop.

[0329] In some embodiments, the information display module is used to display a first text in the chat interface corresponding to the chat session channel, where the first text is used to prompt the first event; and display a second text on the cover of the virtual resource package, where the second text is used to prompt the first event.

[0330] In some embodiments, when a first user account among the at least one user account receives the virtual resource package, the client corresponding to the first user account displays a first interactive image, which is an image related to the first event; the client also displays at least one of the following: resource prompt information and sharing prompt information, the resource prompt information is used to indicate the virtual resources obtained by the first user account, and the sharing prompt information is used to prompt the first user account to share the first interactive image to obtain additional virtual resources.

[0331] In some embodiments, the device further includes an interface display module (not shown in the figure).

[0332] In some embodiments, the interface display module is used to display a sending interface, and the sending interface includes at least one of the following: a first selection control, a second selection control, a third selection control, a fourth selection control, and a fifth selection control; wherein, the first selection control is used to select the first event from at least two events, the second selection control is used to select the at least one chat session channel from at least two chat session channels, the third selection control is used to input or select the first text from at least two texts, the fourth selection control is used to input or select the second text from at least two texts, and the fifth selection control is used to select the first interactive image from at least two images related to the first event, and the at least two images related to the first event include the first screenshot image.

[0333] In some embodiments, the message sending module is configured to, after intercepting the first captured image, execute the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel.

[0334] In some embodiments, the message sending module is used to, after exiting the game in which the first virtual object is located, respond to the sending operation for the virtual resource package and execute the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel.

[0335] In some embodiments, the interface display module is configured to display a first trigger control after the first captured image is captured.

[0336] In some embodiments, the message sending module is configured to execute the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel in response to an operation on the first trigger control.

[0337] In some embodiments, the interface display module is used to display an exhibition interface, in which a virtual display carrier is displayed, and the virtual display carrier is used to display at least one virtual prop obtained by a first user account, and the at least one virtual prop includes the first virtual prop; in response to an operation on any of the virtual props, the display position of the virtual prop in the virtual display carrier is changed.

[0338] In some embodiments, the interface display module is used to cyclically display at least one prop promotion picture related to a set time period in a set display area of the virtual display carrier, and the prop promotion picture is used to promote virtual props related to the set time period.

[0339] In the embodiment of the present application, during the process of a first virtual object picking up a first virtual prop, a screenshot of the first virtual object and the first virtual prop is captured to obtain a first captured image. By automatically capturing the image, the event of the first virtual object picking up the first virtual prop is automatically recorded, eliminating the need for manual capture by the user, thereby improving image capture efficiency. Furthermore, in this first captured image, the first virtual object is shown holding the first virtual prop. This first captured image fully reflects the fact that the first virtual object has picked up the first virtual prop, clarifies the purpose of capturing the first captured image, and enriches the image's expressive content.

[0340] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0341] Please refer to Figure 20 , which shows a block diagram of the structure of a terminal device 2000 provided by an embodiment of the present application. The terminal device 2000 may be Figure 1 The terminal device in the computer system shown is used to implement the image processing method provided in the above embodiment. Specifically:

[0342] Typically, the terminal device 2000 includes: a processor 2001 and a memory 2002 .

[0343] The processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0344] Memory 2002 may include one or more computer-readable storage media, which may be non-transitory. Memory 2002 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage media in memory 2002 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-described image processing method.

[0345] In some embodiments, terminal device 2000 may optionally include a peripheral device interface 2003 and at least one peripheral device. Processor 2001, memory 2002, and peripheral device interface 2003 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 2003 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 2004, a display screen 2005, an audio circuit 2007, and a power supply 2008.

[0346] Those skilled in the art will understand that Figure 20 The structure shown in the figure does not constitute a limitation on the terminal device 2000, and the terminal device 2000 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0347] In an exemplary embodiment, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium. When the computer program is executed by a processor, the computer program can implement the above image processing method.

[0348] In some embodiments, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0349] In an exemplary embodiment, a computer program product is further provided, comprising a computer program stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium and executes the computer program, causing the terminal device to perform the above-described image processing method.

[0350] It should be noted that the collection and processing of relevant data (including user operations, etc.) in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in instances, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0351] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

[0352] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. An image processing method, characterized in that: The method comprises: displaying a virtual environment, wherein the virtual environment includes a first virtual object and a first virtual prop; In response to a picking operation on the first virtual prop, controlling the first virtual object to pick up the first virtual prop; During the process of the first virtual object picking up the first virtual prop, a picture including the first virtual object and the first virtual prop is captured to obtain a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

2. The method according to claim 1, characterized in that The method further comprises: During the process of the first virtual object picking up the first virtual prop, obtaining a state of the first virtual object in at least one image frame; According to the state of the first virtual object in the at least one image frame, a first image frame is determined from the at least one image frame, the first virtual object in the first image frame is in a state of holding the first virtual prop, and the first captured image is captured from the first image frame.

3. The method according to claim 2, characterized in that The first image frame is an image frame in which the posture completeness of the first virtual object in the at least one image frame is greater than or equal to a preset threshold, and the posture completeness is the ratio between the number of first key points and the number of second key points. The first number of key points is the number of key points corresponding to the state of the first virtual object in the image frame, and the second number of key points is the number of key points corresponding to the state of holding the first virtual prop.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: A first prompt message is displayed, where the first prompt message is used to prompt that the first captured image has been captured.

5. The method according to claim 4, characterized in that The display of the first prompt information includes at least one of the following: Displaying text prompt information, wherein the text prompt information is used to prompt in text form that the first captured image has been captured; Displaying thumbnail prompt information, wherein the thumbnail prompt information is used to display the first captured image in the form of a thumbnail; When the first captured image is captured, a set sound effect is played.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: adding a recording element displaying the first captured image to a virtual recording medium for display; The virtual recording medium is used to record at least one captured image and associated information of the captured image.

7. The method according to claim 6, characterized in that Before adding the recording element displaying the first captured image to the virtual recording medium for display, the method further includes: Displays the generated animation of the record element.

8. The method according to claim 6 or 7, characterized in that The step of adding the recording element displaying the first captured image to a virtual recording medium for display includes: adding a recording element displaying the first captured image to a first page or a first page area of the virtual recording medium for display; The method further comprises: On the second page or the second page area of the virtual recording carrier, associated information of the first screenshot is displayed, and the associated information of the first screenshot includes at least one of the following: the capture time of the first screenshot, the position information of the first virtual object in the first screenshot in the virtual environment, the identification information of the first virtual object, and the prop information of the first virtual prop.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: A chat session message encapsulating a virtual resource package is sent to at least one chat session channel, where the virtual resource package is used to guide at least one user account in the chat session channel to pay attention to a first event, where the first event is an event in which the first virtual object obtains the first virtual item.

10. The method according to claim 9, characterized in that After sending the chat session message encapsulating the virtual resource package to at least one chat session channel, the method further includes at least one of the following: In a chat interface corresponding to the chat session channel, a first text is displayed, where the first text is used to prompt the first event; A second text is displayed on the cover of the virtual resource package, where the second text is used to prompt the first event.

11. The method according to claim 9 or 10, characterized in that When a first user account among the at least one user account receives the virtual resource package, the client corresponding to the first user account displays a first interactive image, where the first interactive image is an image related to the first event; The client further displays at least one of the following: resource prompt information and sharing prompt information, wherein the resource prompt information is used to indicate the virtual resources obtained by the first user account, and the sharing prompt information is used to prompt the first user account to share the first interactive image to obtain additional virtual resources.

12. The method according to any one of claims 9 to 11, characterized in that Before sending the chat session message encapsulating the virtual resource package to at least one chat session channel, the method further includes: Displaying a sending interface, the sending interface including at least one of the following: a first selection control, a second selection control, a third selection control, a fourth selection control, and a fifth selection control; Among them, the first selection control is used to select the first event from at least two events, the second selection control is used to select the at least one chat session channel from at least two chat session channels, the third selection control is used to input or select the first text from at least two texts, the fourth selection control is used to input or select the second text from at least two texts, and the fifth selection control is used to select the first interactive image from at least two images related to the first event, and the at least two images related to the first event include the first screenshot image.

13. The method according to any one of claims 9 to 12, characterized in that The method further comprises at least one of the following: After the first captured image is captured, the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel is performed; After exiting the game in which the first virtual object is located, in response to a sending operation for the virtual resource package, the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel is performed.

14. The method according to claim 13, characterized in that The method further comprises: After the first captured image is captured, a first trigger control is displayed; In response to the operation on the first trigger control, the step of sending the chat session message encapsulating the virtual resource package to at least one chat session channel is performed.

15. The method according to any one of claims 1 to 14, characterized in that The method further comprises: Displaying an exhibition interface, wherein the exhibition interface displays a virtual display carrier, wherein the virtual display carrier is used to display at least one virtual prop obtained by the first user account, wherein the at least one virtual prop includes the first virtual prop; In response to an operation on any of the virtual props, a display position of the virtual prop in the virtual display carrier is changed.

16. The method according to claim 15, characterized in that The method further comprises: In the set display area of the virtual display carrier, at least one prop promotion picture related to the set time period is cyclically displayed, and the prop promotion picture is used to promote the virtual props related to the set time period.

17. An image processing device, characterized in that: The device comprises: An environment display module, configured to display a virtual environment, wherein the virtual environment includes a first virtual object and a first virtual prop; a prop picking module, configured to control the first virtual object to pick up the first virtual prop in response to a picking operation on the first virtual prop; The screen capture module is configured to capture a screen containing the first virtual object and the first virtual prop during the process of the first virtual object picking up the first virtual prop, thereby obtaining a first captured image; wherein, in the first captured image, the first virtual object is in a state of holding the first virtual prop.

18. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the image processing method according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the image processing method according to any one of claims 1 to 16.

20. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. A processor reads and executes the computer program from the computer-readable storage medium to implement the image processing method according to any one of claims 1 to 16.