Method, system, device and computer equipment for displaying character information in a live broadcast room

By using face positioning technology to display character information in the video screen during online live broadcasts, it solves the problem of users having difficulty quickly understanding the characters in the live broadcast room, and improves the attractiveness and user retention rate of the live broadcast room.

CN114640863BActive Publication Date: 2024-09-24GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210211951.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2024-09-24
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

When users enter the live broadcast room in the middle of an online live broadcast, it is difficult to quickly and intuitively understand the characters in the live broadcast room, which leads to a reduction in the attractiveness of the live broadcast room and affects the user's viewing time and retention rate.

Method used

The server performs face positioning in the video screen, obtains the person's face image and generates character information, and sends it to the client. The client adds the information to the video screen to display the character information.

Benefits of technology

It enables users to quickly understand the characters in the live broadcast room, improves the attractiveness of the live broadcast room, increases the user's audience duration and retention rate, and avoids user loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114640863B
    Figure CN114640863B
Patent Text Reader

Abstract

The present application relates to the technical field of network live broadcast, and proposes a method, system, device and computer equipment for displaying character information in a live broadcast room, the method comprising: a server locates a face in a video screen, and obtains a first face image corresponding to a first character; obtains first character information corresponding to the first character according to the first face image; sends a character information display instruction to a client in the live broadcast room; the client in the live broadcast room responds to the character information display instruction, obtains target video stream data, and outputs the target video stream data to the live broadcast room interface, the target video stream data includes several frames of target video screen, the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information to the first character information display position in the video screen. Compared with the prior art, the present application can facilitate users to understand the characters appearing in the live broadcast room, and improve the attractiveness of the live broadcast room to users.
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 network live broadcast technology, and in particular, to a method, system, device and computer equipment for displaying character information in a live broadcast room. Background Art

[0002] With the rapid development of the live broadcast industry, more and more users are entering online live broadcast rooms to watch online live broadcast content. There are many types of online live broadcasts, such as shopping live broadcasts, interview live broadcasts, and entertainment live broadcasts.

[0003] During the live broadcast, the host client will collect audio and video stream data in real time and send it to the server. The audience client that joins the live broadcast room will pull the audio and video stream data from the server and then output it to the live broadcast room.

[0004] Currently, when users enter the live broadcast room in the middle of a live broadcast, it is difficult to quickly and intuitively understand the characters appearing in the live broadcast room through the currently output audio and video stream data. Therefore, it is easy to reduce the attractiveness of the live broadcast room to users, leading to user loss and affecting user viewing time and retention rate. Summary of the invention

[0005] The embodiments of the present application provide a method, system, device and computer equipment for displaying character information in a live broadcast room, which can solve the technical problem that users cannot quickly and intuitively understand the characters appearing in the live broadcast room, affecting the viewing time and retention rate of users. The technical solution is as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for displaying character information in a live broadcast room, comprising the steps of:

[0007] In response to the character recognition instruction, the server obtains the live broadcast room identifier and the video stream data corresponding to the live broadcast room identifier; wherein the video stream data includes a plurality of video frames;

[0008] The server locates faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier;

[0009] The client in the live broadcast room responds to the character information display instruction, obtains the target video stream data corresponding to the live broadcast room identifier, and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes several frames of target video screen, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0010] In a second aspect, an embodiment of the present application provides a character information display system in a live broadcast room, including: a server and a client;

[0011] The server is used to obtain a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames;

[0012] The server is used to locate faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information display instruction to a client in a live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier;

[0013] The client in the live broadcast room is used to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein, the target video stream data includes several frames of target video screen, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0014] In a third aspect, an embodiment of the present application provides a device for displaying character information in a live broadcast room, comprising:

[0015] A first acquisition unit is used for the server to acquire a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames;

[0016] The second acquisition unit is used for the server to locate faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier;

[0017] The first display unit is used for the client in the live broadcast room to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes several frames of target video screen, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0018] In a fourth aspect, an embodiment of the present application provides a computer device, a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the method described in the first aspect.

[0020] In an embodiment of the present application, when responding to a character recognition instruction, the server will determine at least one newly added character in the video screen, namely, the first character, by performing face positioning in several frames of video screen, obtain a first character image corresponding to the first character, and then obtain first character information corresponding to the first character based on the first character image corresponding to the first character, generate and send a character information display instruction to the client in the live broadcast room, so that when the client in the live broadcast room responds to the character information display instruction, it obtains target video stream data including several frames of target video screens, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen. Afterwards, the client in the live broadcast room outputs the target video stream data to the live broadcast room interface, so as to achieve the technical purpose of displaying character information in the video screen, so that users entering the live broadcast room can quickly understand the characters appearing in the live broadcast room based on the character information added in the video screen, thereby increasing the attractiveness of the live broadcast room to users, improving users' audience time and retention rate, and avoiding user loss.

[0021] For better understanding and implementation, the technical solution of the present application is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of an application scenario of the method for displaying character information in a live broadcast room provided in an embodiment of the present application;

[0023] Figure 2 A flowchart of a method for displaying character information in a live broadcast room provided in the first embodiment of the present application;

[0024] Figure 3 A schematic diagram showing the display of a character information confirmation control in a live broadcast room interface provided in an embodiment of the present application;

[0025] Figure 4 A flowchart of a method for displaying character information in a live broadcast room provided in the second embodiment of the present application;

[0026] Figure 5 A schematic diagram of displaying the first character information in a video screen provided in an embodiment of the present application;

[0027] Figure 6 A flowchart of a method for displaying character information in a live broadcast room provided in the third embodiment of the present application;

[0028] Figure 7 A flowchart of a method for displaying character information in a live broadcast room provided in the fourth embodiment of the present application;

[0029] Figure 8 Another schematic diagram of displaying the first character information in a video screen provided by an embodiment of the present application;

[0030] Fig. 9 A flowchart of a method for displaying character information in a live broadcast room provided in the fifth embodiment of the present application;

[0031] Fig.10 Another schematic diagram of displaying the first person information in a video screen provided by an embodiment of the present application;

[0032] Fig.11 A schematic diagram of the structure of a character information display system in a live broadcast room provided in a sixth embodiment of the present application;

[0033] Fig.12 A schematic diagram of the structure of a character information display device in a live broadcast room provided in the seventh embodiment of the present application;

[0034] Fig.13 A schematic diagram of the structure of a computer device provided for the eighth embodiment of the present application. DETAILED DESCRIPTION

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0036] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0037] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" / "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination".

[0038] Those skilled in the art will appreciate that the "client", "terminal" and "terminal device" used in this application include both devices with wireless signal receivers, which are devices with only wireless signal receivers without transmission capabilities, and devices with receiving and transmitting hardware, which are devices with receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such devices may include: cellular or other communication devices such as personal computers, tablet computers, which have single-line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant, personal digital assistant), which may include a radio frequency receiver, pager, Internet / intranet access, web browser, notepad, calendar and / or GPS (Global Positioning System, global positioning system) receiver; conventional laptop and / or palmtop computers or other devices, which have and / or include a conventional laptop and / or palmtop computer or other device with and / or including a radio frequency receiver. The "client", "terminal" and "terminal device" used herein may be portable, transportable, installed in a vehicle (air, sea and / or land), or suitable for and / or configured to run locally, and / or in a distributed form, at any other location on the earth and / or in space. The "client", "terminal" and "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playing terminal, for example, a PDA, a MID (Mobile Internet Device) and / or a mobile phone with a music / video playing function, or a smart TV, a set-top box and other devices.

[0039] The hardware referred to by the names such as "server", "client", and "service node" in this application is essentially a computer device with the equivalent capabilities of a personal computer. It is a hardware device with the necessary components revealed by the von Neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device. The computer program is stored in its memory, and the central processing unit calls the program stored in the external memory into the internal memory for execution, executes the instructions in the program, and interacts with the input and output devices to complete specific functions.

[0040] It should be pointed out that the concept of "server" referred to in this application can also be extended to the case of server clusters. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided. In physical space, these servers can be independent of each other but can be called through interfaces, or integrated into a physical computer or a set of computer clusters. Those skilled in the art should understand this flexibility, and should not use it to restrict the implementation of the network deployment method of this application.

[0041] See also Figure 1 , Figure 1 This is a schematic diagram of an application scenario of the method for displaying character information in a live broadcast room provided in an embodiment of the present application. The application scenario includes the anchor client 101, server 102 and audience client 103 provided in an embodiment of the present application. The anchor client 101 interacts with the audience client 103 through the server 102.

[0042] The client proposed in the embodiment of the present application includes the anchor client 101 and the audience client 103.

[0043] It should be pointed out that there are various understandings of the concept of "client" in the prior art. For example, it can be understood as an application installed in a computer device, or it can also be understood as a hardware device corresponding to a server.

[0044] In the embodiments of the present application, the so-called "client" refers to a hardware device corresponding to a server, and more specifically, refers to a computer device, such as a smart phone, a smart interactive tablet, and a personal computer.

[0045] When the client is a mobile device such as a smartphone or smart interactive tablet, the user can install a matching mobile application on the client or access a Web application on the client.

[0046] When the client is a non-mobile device such as a personal computer (PC), the user can install a matching PC-side application on the client, and can also access the Web-side application on the client.

[0047] Among them, mobile applications refer to applications that can be installed on mobile devices, PC applications refer to applications that can be installed on non-mobile devices, and Web applications refer to applications that need to be accessed through a browser.

[0048] Specifically, web applications can be divided into mobile versions and PC versions based on the differences in client types. The page layout methods and server support that can be provided between the two may be different.

[0049] In the embodiment of the present application, the types of live broadcast applications provided to users are divided into mobile live broadcast applications, PC live broadcast applications and Web live broadcast applications. Users can choose the way to participate in the live broadcast independently according to the different types of clients they use.

[0050] In this application, the client may be divided into a host client 101 and a viewer client 103 according to different user identities of the client.

[0051] Among them, the anchor client 101 refers to the end that sends the live broadcast video, which is usually the client used by the anchor (ie, the live broadcast anchor user) in the live broadcast.

[0052] The audience client 103 refers to an end for receiving and watching live network video, and is generally a client used by the audience (ie, live broadcast audience user) who watches the video in the live network broadcast.

[0053] The hardware pointed to by the host client 101 and the audience client 103 is essentially a computer device, specifically, Figure 1 As shown, it can be a computer device of the type of a smart phone, a smart interactive tablet, a personal computer, etc. Both the host client 101 and the audience client 103 can access the Internet through a known network access method and establish a data communication link with the server 102.

[0054] Server 102 is a service server, which can be responsible for further connecting related audio data servers, video streaming servers and other servers that provide related support, so as to form a logically related service cluster to serve related terminal devices, such as Figure 1 The host client 101 and the audience client 103 shown in FIG. 1 provide services.

[0055] In the embodiment of the present application, the host client 101 and the audience client 103 can join the same live broadcast room (i.e., live broadcast channel), which refers to a chat room implemented by Internet technology, usually with audio and video broadcast control functions. The host user broadcasts live in the live broadcast room through the host client 101, and the audience of the audience client 103 can log in to the server 102 to enter the live broadcast room to watch the live broadcast.

[0056] In the live broadcast room, the host and the audience can interact through known online interactive methods such as voice, video, and text. Generally, the host performs programs for the audience in the form of audio and video streams, and economic transactions can also be generated during the interaction. Of course, the application form of the live broadcast room is not limited to online entertainment, but can also be extended to other related scenarios, such as video conferencing scenarios, product promotion and sales scenarios, and any other scenarios that require similar interactions.

[0057] Specifically, the process of watching live broadcast by the audience is as follows: the audience can click to access the live broadcast application installed on the audience client 103, and choose to enter any live broadcast room, triggering the audience client 103 to load the live broadcast room interface for the audience. The live broadcast room interface includes several interactive components, such as: video window, virtual gift bar and public screen, etc. By loading these interactive components, the audience can watch the live broadcast in the live broadcast room and conduct various online interactions. The online interaction methods include but are not limited to giving virtual gifts and speaking on the public screen.

[0058] Currently, in online live broadcast scenarios, anchors often invite guests to enter the live broadcast room for live interviews, game broadcasts, product sales broadcasts, etc. Therefore, it is difficult for viewers entering the live broadcast room to quickly understand the guests (referred to as characters in the embodiments of this application) that appear in the live broadcast room, which reduces the attractiveness of the live broadcast room to users.

[0059] In addition, online live broadcast platforms also provide some carousel live broadcast rooms (i.e., carousel channels), which can play audio and video stream data collected by different anchor clients in sequence. When viewers enter the carousel live broadcast room, on the one hand, they cannot understand the live broadcast theme in advance, and on the other hand, it is difficult for them to quickly understand the characters appearing in the live broadcast room, which will reduce the attractiveness of the carousel live broadcast room to users.

[0060] Based on the above, in order to solve the technical problem that users cannot quickly and intuitively understand the characters appearing in the live broadcast room, which affects the user's viewing time and retention rate, the embodiment of the present application provides a method for displaying character information in the live broadcast room. Figure 2 , Figure 2 The flowchart of the method for displaying character information in a live broadcast room provided by the first embodiment of the present application includes the following steps:

[0061] S101: The server obtains a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames.

[0062] S102: The server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0063] S103: The client in the live broadcast room responds to the character information display instruction, obtains the target video stream data corresponding to the live broadcast room identifier, and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes several frames of target video screens, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0064] In this embodiment, the method for displaying character information in a live broadcast room is described from two execution entities, namely, a client and a server. The client includes a host client and a viewer client.

[0065] Regarding step S101, the server responds to the character recognition instruction and obtains the live broadcast room identifier and the video stream data corresponding to the live broadcast room identifier.

[0066] Among them, the character recognition instruction at least includes a live broadcast room identifier, and the live broadcast room identifier is a unique identifier corresponding to the live broadcast room (ie, live broadcast channel).

[0067] The server responds to the character recognition instruction, parses the character recognition instruction, obtains the live broadcast room identifier, and then obtains the video stream data corresponding to the live broadcast room identifier based on the live broadcast room identifier.

[0068] The video stream data corresponding to the live broadcast room identifier includes several frames of video images corresponding to the live broadcast room identifier.

[0069] The following will explain under what conditions the server will be triggered to generate the character recognition instruction.

[0070] In an optional embodiment, step S101 includes steps S1011 to S1012, which are specifically as follows:

[0071] S1011: The server obtains audio stream data corresponding to the live broadcast room identifier; wherein the audio stream data includes several audio segments.

[0072] S1012: The server monitors whether the sentences corresponding to the several audio segments include a preset first sentence or whether the sentences corresponding to the several audio segments include a second sentence that is semantically similar to the preset first sentence. If so, the server issues a character recognition instruction.

[0073] The server obtains audio stream data corresponding to the live broadcast room identifier, the audio stream data includes several audio segments, and the server monitors the several audio segments.

[0074] Specifically, the server first converts several audio segments into corresponding sentences, and monitors whether the sentences corresponding to the several audio segments contain a preset first sentence. If so, the server generates a character recognition instruction based on the live broadcast room identifier and issues the character recognition instruction.

[0075] Alternatively, the server first converts several audio segments into corresponding sentences, performs semantic analysis on the sentences corresponding to the several audio segments, and monitors whether the sentences corresponding to the several audio segments contain a second sentence that is semantically similar to a preset first sentence. If so, the server generates a character recognition instruction based on the live broadcast room identifier and issues the character recognition instruction.

[0076] Among them, the preset first sentence can be customized by the anchor, or it can be set by the server according to the current live broadcast type.

[0077] For example: if the current live broadcast type is an interview live broadcast, the preset first sentence may be "Please welcome guest xxx", etc. This is just an example. In actual application, multiple first sentences can be preset to trigger the server to issue a character recognition instruction.

[0078] In another optional embodiment, the server obtains a live broadcast room identifier in response to an audio and video stream switching instruction, and generates a character recognition instruction based on the live broadcast room identifier.

[0079] The audio and video stream switching instruction is generated when the server confirms that the live broadcast room identifier is the target live broadcast room identifier and the audio and video stream data of the rotation in the live broadcast room is switched from the audio and video stream data collected by the first anchor client to the audio and video stream data collected by the second anchor client. The live broadcast room corresponding to the target live broadcast room identifier is the rotation live broadcast room.

[0080] In this embodiment, when the audio and video stream data played in the live broadcast room is switched, an audio and video stream switching instruction is generated, so that the server responds to the audio and video stream switching instruction and generates a character recognition instruction. It can be confirmed that the method proposed in the embodiment of the present application can be applied to the carousel scenario.

[0081] Regarding step S102, the server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; and generates and sends a character information display instruction to a client in the live broadcast room.

[0082] Among them, the first character includes at least one character newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0083] Any existing face positioning algorithm can be used for face positioning, and there is no limitation here. The face positioning algorithm will output the face area in the video picture, and the face area is determined by the face position and the face size. In the embodiment of the present application, the server will perform face positioning every time it responds to the character recognition instruction. To avoid repeatedly obtaining character information, the server only obtains the face area corresponding to the first character, that is, the face information corresponding to at least one character newly added in the video picture, and obtains the first face image corresponding to the first character according to the face area corresponding to the first character and the video picture.

[0084] The following describes how to obtain first person information corresponding to the first person based on the first face image corresponding to the first person.

[0085] In an optional embodiment, obtaining first person information corresponding to the first person according to the first face image corresponding to the first person in S102 includes the steps of:

[0086] S1021: The server searches a pre-established face image library according to a first face image corresponding to a first person; wherein the face image library includes person information corresponding to a number of persons and face images corresponding to a number of persons.

[0087] S1022: If the first facial image corresponding to the first person matches the facial image corresponding to any person, the server obtains the corresponding person information as the first person information corresponding to the first person.

[0088] In this embodiment, a face image library is pre-established, and the type of the face image library and how the information is stored are not limited herein.

[0089] The pre-established face image library includes character information corresponding to a number of characters and face images corresponding to a number of characters. It is understandable that each character in the pre-established face image library has a corresponding character identifier, and the server searches the pre-established face image library according to the first face image corresponding to the first character, and determines whether the first face image corresponding to the first character matches the face image corresponding to any character. If so, the server obtains the corresponding character identifier, and according to the character identifier, obtains the character information corresponding to the character identifier as the first character information corresponding to the first character.

[0090] By displaying the first person information, the user can learn about the first person in a timely manner. The specific contents included in the first person information will be described later.

[0091] If not, that is, if the first facial image corresponding to the first person does not match the facial image corresponding to any person, the method further includes the steps of:

[0092] S1023: The server searches an external image library according to the first facial image corresponding to the first person; wherein the server establishes a data connection with the external image library, and the external image library includes at least a number of images and text information related to the images.

[0093] S1024: If the first facial image corresponding to the first person matches the face presented in any image in the external image library, the server obtains text information related to the image in the external image library, and obtains the first person information corresponding to the first person based on the text information related to the image.

[0094] If the person information corresponding to the first person is not obtained in the pre-established face image library, the server will also establish a data connection with the external image library and search the external image library according to the first face image corresponding to the first person.

[0095] The content stored in the external image library is relatively complex, but it must at least include several images and text information related to the images.

[0096] Afterwards, the server determines whether the first facial image corresponding to the first person matches the face presented in any image in the external image library. If so, the server obtains text information related to the image in the external image library, and obtains the first person information corresponding to the first person based on the text information related to the image.

[0097] In an optional embodiment, the server may obtain text information related to the image in an external image library according to a preset semantic analysis algorithm, and then search the text information related to the image through a search website to obtain the first character information corresponding to the first character.

[0098] In this embodiment, when the server cannot obtain the character information corresponding to the first person based on the pre-established face image library, the server can further expand the search path to meet the search needs for character information to the greatest extent, and the first character information corresponding to the searched first person can also further expand the pre-established face image library.

[0099] In an optional embodiment, since the first character information corresponding to the acquired first character is prone to errors, before generating and sending the character information display instruction to the client in the live broadcast room in S102, the steps include:

[0100] The server generates and sends a character information confirmation instruction to the anchor client according to the first character information corresponding to the first character;

[0101] The anchor client responds to the character information confirmation instruction, obtains the first character information and character information confirmation control data corresponding to the first character, and displays the character information confirmation control showing the first character information corresponding to the first character in the live broadcast room interface according to the first character information and character information confirmation control data corresponding to the first character; the anchor client responds to the confirmation instruction for the first character information corresponding to the first character, and sends a character information confirmation completion instruction to the server.

[0102] Among them, the anchor client is the anchor client corresponding to the live broadcast room identifier. It can be understood that the anchor client refers to the anchor client corresponding to the anchor who created the live broadcast room.

[0103] The character information confirmation control data includes display data of the character information confirmation control and function data of the character information confirmation control.

[0104] The display data of the character information confirmation control is used to confirm the display style, display position and display size of the character information confirmation control. The functional data of the character information confirmation control is used to realize the display function of the character information and trigger the anchor client to generate a confirmation instruction for the first character information corresponding to the first character.

[0105] The anchor client displays the character information confirmation control with the first character information corresponding to the first character in the live broadcast room interface according to the first character information corresponding to the first character and the character information confirmation control data.

[0106] See also Figure 3 , Figure 3 A schematic diagram of the display of the character information confirmation control provided in the embodiment of the present application in the live broadcast room interface. It can be seen that a character information confirmation control 31 is displayed in the live broadcast room interface 3, and the character information confirmation control 31 displays the first character information 311 corresponding to the first character and a confirmation sub-control 312. In addition, prompt information is also displayed. For example, in a live interview, the prompt information may be "Please confirm whether the guest is "xxx"". By clicking the confirmation sub-control 312, the host can trigger the host client to generate a confirmation instruction for the first character information corresponding to the first character.

[0107] In an optional embodiment, before generating and sending the character information display instruction to the client in the live broadcast room in S102, the steps include: the anchor client receives the function activation information and function activation confirmation control data sent by the server, and displays the function activation confirmation control with the function activation information in the live broadcast room interface according to the function activation information and the function activation confirmation control data; the anchor client responds to the confirmation instruction to activate the character information display function in the live broadcast room, and sends the character information display activation instruction to the server.

[0108] Among them, no further explanation will be given about the anchor client.

[0109] The function activation information is used to prompt the anchor to enable the character information display function in the live broadcast room.

[0110] The function enablement confirmation control data includes function data of the function enablement confirmation control and display data of the function enablement confirmation control.

[0111] The display data of the function enable confirmation control is used to determine the display style, display position, display size, etc. of the function enable confirmation control.

[0112] The function data of the function activation confirmation control is used to realize the display function of the function activation information and trigger the anchor client to generate a confirmation instruction to activate the character information display function in the live broadcast room.

[0113] In this embodiment, before generating a character information display instruction, the anchor is required to confirm whether to turn on the character information display function, thereby further improving the anchor's broadcast experience and giving him more control over the functions of the live broadcast room.

[0114] Regarding step S103, the client in the live broadcast room responds to the character information display instruction, obtains the target video stream data corresponding to the live broadcast room identifier, and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier.

[0115] Among them, the clients in the live broadcast room include the anchor client and the audience client.

[0116] The target video stream data includes several frames of target video images.

[0117] The target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0118] In this embodiment, there is no limitation on how to obtain the first character information display position corresponding to the first character, and how to add the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, which will be described in detail in subsequent embodiments.

[0119] After the client in the live broadcast room outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room logo, the anchor and the audience in the live broadcast room can see the first person information corresponding to the first person.

[0120] In an embodiment of the present application, when responding to a character recognition instruction, the server will determine at least one newly added character in the video screen, namely, the first character, by performing face positioning in several frames of video screen, obtain a first character image corresponding to the first character, and then obtain first character information corresponding to the first character based on the first character image corresponding to the first character, generate and send a character information display instruction to the client in the live broadcast room, so that when the client in the live broadcast room responds to the character information display instruction, it obtains target video stream data including several frames of target video screens, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen. Afterwards, the client in the live broadcast room outputs the target video stream data to the live broadcast room interface, so as to achieve the technical purpose of displaying character information in the video screen, so that users entering the live broadcast room can quickly understand the characters appearing in the live broadcast room according to the character information added in the video screen, thereby increasing the attractiveness of the live broadcast room to users, improving users' audience time and retention rate, and avoiding user loss.

[0121] In an optional embodiment, since the size of the video screen is limited, it is difficult for the user to further understand the character information. Based on this, the method further includes the steps of:

[0122] S104: The client in the live broadcast room responds to the trigger instruction of the first character information corresponding to the first character, obtains the second character information corresponding to the first character and the second character information display control data, and displays the second character information display control presenting the second character information corresponding to the first character in the live broadcast room interface according to the second character information corresponding to the first character and the second character information display control data; wherein the second character information corresponding to the first character is the character introduction details information corresponding to the first character.

[0123] The second character information corresponding to the first character may be character introduction details information obtained after the server searches an existing search website according to the first character information.

[0124] The user can trigger the client to generate a trigger instruction for the first character information corresponding to the first character by clicking on the first character information corresponding to the first character displayed in the live broadcast room interface. The client responds to the trigger instruction by obtaining the second character information and the second character information display control data corresponding to the first character, and displays the second character information display control with the second character information corresponding to the first character in the live broadcast room interface according to the second character information and the second character information display control data corresponding to the first character.

[0125] The second character information display control data includes display data of the second character information display control and function data of the second character information display control.

[0126] The display data of the second character information display control is used to determine the display style, display position, display size, etc. of the second character information display control.

[0127] The functional data of the second character information display control is used to realize the display function of the second character information.

[0128] In this embodiment, the user can further view the detailed introduction of the first character by clicking on the first character information corresponding to the first character displayed in the live broadcast room interface, which is more conducive to the user's understanding of the characters in the live broadcast room, not only improving the interactive experience, but also improving the retention rate and viewing time of the live broadcast room.

[0129] In an optional embodiment, before the client in the live broadcast room responds to the character information display instruction in S103, the following steps are included:

[0130] If the live broadcast room identifier is the target live broadcast room identifier, the server obtains the third character information corresponding to the first character based on the first facial image corresponding to the first character; wherein the third character information includes the number of character followers corresponding to the first character, the probability of winning the battle corresponding to the first character, and the value of the virtual gifts received corresponding to the first character.

[0131] After the client in the live broadcast room responds to the character information display instruction in S103, the steps include:

[0132] The client in the live broadcast room adds the third person information to the target video screen, obtains the target video screen with the third person information added, and outputs the target video screen with the third person information added to the live broadcast room interface.

[0133] The live broadcast room corresponding to the target live broadcast room identifier is the carousel live broadcast room. The carousel live broadcast room has been explained above and will not be repeated here.

[0134] In this embodiment, the server further obtains the third person information corresponding to the first person based on the first facial image corresponding to the first person.

[0135] In a live broadcast room, generally speaking, the host's image is presented in the video screen, so the first character generally refers to the host who created the live broadcast room. In an optional embodiment, the third character information corresponding to the first character includes the number of character followers corresponding to the first character, the probability of winning the battle corresponding to the first character, and the value of the virtual gifts received corresponding to the first character.

[0136] In order to help viewers quickly understand the anchor, the client in the live broadcast room will add the third person information to the target video screen, obtain the target video screen with the third person information added, and output the target video screen with the third person information added to the live broadcast room interface.

[0137] In an optional embodiment, the client in the live broadcast room adds the third person information to the target video screen, including the steps of:

[0138] The client in the live broadcast room obtains the display parameters corresponding to each piece of third character information, and adds the third character information to the target video screen in turn according to the display parameters corresponding to each piece of third character information.

[0139] In this embodiment, each third character information is displayed in turn on the target video screen. The specific method of displaying in turn is determined based on the display parameters corresponding to each third character information, and the display parameters include display order, display duration, display times, etc.

[0140] The display parameters corresponding to each piece of third character information are determined according to the user viewing information corresponding to each piece of third character information.

[0141] Specifically, for each third character information displayed in turn, the client will collect the viewing times corresponding to each third character information, obtain the user viewing information corresponding to each third character information, and send it to the server. The server counts the user viewing information corresponding to each third character information sent by different clients, and then determines the display parameters corresponding to each third character information based on the user viewing information corresponding to each third character information obtained by counting.

[0142] For example, if the user views the winning probability of the first character more times, the display order can be adjusted to the first place, the display time can be extended, and the display times can be increased.

[0143] See also Figure 4 , Figure 4 The flowchart of the method for displaying character information in a live broadcast room provided in the second embodiment of the present application includes the following steps:

[0144] S201: The server obtains a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames.

[0145] S202: The server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0146] S203: The client in the live broadcast room responds to the character information display instruction, obtains the first character information corresponding to the first character and several frames of video images; determines the first character information display position corresponding to the first character in the video image, adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video image, and obtains target video stream data including several frames of target video images; outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier.

[0147] In this embodiment, steps S201 to S202 are the same as steps S101 to S102, and the difference lies in step S203. In this embodiment, the executing entity for determining the first character information display position corresponding to the first character in the video screen and the executing entity for adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen is the client in the live broadcast room.

[0148] In an optional embodiment, the anchor client may respond to the character information display instruction and obtain the first character information corresponding to the first character and several frames of video images; the anchor client determines the display position of the first character information corresponding to the first character in the video image, adds the first character information corresponding to the first character to the display position of the first character information corresponding to the first character in the video image, obtains the target video stream data including several frames of target video images, and sends the target video stream data to the server. Afterwards, the audience client in the live broadcast room obtains the target video stream data corresponding to the live broadcast room identifier from the server, and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier.

[0149] In the subsequent detailed description, regarding how to determine the display position of the first character information corresponding to the first character in the video screen, and how to add the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, it can be executed by the anchor client or by the clients in the live broadcast room. In the embodiments of the present application, only the perspective of execution by the clients in the live broadcast room is used for specific description, and the perspective of execution by the anchor client will not be repeated, and can be used for reference.

[0150] In an optional embodiment, in S203, adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen includes the steps of:

[0151] S2031: The client in the live broadcast room obtains the first character information display data; wherein the first character information display data is used to confirm the display style of the first character name and the first character identity, and the character information display data is the character information display data configured by default in the server or the character information display data customized by the anchor.

[0152] S2032: The client in the live broadcast room adds the first character name and the first character identity to the first character information display position corresponding to the first character in the video screen in a display style according to the character information display data.

[0153] In this embodiment, the first character information corresponding to the first character includes the first character name and the first character identity.

[0154] The display style of the first character information is determined based on the first character information display data.

[0155] The character information display data is the character information display data configured by default in the server or the character information display data customized by the anchor.

[0156] For example, the character information display data may limit the display size of the first character name and the display size of the first character identity, as well as the distance between the left border of the first character identity and the right border of the first character name, etc.

[0157] See also Figure 5 , Figure 5 A schematic diagram of displaying the first character information in a video screen provided in an embodiment of the present application. It can be seen that the first character information is displayed in the video screen 5, and the first character information includes the first character name 51 and the first character identity 52. ​​The display size of the first character name 51 is larger than the display size of the first character identity 52, and there is a certain distance between the left border of the first character identity 52 and the right border of the first character name 51.

[0158] In this embodiment, the display style of the first character information can be controlled by configuring the character information display data, thereby further improving the display effect of the character information.

[0159] In an optional embodiment, after S102 outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier, the steps include:

[0160] S204: The client in the live broadcast room obtains the second character information display data and the display duration; wherein the second character information display data is used to confirm the target display duration of the first character information corresponding to the first character;

[0161] S205: If the display time reaches the target display time, the client in the live broadcast room cancels adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0162] In this embodiment, the second character information display data is used to confirm the target display time length of the first character information corresponding to the first character.

[0163] The displayed time is the displayed time corresponding to the first character information.

[0164] If the display time reaches the target display time, the client in the live broadcast room cancels adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0165] In this embodiment, the display time of the first character information can be adjusted by configuring the second character information display data to avoid long-term display of the first character information and interference with viewing of the video screen, thereby improving the user's live broadcast experience.

[0166] See also Figure 6 , Figure 6 The flowchart of the method for displaying character information in a live broadcast room provided in the third embodiment of the present application includes the following steps:

[0167] S301: The server responds to the character recognition instruction and obtains the live broadcast room identifier and the video stream data corresponding to the live broadcast room identifier; wherein the video stream data includes several frames of video images.

[0168] S302: The server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0169] S303: The client in the live broadcast room responds to the character information display instruction and obtains the first character information and several frames of video images corresponding to the first character.

[0170] S304: The client in the live broadcast room obtains a first facial image corresponding to the first person, determines the first person in several frames of video images based on the first facial image corresponding to the first person, and obtains a first person area corresponding to the first person in the video images.

[0171] S305: The client in the live broadcast room obtains a display position of the first character information according to the video screen and the first character area corresponding to the first character.

[0172] S306: The client in the live broadcast room adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, and obtains target video stream data including several frames of target video screen; and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier.

[0173] In this embodiment, steps S301 to S302 are the same as steps S201 to S202, and the difference lies in steps S303 to S306, which are described in detail below.

[0174] Steps S303 to S306 are used for the client in the live broadcast room to obtain the first person area corresponding to the first person in the video screen. The client in the live broadcast room can obtain the first person information corresponding to the first person from the server, but the client in the live broadcast room cannot confirm which person in the video screen is the first person, and thus cannot obtain the first person area corresponding to the first person in the video screen.

[0175] Regarding steps S303 to S304, the client in the live broadcast room responds to the character information display instruction, obtains the first character information and several frames of video images corresponding to the first character, and the client in the live broadcast room obtains the first facial image corresponding to the first character, determines the first character in several frames of video images based on the first facial image corresponding to the first character, and obtains the first character area corresponding to the first character in the video images.

[0176] The first facial image corresponding to the first person can be obtained by the client in the live broadcast room by performing face positioning in several frames of video images, or can be retrieved by the client in the live broadcast room from the server.

[0177] According to the first facial image corresponding to the first person, the client in the live broadcast room can determine the first person in several frames of video images, thereby obtaining the first person area corresponding to the first person in the video images.

[0178] Regarding step S305, the client in the live broadcast room obtains the first character information display position according to the video screen and the first character area corresponding to the first character.

[0179] In this embodiment, the first character information display position may be any position within the first character area corresponding to the first character.

[0180] In the fourth embodiment and the fifth embodiment, it will be described in detail how to determine the first character information display position in the first character area corresponding to the first character, so as to achieve a better character information display effect and improve the user's live viewing experience.

[0181] See also Figure 7 , Figure 7 The flowchart of the method for displaying character information in a live broadcast room provided in the fourth embodiment of the present application includes the following steps:

[0182] S401: The server obtains a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames.

[0183] S402: The server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0184] S403: The client in the live broadcast room responds to the character information display instruction and obtains the first character information and several frames of video images corresponding to the first character.

[0185] S404: The client in the live broadcast room obtains a first character region corresponding to the first character in the video screen, and obtains a first character image corresponding to the first character according to the video screen and the first character region corresponding to the first character.

[0186] S405: The client in the live broadcast room inputs the first person image corresponding to the first person into a pre-trained first multi-head output network to obtain a first output result corresponding to the first person; wherein the first output result includes a chest area corresponding to the first person; the chest area corresponding to the first person is determined by the position of the chest area corresponding to the first person and the size of the chest area corresponding to the first person.

[0187] S406: The client in the live broadcast room obtains the display position of the first character information in the first character image according to the position of the chest area corresponding to the first character, and obtains the display position of the first character information according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0188] S407: The client in the live broadcast room adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, and obtains target video stream data including several frames of target video screen; and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room logo.

[0189] In this embodiment, steps S401 to S402 and S407 are the same as steps S301 to S202 and S306, and the difference lies in steps S403 to S406, which are described in detail below.

[0190] Regarding steps S403 to S404, the client in the live broadcast room responds to the character information display instruction, obtains the first character information corresponding to the first character and several frames of video images, and the client in the live broadcast room obtains the first character area corresponding to the first character in the video image, and obtains the first character image corresponding to the first character according to the video image and the first character area corresponding to the first character.

[0191] Specifically, the client in the live broadcast room can first perform live body recognition in several frames of video images, identify the live body area, and then obtain the first person avatar corresponding to the first person. According to the first person avatar corresponding to the first person, the first live body area is obtained as the first person area corresponding to the first person in the video image.

[0192] The matching degree between the character portrait displayed in the first living area and the first character portrait must reach a preset matching degree threshold.

[0193] The first person region includes a position of the first person region in the video picture and a size of the first person region in the video picture.

[0194] The client in the live broadcast room obtains the first person image corresponding to the first person according to the video screen and the first person area corresponding to the first person.

[0195] Regarding step S405, the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained first multi-head output network to obtain a first output result corresponding to the first character.

[0196] The first output result includes a chest area corresponding to the first person, and the chest area corresponding to the first person is determined by a position of the chest area corresponding to the first person and a size of the chest area corresponding to the first person.

[0197] The pre-trained first multi-head output network can be used to extract the chest area. The specific training process of the pre-trained first multi-head output network will be described later.

[0198] Regarding step S406, the client in the live broadcast room obtains the display position of the first character information in the first character image based on the chest area position corresponding to the first character, and obtains the display position of the first character information based on the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0199] In this embodiment, the client in the live broadcast room can directly use the chest area position corresponding to the first person as the display position of the first person information in the first person image.

[0200] Afterwards, the client in the live broadcast room obtains the display position of the first character information according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0201] It can be understood that the display position of the first character image in the video picture is also the position of the aforementioned first character area.

[0202] See also Figure 8 , Figure 8 Another schematic diagram of displaying the first person information in a video screen provided by an embodiment of the present application. Figure 8 In the video picture 8, the first person information 81 is in the first person area and is displayed on the chest of the first person.

[0203] In this embodiment, by limiting the display position of the first character's information, the first character's information can be displayed on the chest of the first character. Then, for the user, it can more intuitively confirm that the first character's information is related to the first character, which is conducive to improving user experience. In addition, displaying the first character's information on the chest of the first character can avoid affecting the user's normal viewing of the live content.

[0204] In an optional embodiment, S405, the client in the live broadcast room inputs the first person image corresponding to the first person into a pre-trained first multi-head output network, including the steps of:

[0205] S4051: The client in the live broadcast room obtains the human body torso points presented in the first character image according to the first character image corresponding to the first character.

[0206] S4052: The client in the live broadcast room confirms whether the upper body area corresponding to the first person is presented in the first person image based on the human body trunk points presented in the first person image.

[0207] S4053: If yes, the client in the live broadcast room inputs the first person image corresponding to the first person into the pre-trained first multi-head output network.

[0208] S4054: If not, the client in the live broadcast room obtains the head area position corresponding to the first person in the first person image; obtains the display position of the first person information in the first person image according to the head area position corresponding to the first person in the first person image, and obtains the display position of the first person information according to the display position of the first person information in the first person image and the display position of the first person image in the video screen.

[0209] Regarding steps S4051 to S4052, the client in the live broadcast room first determines whether the upper body area corresponding to the first person is presented in the first person image.

[0210] Specifically, the client in the live broadcast room first obtains the human body torso points presented in the first character image according to the first character image corresponding to the first character.

[0211] It can adopt any existing human body trunk recognition algorithm to obtain the human body trunk points presented in the first person image.

[0212] Afterwards, the client in the live broadcast room confirms whether the upper body area corresponding to the first person is presented in the first person image based on the human torso points presented in the first person image.

[0213] If the human body torso points presented in the first person image include human upper body torso points, it is confirmed that an upper body region corresponding to the first person is presented in the first person image.

[0214] Regarding step S4053, if the upper body area corresponding to the first person is presented in the first person image, the client in the live broadcast room inputs the first person image corresponding to the first person into the pre-trained first multi-head output network.

[0215] Regarding step S4054, if the upper body area corresponding to the first person is not presented in the first person image, the client in the live broadcast room obtains the position of the head area corresponding to the first person in the first person image; based on the position of the head area corresponding to the first person in the first person image, the display position of the first person information in the first person image is obtained; based on the display position of the first person information in the first person image and the display position of the first person image in the video screen, the display position of the first person information is obtained.

[0216] That is to say, when the upper body area corresponding to the first person is not presented in the first person image, the first person information cannot be displayed on the chest of the first person. At this time, the first person information will be displayed on the head of the first person by obtaining the position of the head area corresponding to the first person in the first person image, for example: above the head or on the left or right sides of the head, etc.

[0217] In an optional embodiment, the first output result also includes an arm region corresponding to the first person, and the arm region corresponding to the first person is determined by the position of the arm region corresponding to the first person and the size of the arm region corresponding to the first person. After obtaining the first output result corresponding to the first person in S405, the following steps are included:

[0218] S408: The client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the chest area corresponding to the first person according to the size of the chest area corresponding to the first person and the size of the video screen.

[0219] S406 The client in the live broadcast room obtains the display position of the first person information in the first person image according to the chest area position corresponding to the first person, including the steps of:

[0220] S4061: If the area ratio of the chest area corresponding to the first character exceeds a preset first ratio, the client in the live broadcast room obtains the display position of the first character information in the first character image according to the position of the chest area corresponding to the first character.

[0221] S4062: If the area ratio of the chest area corresponding to the first character does not exceed the preset first ratio, the client in the live broadcast room obtains the area ratio of the arm area corresponding to the first character according to the size of the arm area corresponding to the first character and the size of the video screen; if the area ratio of the arm area corresponding to the first character exceeds the preset second ratio, the client in the live broadcast room obtains the display position of the first character information in the first character image according to the arm area position corresponding to the first character; if the area ratio of the arm area corresponding to the first character does not exceed the preset second ratio, the client in the live broadcast room obtains the position of the head area corresponding to the first character in the first character image; obtains the display position of the first character information in the first character image according to the head area position corresponding to the first character in the first character image.

[0222] Regarding step S408, the client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the chest area corresponding to the first character based on the ratio between the size of the chest area corresponding to the first character and the size of the video screen.

[0223] Regarding step S4061, if the area ratio of the chest area corresponding to the first character exceeds the preset first ratio, it means that the chest area corresponding to the first character presented in the video screen can ensure the normal display of the first character information. Therefore, the client in the live broadcast room will obtain the display position of the first character information in the first character image based on the position of the chest area corresponding to the first character.

[0224] Regarding step S4062, if the area ratio of the chest area corresponding to the first person does not exceed the preset first ratio, it means that the chest area corresponding to the first person presented in the video screen is too small, and the normal display of the first person information cannot be ensured. For example: when the first person faces the camera that collects video stream data sideways, the area ratio of the chest area corresponding to the first person will be too small.

[0225] Since the first output result also includes the arm area corresponding to the first person, the arm area corresponding to the first person is determined by the position of the arm area corresponding to the first person and the size of the arm area corresponding to the first person. Therefore, the client in the live broadcast room can obtain the area ratio of the arm area corresponding to the first person according to the size of the arm area corresponding to the first person and the size of the video screen.

[0226] If the area ratio of the arm region corresponding to the first person exceeds the preset second ratio, the client in the live broadcast room obtains the display position of the first person information in the first person image according to the position of the arm region corresponding to the first person. That is, the first person information is displayed on the arm of the first person.

[0227] If the area ratio of the arm area corresponding to the first person does not exceed the preset second ratio, the client in the live broadcast room obtains the head area position corresponding to the first person in the first person image; and obtains the display position of the first person information in the first person image according to the head area position corresponding to the first person in the first person image. That is, the first person information is displayed at the head of the first person, for example, above the head or on the left or right side of the head.

[0228] It is understandable that displaying the first character information on the chest of the first character is more suitable for horizontal layout of the first character information, and displaying the first character information on the arm of the first character is more suitable for vertical layout of the first character information. How to layout can be determined by the client according to the display size of the chest area and the display size of the arm area.

[0229] In an optional embodiment, the first output result also includes whether the upper body clothing of the first character is solid color clothing and the color of the solid color clothing. If the area ratio of the chest area corresponding to the first character exceeds a preset first ratio and the upper body clothing of the first character is solid color clothing, the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the solid color clothing.

[0230] Specifically, the display color of the first character information corresponding to the first character in the video screen may be a contrasting color of the solid-color clothing.

[0231] The following describes the training process of the first multi-head output network. First, it is necessary to collect several character training images, which must show the upper body area. Then, the character training images are labeled. The labeled content includes: chest area, arm area, whether the upper body clothing is solid color clothing, and the color of the solid color clothing. Then, the first multi-head output network is trained through the existing neural network training algorithm until the training results meet the preset training termination conditions, thereby obtaining the pre-trained first multi-head output network.

[0232] See also Fig. 9 , Fig. 9 The flowchart of the method for displaying character information in a live broadcast room provided in the fifth embodiment of the present application includes the following steps:

[0233] S501: The server obtains a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames.

[0234] S502: The server performs face positioning in several frames of video to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier.

[0235] S503: The client in the live broadcast room responds to the character information display instruction and obtains the first character information and several frames of video images corresponding to the first character.

[0236] S504: The client in the live broadcast room obtains a first character region corresponding to the first character in the video screen, and obtains a first character image corresponding to the first character according to the video screen and the first character region corresponding to the first character.

[0237] S505: The client in the live broadcast room inputs the first person image corresponding to the first person into the pre-trained second multi-head output network to obtain a second output result corresponding to the first person; wherein the second output result includes whether the first person wears a hat and the hat area corresponding to the first person; the hat area corresponding to the first person is determined by the hat area position corresponding to the first person and the hat area size corresponding to the first person.

[0238] S506: If the second output result indicates that the first character is wearing a hat, the client in the live broadcast room obtains the display position of the first character information in the first character image based on the hat area position corresponding to the first character, and obtains the display position of the first character information based on the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0239] S507: The client in the live broadcast room adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, and obtains target video stream data including several frames of target video screen; and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier.

[0240] In this embodiment, steps S501 to S504 and S507 are the same as steps S401 to S404 and S407, and the difference lies in steps S505 to S506, which are described in detail below.

[0241] Regarding step S505, the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained second multi-head output network to obtain a second output result corresponding to the first character.

[0242] The second output result includes whether the first person wears a hat and the hat area corresponding to the first person.

[0243] The hat region corresponding to the first character is determined by the hat region position corresponding to the first character and the hat region size corresponding to the first character.

[0244] The training process of the second multi-head output network is as follows: first, collect several character training images, which must present the head area, and then annotate the character training images. The annotation content includes: whether a hat is worn (including a physical hat and a virtual hat) and the hat area. Then, the second multi-head output network is trained through the existing neural network training algorithm until the training results meet the preset training termination conditions, thereby obtaining a pre-trained second multi-head output network.

[0245] Regarding step S506, if the second output result indicates that the first character is wearing a hat, the client in the live broadcast room obtains the display position of the first character information in the first character image based on the hat area position corresponding to the first character, and obtains the display position of the first character information based on the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0246] In this embodiment, the client in the live broadcast room can directly use the hat area position corresponding to the first character as the display position of the first character information in the first character image.

[0247] Afterwards, the client in the live broadcast room obtains the display position of the first character information according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

[0248] It can be understood that the display position of the first character image in the video picture is also the position of the aforementioned first character area.

[0249] See also Fig.10 , Fig.10 This is another schematic diagram of displaying the first person information in a video screen provided by an embodiment of the present application. Fig.10 In the video picture 10, the first person information 101 is in the first person area and is displayed on the hat worn by the first person.

[0250] In this embodiment, by limiting the display position of the first character information, the first character information can be displayed on the hat worn by the first character. Then, for the user, it can more intuitively confirm that the first character information is related to the first character, which is conducive to improving user experience. In addition, displaying the first character information on the hat worn by the first character can avoid affecting the user's normal viewing of the live content.

[0251] In an optional embodiment, after obtaining the second output result corresponding to the first character, S505 includes the following steps:

[0252] S508: The client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the hat area corresponding to the first person according to the size of the hat area corresponding to the first person and the size of the video screen.

[0253] S506 The client in the live broadcast room obtains the display position of the first character information in the first character image according to the hat area position corresponding to the first character, including the steps of:

[0254] S5061: If the area ratio of the hat region corresponding to the first person exceeds a preset third ratio, the client in the live broadcast room obtains a display position of the first person information in the first person image according to the position of the hat region corresponding to the first person;

[0255] S5062: If the area ratio of the hat region corresponding to the first character does not exceed the preset third ratio, the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained first multi-head output network to obtain the first output result corresponding to the first character, and obtains the display position of the first character information in the first character image according to the first output result corresponding to the first character.

[0256] Regarding step S508, the client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the hat area corresponding to the first character based on the ratio between the size of the hat area corresponding to the first character and the size of the video screen.

[0257] Regarding step S5061, if the area ratio of the hat region corresponding to the first person exceeds the preset third ratio, it means that the hat region corresponding to the first person presented in the video screen can ensure the normal display of the first person information, thus,

[0258] The client in the live broadcast room will obtain the display position of the first character information in the first character image according to the hat area position corresponding to the first character.

[0259] Regarding step S5062, if the area ratio of the hat region corresponding to the first character does not exceed the preset third ratio, it means that the hat region corresponding to the first character presented in the video screen is too small, and the normal display of the first character information cannot be ensured.

[0260] At this time, the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained first multi-head output network to obtain the first output result corresponding to the first character, and obtains the display position of the first character information in the first character image according to the first output result corresponding to the first character. For details, please refer to the relevant steps in the fourth embodiment.

[0261] In an optional embodiment, the second output result also includes whether text / pattern is displayed in the hat area corresponding to the first character and the area ratio of the text / pattern in the hat area corresponding to the first character. It is understandable that if the second output result contains more content, then before training the second multi-head output network, the character training image needs to be further annotated, and the annotation content includes: whether a hat is worn (including a physical hat and a virtual hat), the hat area, the hat color, whether text / pattern is displayed in the hat area corresponding to the first character, and the area ratio of the text / pattern in the hat area corresponding to the first character.

[0262] If no text / pattern is displayed in the hat area corresponding to the first person, the display color of the first person information corresponding to the first person in the video screen is determined according to the color of the first person's hat. For example, the display color of the first person information corresponding to the first person in the video screen is a contrasting color of the first person's hat color.

[0263] If text / pattern is displayed in the hat area corresponding to the first character and the area ratio of the text / pattern in the hat area corresponding to the first character does not exceed the preset fourth ratio, the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the first character's hat.

[0264] If text / pattern is displayed in the hat area corresponding to the first character and the area proportion of the text / pattern in the hat area corresponding to the first character exceeds a preset fourth ratio, the method also includes the steps of: a client in the live broadcast room obtains a hat image corresponding to the first character based on the hat area corresponding to the first character and the first character image corresponding to the first character, inputs the hat image corresponding to the first character into a pre-trained hat generation network to obtain a target hat image corresponding to the first character, and displays the target hat image corresponding to the first character on the hat area corresponding to the first character.

[0265] Among them, the text / pattern has been removed from the target hat image, and the display color of the first person information corresponding to the first person in the video screen is determined according to the color of the first person's hat.

[0266] In this embodiment, the hat generation network needs to form an adversarial neural network with the hat identification network and perform adversarial training together, so that the pre-trained hat generation network can not only remove the text / pattern in the hat image, but also make it difficult for the user to easily detect that the target hat image is virtually generated, thereby achieving a better character information display effect.

[0267] See also Fig.11 , Fig.11 A structural diagram of a character information display system in a live broadcast room provided in a sixth embodiment of the present application, the system 11 comprises: a server 111 and a client 112;

[0268] The server 111 is used to obtain a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames;

[0269] The server 111 is used to locate faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information display instruction to the client 112 in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier;

[0270] The client 112 in the live broadcast room is used to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein, the target video stream data includes several frames of target video screen, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0271] The character information display system in the live broadcast room provided by the above embodiment and the character information display method in the live broadcast room belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0272] See also Fig.12 , is a schematic diagram of the structure of the character information display device in the live broadcast room provided by the seventh embodiment of the present application. The device can be implemented as all or part of the computer device through software, hardware or a combination of both. The device 12 includes:

[0273] The first acquisition unit 121 is used for the server to acquire the live broadcast room identifier and the video stream data corresponding to the live broadcast room identifier in response to the character recognition instruction; wherein the video stream data includes a plurality of video frames;

[0274] The second acquisition unit 122 is used for the server to locate faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information display instruction to a client in the live broadcast room; wherein the first person includes at least one person newly added in the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier;

[0275] The first display unit 123 is used for the client in the live broadcast room to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein, the target video stream data includes several frames of target video screen, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

[0276] It should be noted that the character information display device in the live broadcast room provided by the above embodiment only uses the division of the above functional modules as an example when executing the character information display method in the live broadcast room. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the character information display device in the live broadcast room provided by the above embodiment and the character information display method in the live broadcast room belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0277] See also Fig.13 , is a schematic diagram of the structure of a computer device provided in the eighth embodiment of the present application. Fig.13 As shown, the computer device 13 may include: a processor 130, a memory 131, and a computer program 132 stored in the memory 131 and executable on the processor 130, such as: a program for displaying character information in a live broadcast room; when the processor 130 executes the computer program 132, the steps of the first to fifth embodiments described above are implemented.

[0278] Among them, the processor 130 may include one or more processing cores. The processor 130 uses various interfaces and lines to connect various parts in the computer device 13, and executes various functions and processes data of the computer device 13 by running or executing instructions, programs, code sets or instruction sets stored in the memory 131, and calling the data in the memory 131. Optionally, the processor 130 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programble Logic Array, PLA). The processor 130 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the touch display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 130, and it can be implemented by a single chip.

[0279] Among them, the memory 131 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 131 includes a non-transitory computer-readable storage medium. The memory 131 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 131 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 131 may also be optionally at least one storage device located away from the aforementioned processor 130.

[0280] The embodiment of the present application also provides a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded by a processor and executing the method steps of the above embodiment. The specific execution process can be found in the specific description of the above embodiment, which will not be repeated here.

[0281] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0282] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0283] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0284] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0285] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0286] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0287] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.

[0288] The present invention is not limited to the above-mentioned embodiments. If various changes or modifications to the present invention do not depart from the spirit and scope of the present invention, and if these changes and modifications fall within the scope of the claims and equivalent technologies of the present invention, the present invention is also intended to include these changes and modifications.

Claims

1. A method for displaying character information in a live broadcast room, characterized in that: The method comprises the steps of: In response to the character recognition instruction, the server obtains the live broadcast room identifier and the video stream data corresponding to the live broadcast room identifier; wherein the video stream data includes a plurality of video frames; The server locates faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtains first person information corresponding to the first person based on the first face image corresponding to the first person; generates and sends a person information confirmation instruction to the anchor client based on the first person information corresponding to the first person; wherein the anchor client is the anchor client corresponding to the live broadcast room identifier; The anchor client sends a character information confirmation completion instruction to the server in response to the confirmation instruction for the first character information corresponding to the first character; The server generates and sends a character information display instruction to a client in the live broadcast room; wherein the first character includes at least one character newly added to the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier; The client in the live broadcast room responds to the character information display instruction, obtains the target video stream data corresponding to the live broadcast room identifier, and outputs the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes a plurality of frames of target video screens, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen; Obtaining a display position of first character information corresponding to the first character includes: The client in the live broadcast room obtains a first character region corresponding to the first character in the video screen, and obtains a first character image corresponding to the first character according to the video screen and the first character region corresponding to the first character; The client in the live broadcast room inputs the first person image corresponding to the first person into a pre-trained first multi-head output network to obtain a first output result corresponding to the first person; wherein the first output result includes a chest area corresponding to the first person and an arm area corresponding to the first person; the client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the chest area corresponding to the first person according to the size of the chest area corresponding to the first person and the size of the video screen; If the area ratio of the chest area corresponding to the first character does not exceed a preset first ratio, the client in the live broadcast room obtains the area ratio of the arm area corresponding to the first character according to the size of the arm area corresponding to the first character and the size of the video screen; if the area ratio of the arm area corresponding to the first character exceeds a preset second ratio, the client in the live broadcast room obtains the display position of the first character information in the first character image according to the position of the arm area corresponding to the first character; The display position of the first character information is obtained according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

2. The method for displaying character information in a live broadcast room according to claim 1, characterized in that: Before the server responds to the character recognition instruction, the server includes the following steps: The server obtains audio stream data corresponding to the live broadcast room identifier; wherein the audio stream data includes a plurality of audio segments; The server monitors whether the sentences corresponding to several segments of the audio contain a preset first sentence or whether the sentences corresponding to several segments of the audio contain a second sentence that is semantically similar to the preset first sentence. If so, the server issues the character recognition instruction.

3. The method for displaying character information in a live broadcast room according to claim 1, characterized in that: The method of obtaining first person information corresponding to the first person according to the first face image corresponding to the first person comprises the steps of: The server searches a pre-established face image library according to the first face image corresponding to the first person; wherein the face image library includes person information corresponding to a number of the persons and a number of face images corresponding to the persons; If the first facial image corresponding to the first person matches the facial image corresponding to any one of the persons, the corresponding person information obtained by the server is the first person information corresponding to the first person.

4. The method for displaying character information in a live broadcast room according to claim 3, characterized in that: If the first facial image corresponding to the first person does not match any facial image corresponding to any of the persons, the method further comprises the steps of: The server searches an external image library according to the first face image corresponding to the first person; wherein the server establishes a data connection with the external image library, and the external image library includes at least a plurality of images and text information related to the images; If the first facial image corresponding to the first person matches the face presented in any one of the images in the external image library, the server obtains text information related to the image in the external image library, and obtains the first person information corresponding to the first person based on the text information related to the image.

5. The method for displaying character information in a live broadcast room according to claim 1, characterized in that: The anchor client responds to the character information confirmation instruction, obtains the first character information and character information confirmation control data corresponding to the first character, and displays the character information confirmation control presenting the first character information corresponding to the first character in the live broadcast room interface according to the first character information and character information confirmation control data corresponding to the first character.

6. The method for displaying character information in a live broadcast room according to claim 1, characterized in that: Before generating and sending the character information display instruction to the client in the live broadcast room, the steps include: The anchor client receives the function activation information and the function activation confirmation control data sent by the server, and displays the function activation confirmation control presenting the function activation information in the live broadcast room interface according to the function activation information and the function activation confirmation control data; wherein the anchor client is the anchor client corresponding to the live broadcast room identifier, and the function activation information is used to prompt the anchor to activate the character information display function in the live broadcast room; The anchor client responds to the confirmation instruction of turning on the character information display function in the live broadcast room by sending a character information display turn-on instruction to the server.

7. The method for displaying character information in a live broadcast room according to any one of claims 1 to 6, characterized in that: Before obtaining the target video stream data corresponding to the live broadcast room identifier, the steps include: The anchor client obtains the first character information corresponding to the first character and several frames of the video screen; wherein the anchor client is the anchor client corresponding to the live broadcast room identifier; The anchor client determines the first character information display position corresponding to the first character in the video screen, adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, obtains the target video stream data including several frames of the target video screen, and sends the target video stream data to the server.

8. The method for displaying character information in a live broadcast room according to any one of claims 1 to 6, characterized in that: The step of obtaining the target video stream data corresponding to the live broadcast room identifier comprises the following steps: The client in the live broadcast room obtains the first character information corresponding to the first character and several frames of the video screen; The client in the live broadcast room determines the first character information display position corresponding to the first character in the video screen, adds the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen, and obtains the target video stream data including several frames of the target video screen.

9. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: The first character information corresponding to the first character includes the first character name and the first character identity; The step of adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen comprises the steps of: The client in the live broadcast room obtains first character information display data; wherein the first character information display data is used to confirm the display style of the first character name and the first character identity, and the character information display data is the character information display data configured by default in the server or the character information display data customized by the anchor; The client in the live broadcast room adds the first character name and the first character identity to the first character information display position corresponding to the first character in the video screen in the display style according to the character information display data.

10. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: After the target video stream data is output to the live broadcast room interface corresponding to the live broadcast room identifier, the method includes the following steps: The client in the live broadcast room obtains the second character information display data and the displayed time; wherein the second character information display data is used to confirm the target display time of the first character information corresponding to the first character; If the displayed time reaches the target display time, the client in the live broadcast room cancels adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen.

11. The method for displaying character information in a live broadcast room according to any one of claims 1 to 6, characterized in that: The method further comprises the steps of: The client in the live broadcast room responds to a trigger instruction for the first character information corresponding to the first character, obtains the second character information corresponding to the first character and the second character information display control data, and displays the second character information display control presenting the second character information corresponding to the first character in the live broadcast room interface according to the second character information and the second character information display control data corresponding to the first character; wherein the second character information corresponding to the first character is the character introduction details information corresponding to the first character.

12. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: The client in the live broadcast room determines the first character information display position corresponding to the first character in the video screen, including the steps of: The client in the live broadcast room obtains a first facial image corresponding to the first person, determines the first person in several frames of the video screen according to the first facial image corresponding to the first person, and obtains a first person area corresponding to the first person in the video screen; The client in the live broadcast room obtains the display position of the first character information according to the video screen and the first character area corresponding to the first character.

13. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: The client in the live broadcast room inputs the first character image corresponding to the first character into a pre-trained first multi-head output network, including the steps of: The client in the live broadcast room obtains the human body torso points presented in the first character image according to the first character image corresponding to the first character; The client in the live broadcast room confirms, based on the human body torso points presented in the first character image, whether the upper body area corresponding to the first character is presented in the first character image; If so, the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained first multi-head output network; If not, the client in the live broadcast room obtains the head area position corresponding to the first character in the first character image; according to the head area position corresponding to the first character in the first character image, obtains the display position of the first character information in the first character image; according to the display position of the first character information in the first character image and the display position of the first character image in the video screen, obtains the display position of the first character information.

14. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: Obtaining the display position of the first character information in the first character image also includes: if the area ratio of the arm area corresponding to the first character does not exceed the preset second ratio, the client in the live broadcast room obtains the head area position corresponding to the first character in the first character image; according to the head area position corresponding to the first character in the first character image, obtaining the display position of the first character information in the first character image.

15. The method for displaying character information in a live broadcast room according to claim 14, characterized in that: The first output result also includes whether the upper body clothing of the first character is solid color clothing and the color of the solid color clothing. If the area ratio of the chest area corresponding to the first character exceeds the preset first ratio and the upper body clothing of the first character is solid color clothing, the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the solid color clothing.

16. The method for displaying character information in a live broadcast room according to claim 8, characterized in that: The client in the live broadcast room determines the first character information display position corresponding to the first character in the video screen, including the steps of: The client in the live broadcast room obtains a first character region corresponding to the first character in the video screen, and obtains a first character image corresponding to the first character according to the video screen and the first character region corresponding to the first character; The client in the live broadcast room inputs the first person image corresponding to the first person into the pre-trained second multi-head output network to obtain a second output result corresponding to the first person; wherein the second output result includes whether the first person wears a hat and the hat area corresponding to the first person; the hat area corresponding to the first person is determined by the hat area position corresponding to the first person and the hat area size corresponding to the first person; If the second output result indicates that the first character is wearing a hat, the client in the live broadcast room obtains the display position of the first character information in the first character image based on the position of the hat area corresponding to the first character, and obtains the display position of the first character information based on the display position of the first character information in the first character image and the display position of the first character image in the video screen.

17. The method for displaying character information in a live broadcast room according to claim 16, characterized in that: After obtaining the second output result corresponding to the first character, the method includes the following steps: The client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the hat area corresponding to the first character according to the size of the hat area corresponding to the first character and the size of the video screen; The client in the live broadcast room obtains the display position of the first character information in the first character image according to the hat area position corresponding to the first character, including the steps of: If the area ratio of the hat region corresponding to the first character exceeds a preset third ratio, the client in the live broadcast room obtains a display position of the first character information in the first character image according to the position of the hat region corresponding to the first character; If the area ratio of the hat region corresponding to the first character does not exceed the preset third ratio, the client in the live broadcast room inputs the first character image corresponding to the first character into a pre-trained first multi-head output network to obtain a first output result corresponding to the first character, and according to the first output result corresponding to the first character, obtains the display position of the first character information in the first character image.

18. The method for displaying character information in a live broadcast room according to claim 16, characterized in that: The second output result also includes whether text / pattern is displayed in the hat area corresponding to the first character and the area ratio of the text / pattern in the hat area corresponding to the first character; If no text / pattern is displayed in the hat area corresponding to the first character, the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the first character's hat; If text / pattern is displayed in the hat region corresponding to the first character and the area ratio of the text / pattern in the hat region corresponding to the first character does not exceed a preset fourth ratio, the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the first character's hat; If text / pattern is displayed in the hat area corresponding to the first character and the area ratio of the text / pattern in the hat area corresponding to the first character exceeds the preset fourth ratio, the method also includes the steps of: the client in the live broadcast room obtains a hat image corresponding to the first character based on the hat area corresponding to the first character and the first character image corresponding to the first character, inputs the hat image corresponding to the first character into a pre-trained hat generation network to obtain a target hat image corresponding to the first character, and displays the target hat image corresponding to the first character on the hat area corresponding to the first character; wherein the target hat image has the text / pattern removed, and the display color of the first character information corresponding to the first character in the video screen is determined according to the color of the hat of the first character.

19. The method for displaying character information in a live broadcast room according to any one of claims 1 to 6, characterized in that: Before the client in the live broadcast room responds to the character information display instruction, the steps include: If the live broadcast room identifier is the target live broadcast room identifier, the server obtains third character information corresponding to the first character according to the first face image corresponding to the first character; wherein the third character information includes the number of character followers corresponding to the first character, the probability of winning the battle corresponding to the first character, and the value of virtual gifts received by the first character; After the client in the live broadcast room responds to the character information display instruction, the method includes the following steps: The client in the live broadcast room adds the third character information to the target video screen, obtains the target video screen with the third character information added, and outputs the target video screen with the third character information added to the live broadcast room interface.

20. The method for displaying character information in a live broadcast room according to claim 19, characterized in that: The client in the live broadcast room adds the third person information to the target video screen, including the steps of: The client in the live broadcast room obtains display parameters corresponding to each of the third character information; wherein the display parameters include display order, display duration, and display times; the display parameters corresponding to each of the third character information are determined according to the user viewing information corresponding to each of the third character information; The clients in the live broadcast room add the third character information to the target video screen in turn according to the display parameters corresponding to each of the third character information.

21. A character information display system in a live broadcast room, characterized in that: include: Server, client and anchor client; The server is used to obtain a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames; The server is used to locate faces in several frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information confirmation instruction to the anchor client according to the first person information corresponding to the first person; wherein the anchor client is the anchor client corresponding to the live broadcast room identifier; The anchor client sends a character information confirmation completion instruction to the server in response to the confirmation instruction for the first character information corresponding to the first character; The server generates and sends a character information display instruction to a client in the live broadcast room; wherein the first character includes at least one character newly added to the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier; The client in the live broadcast room is used to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes several frames of target video screens, and the target video screens are obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen; the client in the live broadcast room obtains the first character area corresponding to the first character in the video screen, and obtains the first character image corresponding to the first character according to the video screen and the first character area corresponding to the first character; the client in the live broadcast room inputs the first character image corresponding to the first character into a pre-trained first multi-head output network to obtain a first output result corresponding to the first character; wherein the first output result includes The chest area corresponding to the first character and the arm area corresponding to the first character; the client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the chest area corresponding to the first character according to the size of the chest area corresponding to the first character and the size of the video screen; if the area ratio of the chest area corresponding to the first character does not exceed the preset first ratio, the client in the live broadcast room obtains the area ratio of the arm area corresponding to the first character according to the size of the arm area corresponding to the first character and the size of the video screen; if the area ratio of the arm area corresponding to the first character exceeds the preset second ratio, the client in the live broadcast room obtains the display position of the first character information in the first character image according to the position of the arm area corresponding to the first character; obtains the display position of the first character information according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

22. A character information display device in a live broadcast room, characterized in that: include: A first acquisition unit is used for the server to acquire a live broadcast room identifier and video stream data corresponding to the live broadcast room identifier in response to a character recognition instruction; wherein the video stream data includes a plurality of video frames; A second acquisition unit is used for the server to locate faces in a plurality of frames of the video screen to obtain a first face image corresponding to a first person; obtain first person information corresponding to the first person according to the first face image corresponding to the first person; generate and send a person information confirmation instruction to an anchor client according to the first person information corresponding to the first person; wherein the anchor client is an anchor client corresponding to the live broadcast room identifier; A confirmation unit, configured for the anchor client to send a character information confirmation completion instruction to the server in response to a confirmation instruction for the first character information corresponding to the first character; A character information display instruction sending unit, used for the server to generate and send a character information display instruction to a client in the live broadcast room; wherein the first character includes at least one character newly added to the video screen, and the live broadcast room is the live broadcast room corresponding to the live broadcast room identifier; A first display unit is used for the client in the live broadcast room to respond to the character information display instruction, obtain the target video stream data corresponding to the live broadcast room identifier, and output the target video stream data to the live broadcast room interface corresponding to the live broadcast room identifier; wherein the target video stream data includes a plurality of frames of target video screens, and the target video screen is obtained by obtaining the first character information display position corresponding to the first character, and adding the first character information corresponding to the first character to the first character information display position corresponding to the first character in the video screen; the client in the live broadcast room obtains the first character area corresponding to the first character in the video screen, and obtains the first character image corresponding to the first character according to the video screen and the first character area corresponding to the first character; the client in the live broadcast room inputs the first character image corresponding to the first character into the pre-trained first multi-head output network to obtain the first output result corresponding to the first character; wherein the first output The result includes the chest area corresponding to the first character and the arm area corresponding to the first character; the client in the live broadcast room obtains the size of the video screen, and obtains the area ratio of the chest area corresponding to the first character according to the size of the chest area corresponding to the first character and the size of the video screen; if the area ratio of the chest area corresponding to the first character does not exceed the preset first ratio, the client in the live broadcast room obtains the area ratio of the arm area corresponding to the first character according to the size of the arm area corresponding to the first character and the size of the video screen; if the area ratio of the arm area corresponding to the first character exceeds the preset second ratio, the client in the live broadcast room obtains the display position of the first character information in the first character image according to the position of the arm area corresponding to the first character; obtains the display position of the first character information according to the display position of the first character information in the first character image and the display position of the first character image in the video screen.

23. A computer device comprising: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 20 when executing the computer program.

24. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 20 are implemented.