CN113766339B - Bullet screen display method and device - Google Patents

Bullet screen display method and device Download PDF

Info

Publication number
CN113766339B
CN113766339B CN202111043793.1A CN202111043793A CN113766339B CN 113766339 B CN113766339 B CN 113766339B CN 202111043793 A CN202111043793 A CN 202111043793A CN 113766339 B CN113766339 B CN 113766339B
Authority
CN
China
Prior art keywords
target graphic
video image
graphic element
target
bullet screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111043793.1A
Other languages
Chinese (zh)
Other versions
CN113766339A (en
Inventor
郑夏桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111043793.1A priority Critical patent/CN113766339B/en
Publication of CN113766339A publication Critical patent/CN113766339A/en
Application granted granted Critical
Publication of CN113766339B publication Critical patent/CN113766339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Abstract

The embodiment of the invention provides a bullet screen display method and a bullet screen display device, wherein a touch operation aiming at a video image is responded, a target graphic element in the video image is determined according to the touch operation, and the video image is analyzed to obtain characteristic data corresponding to the target graphic element; matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data corresponding to the target graphic element; and if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the target graphic element. Make some graphic elements that the user wants the barrage to dodge in can the independent selection video interface as target graphic element to avoid the target graphic element with the barrage and cut apart the demonstration, make and shelter from the position to the barrage and carry out more accurate control, moreover, application scope is more extensive, and the product content that wants the user to watch all can carry out dodging of barrage in real time.

Description

Bullet screen display method and device
Technical Field
The invention relates to the technical field of video playing, in particular to a bullet screen display method and a bullet screen display device.
Background
The existing face recognition technology mainly aims at obtaining the data of the five sense organs of a real person and then matches the data with related data in a database to perform face recognition. In the existing live webcasting process, people are avoided only aiming at face recognition to play the barrage.
With the development of the network live broadcast industry, later-stage virtual anchor or avatar anchor will become more popular, or related elements of human faces may not exist in part of live broadcast videos. However, in the prior art, the bullet screen avoiding scheme cannot avoid a certain type of related elements emphatically in a stack of theme graphics contained in the video image in real time, and for this type of live video, some products that the user wants to watch in the video image cannot be avoided well in the process of displaying the bullet screen, which results in poor watching experience of the user.
Disclosure of Invention
In view of the above-mentioned problems of the viewing experience of the user and the poor viewing experience thereof due to the inability to avoid some products that the user wants to view in the video images, embodiments of the present invention are proposed to provide a bullet screen display method and a corresponding bullet screen display device that overcome or at least partially solve the above-mentioned problems.
The embodiment of the invention discloses a bullet screen display method, which comprises the following steps:
responding to touch operation aiming at a video image, determining a target graphic element in the video image according to the touch operation, and analyzing the video image to obtain feature data corresponding to the target graphic element;
matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data corresponding to the target graphic element;
and if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the target graphic element.
Optionally, the touch operation includes any one or more of:
smearing target graphic elements in various graphic elements contained in the video image;
performing delineation operation on a target graphic element in a plurality of graphic elements contained in the video image;
and clicking a target graphic element in the various graphic elements contained in the video image.
Optionally, the matching, according to the feature data corresponding to the target graphic element, whether the target graphic element exists in a subsequent video image includes:
uploading the feature data corresponding to the target graphic element to a preset database;
and matching whether the target graphic element exists in the subsequent video image or not according to the characteristic data of the target graphic element stored in the preset database.
Optionally, the matching, according to the feature data of the target graphic element stored in the preset database, whether the target graphic element exists in a subsequent video image or not includes:
extracting all target feature data corresponding to the target graphic elements stored in the preset database;
simulating the target graphic elements according to the target characteristic data to obtain the target graphic elements in various styles;
and matching whether the target graphic element exists in the subsequent video image or not according to the target graphic elements in the multiple styles.
Optionally, the matching, according to the target graphic elements of the multiple styles, whether the target graphic element exists in a subsequent video image includes:
analyzing the frame number of a subsequently played video to obtain a multi-frame video image;
and respectively matching whether the target graphic elements exist in the multi-frame video images or not according to the target graphic elements of the multiple styles.
Optionally, before the step of responding to a touch operation on a video image and determining a target graphic element in the video image according to the touch operation, the method further includes:
when a user starts playing a video, judging whether a preset database has graphic elements set by the user;
and if the graphic elements set by the user exist in the preset database, segmenting and displaying the bullet screen on the subsequent video image according to the graphic elements set by the user.
Optionally, the segmenting and displaying the bullet screen on the subsequent video image according to the target graphic element includes:
and displaying the bullet screen in a segmentation manner according to the shape of the target graphic element in the subsequent video image.
The embodiment of the invention also discloses a bullet screen display device, which comprises:
the element feature analysis module is used for responding to touch operation aiming at a video image, determining a target graphic element in the video image according to the touch operation, and analyzing the video image to obtain feature data corresponding to the target graphic element;
the element matching module is used for matching whether the target graphic element exists in a subsequent video image according to the characteristic data corresponding to the target graphic element;
and the bullet screen segmentation display module is used for segmenting and displaying the bullet screen on the subsequent video image according to the target graphic element if the target graphic element exists in the subsequent video image.
The embodiment of the invention also discloses an electronic device, which comprises:
a processor and a storage medium storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform a method according to any one of the embodiments of the invention when the electronic device is operated.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method of any one of the embodiments of the invention is executed.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a target graphic element in a video image is determined according to a touch operation by responding to the touch operation aiming at the video image, and the video image is analyzed to obtain characteristic data corresponding to the target graphic element; matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data corresponding to the target graphic element; and if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the target graphic element. Make some graphic elements that the user wants the barrage to dodge in can the independent selection video interface as target graphic element to can avoid the target graphic element with the barrage in subsequent video image and cut apart the demonstration, through the mode of cutting apart the demonstration according to the target graphic element matching, make and shelter from the position to the barrage and carry out more accurate control, moreover, application scope is more extensive, to the product content that the user wants to watch, all can carry out dodging of barrage in real time, user's viewing experience is more excellent.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a bullet screen display method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a graphic element in a video graphic according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a bullet screen split display according to a target graphic element according to an embodiment of the present invention;
fig. 4 is a block diagram of a bullet screen display device according to an embodiment of the present invention;
FIG. 5 is a block diagram of an electronic device of the present invention;
fig. 6 is a block diagram of a computer-readable storage medium of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Aiming at the problems that some products which are wanted to be watched by a user in a video image cannot be well avoided in the process of displaying a bullet screen when a video or a live broadcast is played by adopting a bullet screen avoiding scheme in the prior art, so that the watching experience of the user is poor, in the embodiment of the invention, a target graphic element in the video image is determined according to touch operation by responding to the touch operation aiming at the video image, and the video image is analyzed to obtain characteristic data corresponding to the target graphic element; matching whether the target graphic element exists in a subsequent video image or not according to the feature data corresponding to the target graphic element; and if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the target graphic element. The method and the device have the advantages that the user can independently select some graphic elements which are required to be avoided by the bullet screen in the video interface as the target graphic elements, for example, the graphic elements corresponding to virtual characters in the game video can be selected as the target graphic elements, or the graphic elements corresponding to a scene model in the game video can be selected as the target graphic elements, or the graphic elements corresponding to an animal in the outdoor video can be selected as the target graphic elements, so that the bullet screen can be avoided by the target graphic elements in subsequent video images to be displayed in a split mode, the bullet screen shielding position can be controlled more accurately by matching and displaying the target graphic elements in a split mode, the application range is wider, the bullet screen can be avoided in real time for product contents which the user wants to watch, and the watching experience of the user is better.
The bullet screen display method in one embodiment of the present invention may be executed in a local terminal device or a server. When the bullet screen display method is operated on the server, the bullet screen display method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, the cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the bullet screen display method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a first terminal device, a television, a computer, a palm computer and the like; but the cloud game server of the cloud side is used for processing the bullet screen display method. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through the electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a bullet screen display method provided in an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, responding to a touch operation aiming at a video image, determining a target graphic element in the video image according to the touch operation, and analyzing the video image to obtain feature data corresponding to the target graphic element;
the game of the embodiment of the present invention may be executed in the local terminal device or the client device of the cloud game. The terminal device may be a portable mobile terminal, such as a smart phone, a wearable device, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle-mounted computer, or an electronic device such as a notebook computer, a tablet computer, or an IPAD. The video player is operated on the terminal device to play the video, or the web browser is operated on the terminal device to play the video in the web page, wherein the video played on the terminal device may be a live video, an episode video, a short video, or the like, and the embodiment of the invention is not limited to this.
Specifically, when playing a video, a user may generally send barrage information, so as to avoid that the barrage blocks a content that the user wants to watch, the user may select, from the master video image and the slave video image, a target graphic element corresponding to the content that the barrage needs to avoid, and perform a touch operation on the target graphic element to initiate a selection instruction for the target graphic element in the video image, for example, the user may select a graphic element corresponding to a virtual character in the game video as the target graphic element, or select a graphic element corresponding to one scene model in the game video as the target graphic element, or select a graphic element corresponding to one animal in the outdoor video as the target graphic element. As an example, as shown in fig. 2, the graphic elements 10, 20, 30, 40, which are included in the video interface, are trees, buildings, characters, and vehicles, and the user may arbitrarily select one of these graphic elements as the target graphic element, for example, the user may select the vehicle 40 as the target graphic element.
After receiving a touch operation for a video image, the touch operation may be responded, a target graphic element in the video image may be determined, and the video image may be analyzed to obtain feature data corresponding to the target graphic element, where the feature data may include a shape feature, a color feature, a texture feature, a size, or the like. In specific implementation, the video image may be analyzed through some preset image recognition algorithms to obtain feature data corresponding to the target graphic element in the video image.
It should be noted that the parsing process of the video image may be performed locally on the terminal device or in the cloud server, and the parsing process of the video image in the cloud server is faster, and in a specific implementation, the video image may be parsed by selecting the local terminal device or the cloud server according to a requirement of a response speed, which is not limited in this embodiment of the present invention.
In a preferred embodiment of the present invention, the touch operation may include any one or more of the following:
smearing target graphic elements in various graphic elements contained in the video image;
performing delineation operation on a target graphic element in a plurality of graphic elements contained in the video image;
and clicking a target graphic element in the various graphic elements contained in the video image.
The graphic elements may refer to some products, characters, models and other elements in the image, and various graphic elements are usually included in the video image, for example, various corresponding graphic elements such as virtual monsters, virtual characters, building models, vegetation models or head portraits of a main broadcast are included in the video image of the game.
In the embodiment of the invention, a user can smear a target graphic element in a plurality of graphic elements contained in a video image so as to smear and select the graphic element needing a bullet screen to avoid the target; or performing delineation operation on target graphic elements in various graphic elements contained in the video image to circumscribe and select the target graphic elements needing bullet screen avoidance, wherein the target graphic elements selected by the smearing operation and the delineation operation can be in any shapes. In addition, the user can click a target graphic element in a plurality of graphic elements contained in the video image, and in this way, the graphic element located at the position clicked by the user can be determined as the target graphic element by identifying the graphic element in the video image.
In a specific implementation, a graphic user interface for playing a video may include a bullet screen setting control, a user may open a bullet screen setting window through the bullet screen setting control, the bullet screen setting window includes an element selection tool, for example, the element selection tool is a smearing tool, a delineating tool, a single-point selection tool, or the like, and the user may smear a target graphic element among a plurality of graphic elements included in a video image through the smearing tool to initiate a selection instruction for the target graphic element in the video image; or performing delineation operation on a target graphic element in a plurality of graphic elements contained in the video image through a delineation tool so as to initiate a selection instruction for the target graphic element in the video image; or clicking a target graphic element in the multiple graphic elements contained in the video image through a single-point selection tool to initiate a selection instruction for the target graphic element in the video image.
102, matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data corresponding to the target graphic element;
in the embodiment of the present invention, whether a target graphic element exists in a subsequent video image may be matched according to feature data corresponding to the target graphic element, for example, whether a graphic element having the same shape as the target graphic element exists in the subsequent video image is determined by performing element matching according to the shape of the target graphic element.
And 103, if the target graphic element exists in the subsequent video image, performing segmentation display on the bullet screen on the subsequent video image according to the target graphic element.
In the embodiment of the invention, if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image can be displayed in a segmented manner according to the shape of the target graphic element.
In a specific implementation, if the display position of the bullet screen is corresponding to the position of the target graphic element in the video graphic, the bullet screen is moved to the left side or the right side of the target graphic element for display; if the display position of one part of the content of the bullet screen corresponds to the position of the target graphic element in the video graphic, and the display position of the other part of the content does not correspond to the position of the target graphic element in the video graphic, the bullet screen can be divided, one part of the content, the display position of which corresponds to the position of the target graphic element in the video graphic, is moved to the left side or the right side of the target graphic element for display, and the other part of the content is displayed according to the original display position of the content. As an example, as shown in fig. 3, assuming that the user selects a vehicle 40 in the video interface as a target graphic element, the bullet screen on the subsequent video image may be displayed in a split manner according to the shape of the vehicle 40 to avoid the bullet screen data from blocking the vehicle 40, and for other graphic elements in the video image, such as trees, buildings, and people, since the user does not select, the graphic elements are not avoided when the bullet screen is displayed.
In a preferred embodiment of the present invention, the step 102 may specifically include the following sub-steps:
uploading feature data corresponding to the target graphic element to a preset database; and matching whether the target graphic element exists in the subsequent video image or not according to the characteristic data of the target graphic element stored in the preset database.
In the embodiment of the invention, the feature data corresponding to the target graphic element can be uploaded to the preset database, and then whether the target graphic element exists in the subsequent video image or not is matched according to the feature data of the target graphic element stored in the preset database. The preset database may be a pre-deployed database, and is used for uniformly storing the feature data of the target graphic element selected by the user.
In a preferred embodiment of the present invention, the matching, according to the feature data of the target graphic element stored in the preset database, whether the target graphic element exists in a subsequent video image may specifically include the following sub-steps:
extracting all target feature data corresponding to the target graphic elements stored in the preset database; simulating the target graphic elements according to the target characteristic data to obtain the target graphic elements in various styles; and matching whether the target graphic element exists in the subsequent video image or not according to the target graphic elements in the multiple styles.
Specifically, all target feature data corresponding to target graphic elements stored in a preset database are extracted, then the target graphic elements are simulated according to the target feature data to obtain target graphic elements in various styles, and whether the target graphic elements exist in subsequent video images or not is matched according to the target graphic elements in various styles.
Because different users do not completely unify the shapes of elements which want to be disconnected and display the barrage aiming at the same video or live broadcast, although different users can select different graphic elements, in a scene with huge video playing amount, the graphic elements may be repeated, in order to reduce calculation, whether analysis calculation is carried out on a target graphic element or not is judged from data stored in a preset database, if so, result data of the previous matching calculation aiming at the model of the target graphic element can be directly obtained to carry out corresponding barrage avoidance, thereby greatly reducing the calculated amount and improving the response speed of the system.
In a specific implementation, since the target graphic element may have multiple styles, for example, different angles (orientations), different colors, or different volumes (sizes), etc., in order to improve the matching degree of the target graphic element, the target graphic element may be simulated according to the target feature data to obtain target graphic elements of multiple styles. For example, the target graphic elements at different angles can be simulated according to preset different angles.
In a preferred embodiment of the present invention, the matching, according to the target graphic elements in the multiple styles, whether the target graphic element exists in a subsequent video image may specifically include the following sub-steps:
analyzing the frame number of a subsequently played video to obtain a multi-frame video image; and respectively matching whether the target graphic elements exist in the multi-frame video images or not according to the target graphic elements in the multiple styles.
In the embodiment of the invention, the frame number of the subsequently played video is analyzed according to the preset frame number to obtain the multi-frame video image, and then the target graphic elements of various styles are respectively matched to determine whether the target graphic elements exist in the multi-frame video image. For example, assuming that the preset frame number is 10 frames per second, frame number analysis may be performed on a video segment obtained in each second to obtain 10 frames of video data, and when performing element matching, whether a target graphic element exists in each frame of video image is respectively matched according to target graphic elements of multiple styles, so that when a target graphic element exists in a video image, bullet screen segmentation display is performed.
In a preferred embodiment of the present invention, before the step 201, the following steps may be further included:
when a user starts playing a video, judging whether a preset database has graphic elements set by the user; and if the graphic elements set by the user exist in the preset database, segmenting and displaying the bullet screen on the subsequent video image according to the graphic elements set by the user.
In the embodiment of the invention, the bullet screen avoiding operation obtained by the user can be recorded, when the user starts playing the video, whether the graphic element which is set by the user and needs to be avoided exists in the preset database or not is judged, and if the graphic element which is set by the user exists in the preset database, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the graphic element set by the user, so that the bullet screen is prevented from shielding the graphic element set by the user.
In a preferred embodiment of the present invention, the displaying, by dividing, according to the target graphic element, the bullet screen on the subsequent video image includes:
and displaying the bullet screen in a segmentation manner according to the shape of the target graphic element in the subsequent video image.
In the embodiment of the present invention, the bullet screen may be displayed in a segmented manner according to the shape of the target graphic element in the subsequent video image, for example, if the target graphic element is represented by a tree, the bullet screen in the subsequent video image may be displayed in a segmented manner while avoiding the tree.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a structural block diagram of a bullet screen display device provided in the embodiment of the present invention is shown, and specifically, the structural block diagram may include the following modules:
an element feature analysis module 401, configured to respond to a touch operation for a video image, determine a target graphical element in the video image according to the touch operation, and analyze the video image to obtain feature data corresponding to the target graphical element;
an element matching module 402, configured to match whether the target graphic element exists in a subsequent video image according to feature data corresponding to the target graphic element;
and a bullet screen segmentation and display module 403, configured to segment and display a bullet screen on a subsequent video image according to the target graphic element if the target graphic element is matched to exist in the subsequent video image.
In a preferred embodiment of the present invention, the touch operation includes any one or more of the following:
smearing target graphic elements in various graphic elements contained in the video image;
performing delineation operation on a target graphic element in a plurality of graphic elements contained in the video image;
and clicking a target graphic element in the various graphic elements contained in the video image.
In a preferred embodiment of the present invention, the element matching module 202 includes:
the characteristic data uploading sub-module is used for uploading the characteristic data corresponding to the target graphic element to a preset database;
and the element matching sub-module is used for matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data of the target graphic element stored in the preset database.
In a preferred embodiment of the present invention, the element matching sub-module includes:
the feature extraction unit is used for permanently extracting all target feature data corresponding to the target graphic elements and stored in the preset database;
the element simulation unit is used for simulating the target graphic elements according to the target characteristic data to obtain the target graphic elements in various styles;
and the element matching unit is used for matching whether the target graphic element exists in the subsequent video image or not according to the target graphic elements in the multiple styles.
In a preferred embodiment of the present invention, the element matching unit includes:
the frame number analysis subunit is used for carrying out frame number analysis on subsequently played videos to obtain multi-frame video images;
and the element matching subunit respectively matches whether the target graphic element exists in the multi-frame video image according to the target graphic elements of the multiple styles.
In a preferred embodiment of the present invention, the method further comprises:
the judging module is used for judging whether the graphic elements set by the user exist in a preset database when the user starts playing the video;
and the bullet screen display module is used for segmenting and displaying the bullet screen on the subsequent video image according to the graphic elements set by the user if the graphic elements set by the user exist in the preset database.
In a preferred embodiment of the present invention, the bullet screen splitting display module 403 includes:
and the bullet screen segmentation display submodule is used for segmenting and displaying the bullet screen according to the shape of the target graphic element in the subsequent video image.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, including:
a processor 501 and a storage medium 502, wherein the storage medium 502 stores machine-readable instructions executable by the processor 501, and when the electronic device runs, the processor 501 executes the machine-readable instructions to perform the method according to any one of the embodiments of the present invention. The specific implementation and technical effects are similar, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, as shown in fig. 6, where the storage medium stores a computer program 601, and the computer program 601 is executed by a processor to perform the method according to any one of the embodiments of the present invention. The specific implementation and technical effects are similar, and are not described herein again.
The embodiments in the present specification are all described in a progressive manner, and each embodiment focuses on differences from other embodiments, and portions that are the same and similar between the embodiments may be referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or terminal apparatus that comprises the element.
The bullet screen display method and the bullet screen display device provided by the invention are described in detail above, and specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A bullet screen display method is characterized by comprising the following steps:
responding to touch operation aiming at a video image, determining a target graphic element in the video image according to the touch operation, and analyzing the video image to obtain feature data corresponding to the target graphic element;
matching whether the target graphic element exists in a subsequent video image or not according to the feature data corresponding to the target graphic element;
if the target graphic element exists in the subsequent video image, the bullet screen on the subsequent video image is displayed in a segmentation mode according to the target graphic element;
the matching of whether the target graphic element exists in the subsequent video image according to the feature data corresponding to the target graphic element includes:
uploading the feature data corresponding to the target graphic element to a preset database;
and matching whether the target graphic element exists in the subsequent video image or not according to the characteristic data of the target graphic element stored in the preset database.
2. The method of claim 1, wherein the touch operation comprises any one or more of:
smearing target graphic elements in various graphic elements contained in the video image;
performing delineation operation on a target graphic element in a plurality of graphic elements contained in the video image;
and clicking a target graphic element in the various graphic elements contained in the video image.
3. The method according to claim 1, wherein the matching whether the target graphic element exists in the subsequent video image according to the feature data of the target graphic element stored in the preset database comprises:
extracting all target characteristic data corresponding to the target graphic elements stored in the preset database;
simulating the target graphic elements according to the target characteristic data to obtain the target graphic elements in various styles;
and matching whether the target graphic element exists in the subsequent video image or not according to the target graphic elements in the multiple styles.
4. The method according to claim 3, wherein said matching said target graphic element in said plurality of styles to whether said target graphic element is present in a subsequent video image comprises:
analyzing the frame number of the subsequently played video to obtain a multi-frame video image;
and respectively matching whether the target graphic elements exist in the multi-frame video images or not according to the target graphic elements in the multiple styles.
5. The method according to claim 1, wherein before the step of determining the target graphic element in the video image according to the touch operation in response to the touch operation on the video image, the method further comprises:
when a user starts playing a video, judging whether a preset database has graphic elements set by the user;
and if the graphic elements set by the user exist in the preset database, segmenting and displaying the bullet screen on the subsequent video image according to the graphic elements set by the user.
6. The method of claim 1, wherein the displaying the bullet screen in the subsequent video image according to the target graphic element by segmentation comprises:
and displaying the bullet screen in a segmentation manner according to the shape of the target graphic element in the subsequent video image.
7. A bullet screen display device, comprising:
the element feature analysis module is used for responding to touch operation aiming at a video image, determining a target graphic element in the video image according to the touch operation, and analyzing the video image to obtain feature data corresponding to the target graphic element;
the element matching module is used for matching whether the target graphic element exists in a subsequent video image according to the characteristic data corresponding to the target graphic element;
the bullet screen segmentation display module is used for segmenting and displaying the bullet screen on the subsequent video image according to the target graphic element if the target graphic element exists in the subsequent video image;
the element matching module comprises:
the characteristic data uploading sub-module is used for uploading the characteristic data corresponding to the target graphic element to a preset database;
and the element matching submodule is used for matching whether the target graphic element exists in a subsequent video image or not according to the characteristic data of the target graphic element stored in the preset database.
8. An electronic device, comprising:
a processor and a storage medium storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform the method of any one of claims 1-6 when the electronic device is run.
9. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202111043793.1A 2021-09-07 2021-09-07 Bullet screen display method and device Active CN113766339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111043793.1A CN113766339B (en) 2021-09-07 2021-09-07 Bullet screen display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111043793.1A CN113766339B (en) 2021-09-07 2021-09-07 Bullet screen display method and device

Publications (2)

Publication Number Publication Date
CN113766339A CN113766339A (en) 2021-12-07
CN113766339B true CN113766339B (en) 2023-03-14

Family

ID=78793434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111043793.1A Active CN113766339B (en) 2021-09-07 2021-09-07 Bullet screen display method and device

Country Status (1)

Country Link
CN (1) CN113766339B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123749A (en) * 2014-07-23 2014-10-29 邢小月 Picture processing method and system
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN110784755A (en) * 2019-11-18 2020-02-11 上海极链网络科技有限公司 Bullet screen information display method and device, terminal and storage medium
CN110798726A (en) * 2019-10-21 2020-02-14 北京达佳互联信息技术有限公司 Bullet screen display method and device, electronic equipment and storage medium
CN111459601A (en) * 2020-04-07 2020-07-28 北京字节跳动网络技术有限公司 Data processing method and device, electronic equipment and computer readable medium
CN112312190A (en) * 2020-10-10 2021-02-02 游艺星际(北京)科技有限公司 Video picture display method and device, electronic equipment and storage medium
CN112492324A (en) * 2019-09-12 2021-03-12 上海哔哩哔哩科技有限公司 Data processing method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108124185B (en) * 2016-11-28 2019-06-21 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN111954052B (en) * 2019-05-17 2022-04-05 上海哔哩哔哩科技有限公司 Method for displaying bullet screen information, computer equipment and readable storage medium
CN110300118B (en) * 2019-07-09 2020-09-25 联想(北京)有限公司 Streaming media processing method, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123749A (en) * 2014-07-23 2014-10-29 邢小月 Picture processing method and system
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN112492324A (en) * 2019-09-12 2021-03-12 上海哔哩哔哩科技有限公司 Data processing method and system
CN110798726A (en) * 2019-10-21 2020-02-14 北京达佳互联信息技术有限公司 Bullet screen display method and device, electronic equipment and storage medium
CN110784755A (en) * 2019-11-18 2020-02-11 上海极链网络科技有限公司 Bullet screen information display method and device, terminal and storage medium
CN111459601A (en) * 2020-04-07 2020-07-28 北京字节跳动网络技术有限公司 Data processing method and device, electronic equipment and computer readable medium
CN112312190A (en) * 2020-10-10 2021-02-02 游艺星际(北京)科技有限公司 Video picture display method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多角度人脸识别简单介绍;喜欢打酱油的老鸟;《CSDN》;20180818;全文 *

Also Published As

Publication number Publication date
CN113766339A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN109462776B (en) Video special effect adding method and device, terminal equipment and storage medium
CN111491173B (en) Live cover determination method and device, computer equipment and storage medium
CN107911736B (en) Live broadcast interaction method and system
CN110119700B (en) Avatar control method, avatar control device and electronic equipment
CN108140263A (en) AR display systems and method applied to image or video
CN112732152B (en) Live broadcast processing method and device, electronic equipment and storage medium
CN111464834B (en) Video frame processing method and device, computing equipment and storage medium
CN110832583A (en) System and method for generating a summary storyboard from a plurality of image frames
CN109035415B (en) Virtual model processing method, device, equipment and computer readable storage medium
US20210084362A1 (en) Method and system of processing information flow and method of displaying comment information
CN112188267B (en) Video playing method, device and equipment and computer storage medium
KR102550305B1 (en) Video automatic editing method and syste based on machine learning
WO2021218379A1 (en) Multimedia interaction method, apparatus and device, and storage medium
CN113873280A (en) Live wheat-connecting fighting interaction method, system and device and computer equipment
CN114286171A (en) Video processing method, device, equipment and storage medium
CN111225287A (en) Bullet screen processing method and device, electronic equipment and storage medium
CN114222076B (en) Face changing video generation method, device, equipment and storage medium
CN113709545A (en) Video processing method and device, computer equipment and storage medium
CN108399653A (en) augmented reality method, terminal device and computer readable storage medium
CN113709544B (en) Video playing method, device, equipment and computer readable storage medium
CN113965773A (en) Live broadcast display method and device, storage medium and electronic equipment
CN114170472A (en) Image processing method, readable storage medium and computer terminal
CN113766339B (en) Bullet screen display method and device
CN110719415A (en) Video image processing method and device, electronic equipment and computer readable medium
CN115193039A (en) Interactive method, device and system of game scenarios

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant