CN111491193B - Method for automatically presenting live broadcast picture information of electric competition - Google Patents

Method for automatically presenting live broadcast picture information of electric competition Download PDF

Info

Publication number
CN111491193B
CN111491193B CN201911085085.7A CN201911085085A CN111491193B CN 111491193 B CN111491193 B CN 111491193B CN 201911085085 A CN201911085085 A CN 201911085085A CN 111491193 B CN111491193 B CN 111491193B
Authority
CN
China
Prior art keywords
information
screenshot
image
button
live
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
CN201911085085.7A
Other languages
Chinese (zh)
Other versions
CN111491193A (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.)
Lejing Culture Media Shanghai Co ltd
Zheng Duo
Original Assignee
Lejing Culture Media Shanghai 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 Lejing Culture Media Shanghai Co ltd filed Critical Lejing Culture Media Shanghai Co ltd
Priority to CN201911085085.7A priority Critical patent/CN111491193B/en
Publication of CN111491193A publication Critical patent/CN111491193A/en
Application granted granted Critical
Publication of CN111491193B publication Critical patent/CN111491193B/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/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/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • 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/4781Games
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Abstract

The invention relates to image recognition, in particular to an automatic display method of live image information of an electronic competition, which comprises the steps of opening an H5 operation interface on a PC2, connecting the operation interface with an OB machine of an OB electronic competition, clicking a relevant button on the operation interface to trigger screenshot operation when effective data or information is updated on an image on the PC2, judging whether the image information is recognized or character information according to the relevant button pressed in S1 by the PC2, carrying out binarization and graying processing on the screenshot after the image information is judged and judged by the PC2, calculating a threshold value, dividing the processed screenshot in S3 according to preset coordinates because the recognized image information is always distributed at a fixed position of the screenshot, selecting a divided image in corresponding coordinates in S4 according to the relevant button pressed in S1 by the PC2, and carrying out RGB value comparison on the selected divided image and an image template in a database; the technical scheme provided by the invention effectively overcomes the defects that the subtitle cannot be automatically updated according to the live broadcast picture and the image information identification speed is slow.

Description

Method for automatically presenting live broadcast picture information of electric competition
Technical Field
The invention relates to image recognition, in particular to an automatic display method for live picture information of an electric competition.
Background
With the development of society and the progress of image recognition technology, the application range of image recognition in daily life is wider and wider, such as scene classification, license plate recognition, face recognition, environment monitoring and the like, but the image recognition is not applied to live broadcast of electric competition at present.
At present, related subtitles in live broadcasting of domestic electric competitions are updated manually in a subtitle player, and the subtitles cannot be automatically updated according to a live broadcasting picture.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects in the prior art, the invention provides an automatic display method of live broadcast picture information of an electric competition, which can effectively overcome the defects that in the prior art, subtitles cannot be automatically updated according to a live broadcast picture, and the image information identification speed is low.
(II) technical scheme
In order to realize the purpose, the invention is realized by the following technical scheme:
a live broadcast picture information automatic presentation method for an electric competition comprises the following steps:
s1, opening an H5 operation interface on the PC2, connecting the operation interface with an OB machine of an OB electric competition game, and clicking a relevant button on the operation interface to trigger screenshot operation when effective data or information update appears on a picture on the PC 2;
s2, the PC2 determines whether the image information or the character information is recognized based on the button pressed in S1;
s3 and PC2 judge and recognize the image information, then carry on the binarization, gray processing to the screenshot, and calculate the threshold value;
s4, the recognized image information is always distributed at the fixed position of the screenshot, so that the screenshot processed in the S3 can be divided according to the coordinates set in advance;
s5 and the PC2 select the divided images in the corresponding coordinates in the S4 according to the related buttons pressed in the S1, compare the selected divided images with the image templates in the database by the RGB values, select the image template with the minimum RGB difference value as the identified object, and record the result in the database;
s6 and PC2 judge and recognize the character information, then call the free character recognition plug-in, directly read the characters in the fixed coordinate range on the screenshot in S1, and record the result in the database;
s7, the PC2 sends the results recorded in the database to the PC1 for display;
s8, if the result displayed on the PC1 is to be displayed on the live view, the PC1 can send a signal to the caption machine, perform secondary processing and packaging by the caption machine, and generate the final display view.
Preferably, the information update includes the presence of a new BP, scoreboard, tactical board.
Preferably, the related buttons include a red BAN button, a red PICK button, a blue BAN button, a blue PICK button, and a get KDA button.
Preferably, the screenshot operation is implemented by an open source control.
Preferably, communication is established between the PC2 and the PC1 via nodeJS.
Preferably, the RGB value comparison is a difference comparison.
(III) advantageous effects
Compared with the prior art, the automatic display method for the live picture information of the electric competition provided by the invention has the following beneficial effects:
1. according to the traditional live broadcast BP page for the electric competition, a caption machine is required to superpose a series of effects on the page, all materials such as pictures, animations and the like must be made in advance in the process, then manual operation is carried out, the input labor and machine cost are high, and the condition of manual operation errors is easy to occur;
2. according to the traditional data statistics, information needs to be manually collected from pictures and then processed, the result is easy to be wrong, and a large amount of time is consumed;
3. according to the method, the screenshot is segmented according to the preset coordinates according to the characteristic that the image information to be identified is always distributed in the fixed position of the game client, and the segmented images in the corresponding coordinates are found for identification and comparison, so that the time for identifying the image is effectively shortened, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic diagram of the system of the present invention;
FIG. 2 is a schematic diagram of the operation of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. 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.
An automatic display method for live picture information of an electric competition, as shown in fig. 1 and 2, comprises the following steps:
s1, opening an H5 operation interface on the PC2, connecting the operation interface with an OB machine of an OB electric competition game, and clicking a relevant button on the operation interface to trigger screenshot operation when effective data or information update appears on a picture on the PC 2;
s2, PC2 judges whether to recognize image information or character information according to the relevant button pressed in S1;
s3 and PC2 judge and recognize the image information, then carry on the binarization, gray processing to the screenshot, and calculate the threshold value;
s4, the recognized image information is always distributed at the fixed position of the screenshot, so that the screenshot processed in the S3 can be divided according to the coordinates set in advance;
s5 and the PC2 select the divided images in the corresponding coordinates in the S4 according to the related buttons pressed in the S1, compare the selected divided images with the image templates in the database by the RGB values, select the image template with the minimum RGB difference value as the identified object, and record the result in the database;
s6 and PC2 judge and recognize the character information, call the free character recognition plug-in unit of open source, read the characters in the fixed coordinate range on the screenshot in S1 directly, and record the result in the database;
s7, the PC2 sends the results recorded in the database to the PC1 for display;
s8, if the result displayed on the PC1 is to be displayed on a live view, the PC1 can send a signal to a caption machine, and the caption machine performs secondary processing and packaging to generate a final display view.
The information updating comprises the appearance of a new BP, a score board and a tactical board; the related buttons comprise a Hongfang BAN button, a Hongfang PICK button, a Langfang BAN button, a Langfang PICK button and an acquisition KDA button; the screenshot operation is realized by an open source control; the PC2 and the PC1 establish communication through nodeJS; the RGB value comparison is difference comparison.
The screenshot is processed (binaryzation, graying, threshold calculation and picture segmentation) through an image recognition algorithm, then difference comparison is carried out on the screenshot and the RGB values of the existing material picture templates, and the picture template with the minimum difference is selected as a recognized object.
By using image recognition technology, effective data on hero BP, score board and tactical board in game picture are automatically recognized, and the effect of fast, less-manpower, zero-error recording data and updating caption is achieved by combining the functions of the director (such as reading external signal source by caption machine).
The method for automatically presenting the live event picture information of the electric competition, provided by the invention, has the following beneficial effects:
1. according to the traditional live broadcast BP page for the electric competition, a caption machine is required to superpose a series of effects on the page, all materials such as pictures, animations and the like must be made in advance in the process, then manual operation is carried out, the input labor and machine cost are high, and the condition of manual operation errors is easy to occur;
2. according to the traditional data statistics, information needs to be manually collected from pictures and then processed, the result is easy to be wrong, and a large amount of time is consumed;
3. according to the method, the screenshot is segmented according to the preset coordinates according to the characteristic that the image information to be identified is always distributed in the fixed position of the game client, and the segmented images in the corresponding coordinates are found for identification and comparison, so that the time for identifying the image is effectively shortened, and the working efficiency is improved.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (6)

1. A live broadcast picture information automatic presentation method for electric competition is characterized in that: the method comprises the following steps:
s1, opening an H5 operation interface on the PC2, connecting the operation interface with an OB machine of an OB electric competition game, and clicking a relevant button on the operation interface to trigger screenshot operation when effective data or information update appears on a picture on the PC 2;
s2, PC2 judges whether to recognize image information or character information according to the relevant button pressed in S1;
s3 and after the image information is judged and identified by the PC2, the screenshot is subjected to binarization and graying processing, and a threshold value is calculated;
s4, the recognized image information is always distributed at the fixed position of the screenshot, so that the screenshot processed in the S3 can be divided according to the coordinates set in advance;
s5 and the PC2 select the divided images in the corresponding coordinates in the S4 according to the related buttons pressed in the S1, compare the selected divided images with the image templates in the database by the RGB values, select the image template with the minimum RGB difference value as the identified object, and record the result in the database;
s6 and PC2 judge and recognize the character information, call the free character recognition plug-in unit of open source, read the characters in the fixed coordinate range on the screenshot in S1 directly, and record the result in the database;
s7, the PC2 sends the results recorded in the database to the PC1 for display;
s8, if the result displayed on the PC1 is to be displayed on the live view, the PC1 can send a signal to the caption machine, perform secondary processing and packaging by the caption machine, and generate the final display view.
2. The automatic presentation method of live scene information of an electric competition according to claim 1, wherein: the information update includes the appearance of a new BP, scoreboard, tactical board.
3. The automatic presentation method of live scene information of an electric competition according to claim 1, wherein: the related buttons comprise a Hongfang BAN button, a Hongfang PICK button, a blue BAN button, a blue PICK button and an acquisition KDA button.
4. The automatic presentation method of live scene information of an electric competition according to claim 1, wherein: the screenshot operation is realized by an open source control.
5. The electronic contest live screen information automatic presentation method of claim 1, characterized in that: and the PC2 and the PC1 establish communication through nodeJS.
6. The automatic presentation method of live scene information of an electric competition according to claim 1, wherein: the RGB value comparison is difference comparison.
CN201911085085.7A 2019-11-08 2019-11-08 Method for automatically presenting live broadcast picture information of electric competition Active CN111491193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911085085.7A CN111491193B (en) 2019-11-08 2019-11-08 Method for automatically presenting live broadcast picture information of electric competition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911085085.7A CN111491193B (en) 2019-11-08 2019-11-08 Method for automatically presenting live broadcast picture information of electric competition

Publications (2)

Publication Number Publication Date
CN111491193A CN111491193A (en) 2020-08-04
CN111491193B true CN111491193B (en) 2022-06-03

Family

ID=71797996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911085085.7A Active CN111491193B (en) 2019-11-08 2019-11-08 Method for automatically presenting live broadcast picture information of electric competition

Country Status (1)

Country Link
CN (1) CN111491193B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163476B (en) * 2020-09-16 2023-12-19 汕头市同行网络科技有限公司 Electronic competition condition data acquisition method based on image recognition
CN112426712A (en) * 2020-11-20 2021-03-02 广州博冠信息科技有限公司 Method and device for generating live broadcast picture of game event

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924589A (en) * 2018-08-02 2018-11-30 佛山龙眼传媒科技有限公司 Subtitle method of automatic configuration and device
CN110025956A (en) * 2019-04-24 2019-07-19 杭州威佩网络科技有限公司 A kind of competing data push method of electricity, device and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19934913A1 (en) * 1999-07-21 2001-01-25 Deutsche Telekom Ag Conducting virtual sports competition via telecommunications network, especially Internet, involves connecting competitors via speech input/output arrangement, video camera and screen
CN101494742A (en) * 2008-01-24 2009-07-29 新奥特(北京)视频技术有限公司 Technology statistical data implement method for basketball live television subtitling system
US9399170B2 (en) * 2013-01-15 2016-07-26 Fanamana, Inc. Systems, methods, and computer program products for objective fantasy sporting contests
US9502003B2 (en) * 2014-01-05 2016-11-22 Spatial Cam Llc Apparatus and methods to display a modified image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924589A (en) * 2018-08-02 2018-11-30 佛山龙眼传媒科技有限公司 Subtitle method of automatic configuration and device
CN110025956A (en) * 2019-04-24 2019-07-19 杭州威佩网络科技有限公司 A kind of competing data push method of electricity, device and server

Also Published As

Publication number Publication date
CN111491193A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US10540805B2 (en) Control of display of composite image based on depth information
CN107569848B (en) Game classification method and device and electronic equipment
CN111491193B (en) Method for automatically presenting live broadcast picture information of electric competition
US20110102678A1 (en) Key Generation Through Spatial Detection of Dynamic Objects
US20050213793A1 (en) Monitoring system and setting method for the same
CN108475431B (en) Image processing apparatus, image processing system, image processing method, and recording medium
US20050254711A1 (en) Method and apparatus for detecting local features of video, and recording medium storing the method
CN105451029A (en) Video image processing method and device
CN105718861A (en) Method and device for identifying video streaming data category
CN105704559A (en) Poster generation method and apparatus thereof
CN110881134A (en) Data processing method and device, electronic equipment and storage medium
CN111901536A (en) Video editing method, system, device and storage medium based on scene recognition
CN112330371A (en) AI-based intelligent advertisement pushing method, device, system and storage medium
CN107370977B (en) Method, equipment and storage medium for adding commentary in detection video
CN113271460B (en) Dynamic image detection method and detection system
CN108055423B (en) Multi-lens video synchronization offset calculation method
CN114173059B (en) Video editing system, method and device
CN104754367A (en) Multimedia information processing method and device
CN107360460B (en) Method, device and storage medium for detecting video added subtitles
US11711328B2 (en) Message output apparatus, learning apparatus, message output method, learning method, and program
CN112422907A (en) Image processing method, device and system
CN114341946A (en) Identification method, identification device, electronic equipment and storage medium
US11798284B2 (en) System and method for rough handling recognition in a distribution center via a robust visual solution
CN110853001B (en) Transformer substation foreign matter interference prevention image recognition method, system and medium
CN115359555A (en) Behavior monitoring method and device, electronic equipment and storage medium

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 200023 room a18-220, floor 2, No. 558 Luban Road, Huangpu District, Shanghai

Patentee after: Lejing Culture Media (Shanghai) Co.,Ltd.

Patentee after: Zheng Duo

Address before: 200083 room 1001, building A5, No. 121, Zhongshan North 1st Road, Hongkou District, Shanghai

Patentee before: Lejing culture media (Shanghai) Co.,Ltd.

Patentee before: Zheng Duo