CN110826361A - Method and device for explaining sports game - Google Patents

Method and device for explaining sports game Download PDF

Info

Publication number
CN110826361A
CN110826361A CN201810901723.7A CN201810901723A CN110826361A CN 110826361 A CN110826361 A CN 110826361A CN 201810901723 A CN201810901723 A CN 201810901723A CN 110826361 A CN110826361 A CN 110826361A
Authority
CN
China
Prior art keywords
athlete
video
determining
sports game
video frame
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.)
Pending
Application number
CN201810901723.7A
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Beijing Youku Technology 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 Beijing Youku Technology Co Ltd filed Critical Beijing Youku Technology Co Ltd
Priority to CN201810901723.7A priority Critical patent/CN110826361A/en
Publication of CN110826361A publication Critical patent/CN110826361A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)

Abstract

The disclosure relates to a method and a device for explaining a sports game. The method comprises the following steps: carrying out character recognition on a video frame of a sports game video, and determining the name of an athlete in the video frame; performing posture recognition on the athlete and determining the action of the athlete; determining corresponding action description information of the athlete according to the action of the athlete; and generating the commentary content corresponding to the sports game video according to the name of the athlete and the action description information. The method and the device can improve the accuracy of the explanation content, avoid the condition of manual misstatement, greatly reduce the error rate and save manpower.

Description

Method and device for explaining sports game
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a method and a device for explaining a sports game.
Background
At present, in the broadcasting of sports games, a manual commentary mode is adopted, and one or more commentators explain a game at the same time. In the explanation process, the explanation depends on the memory of the commentator, so that the wrong explanation of the player numbers or names is easy to happen, and the misguiding of the audience is caused. How to reduce the error rate of the explanation of the sports competition is a problem to be solved urgently.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for explaining a sports game.
According to an aspect of the present disclosure, there is provided a commentary method of a sports game, including:
carrying out character recognition on a video frame of a sports game video, and determining the name of an athlete in the video frame;
performing posture recognition on the athlete and determining the action of the athlete;
determining corresponding action description information of the athlete according to the action of the athlete;
and generating the commentary content corresponding to the sports game video according to the name of the athlete and the action description information.
In one possible implementation, performing character recognition on video frames of a video of a sports game, determining names of players in the video frames, includes:
based on face image template data of athletes corresponding to the sports game video, performing character recognition on a video frame of the sports game video, and determining a face area matched with the face image template data in the video frame;
and determining the name of the athlete corresponding to the face area matched with the face image template data in the video frame based on the corresponding relation between the face image template data and the name of the athlete.
In one possible implementation, performing character recognition on video frames of a video of a sports game, determining names of players in the video frames, includes:
identifying characters of a video frame of the sports game video based on a competition participating clothes style and competition participating clothes number template data corresponding to the sports game video, and determining a competition participating clothes area matched with the competition participating clothes style and competition participating clothes number template data in the video frame;
and determining the names of the athletes corresponding to the competition costume areas matched with the competition costume styles and the competition costume number template data in the video frames based on the corresponding relations between the competition costume styles, the competition costume number template data and the names of the athletes.
In one possible implementation manner, determining the corresponding action description information of the athlete according to the action of the athlete comprises the following steps:
and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the specified object in the video frame and the athlete and the relative position between the specified object in the adjacent frame of the video frame and the athlete.
In one possible implementation manner, generating the commentary content corresponding to the sports game video according to the name of the athlete and the action description information includes:
and generating the commentary content corresponding to the sports game video according to the name of the athlete, the action description information and the position of the athlete in the playing field.
According to another aspect of the present disclosure, there is provided a commentary apparatus for a sports game, including:
the character recognition module is used for carrying out character recognition on a video frame of a sports game video and determining the name of an athlete in the video frame;
the gesture recognition module is used for carrying out gesture recognition on the athlete and determining the action of the athlete;
the determining module is used for determining the action description information corresponding to the athlete according to the action of the athlete;
and the generation module is used for generating the comment content corresponding to the sports game video according to the name of the athlete and the action description information.
In one possible implementation, the person identification module includes:
the first identification submodule is used for carrying out character identification on a video frame of the sports game video based on face image template data of an athlete corresponding to the sports game video and determining a face area matched with the face image template data in the video frame;
and the first determining sub-module is used for determining the name of the athlete corresponding to the face area matched with the face image template data in the video frame based on the corresponding relation between the face image template data and the name of the athlete.
In one possible implementation, the person identification module includes:
the second identification submodule is used for identifying characters of a video frame of the sports game video based on the sports game clothing style and the sports game clothing number template data corresponding to the sports game video and determining a sports clothing area matched with the sports game clothing style and the sports clothing number template data in the video frame;
and the second determining submodule is used for determining the names of the athletes corresponding to the competition costume areas matched with the competition costume styles and the competition costume number template data in the video frames based on the corresponding relation between the competition costume styles, the competition costume number template data and the names of the athletes.
In one possible implementation, the determining module is configured to:
and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the specified object in the video frame and the athlete and the relative position between the specified object in the adjacent frame of the video frame and the athlete.
In one possible implementation, the generating module is configured to:
and generating the commentary content corresponding to the sports game video according to the name of the athlete, the action description information and the position of the athlete in the playing field.
According to another aspect of the present disclosure, there is provided a commentary apparatus for a sports game, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
According to the explanation method and the explanation device for the sports game, disclosed by the aspects, the character recognition is carried out on the video frame of the video of the sports game, the name of the athlete in the video frame is determined, the posture recognition is carried out on the athlete, the action of the athlete is determined, the action description information corresponding to the athlete is determined according to the action of the athlete, and the explanation content corresponding to the video of the sports game is generated according to the name of the athlete and the action description information, so that the accuracy of the explanation content can be improved, the condition of manual misstatement is avoided, the error rate is greatly reduced, and the labor can be saved.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of an illustration method of a sports game according to an embodiment of the present disclosure.
Fig. 2 shows an exemplary flowchart of a method for commentary on sports games step S11 according to an embodiment of the present disclosure.
Fig. 3 shows another exemplary flowchart of a method for commentary on sports games step S11 according to an embodiment of the present disclosure.
Fig. 4 shows a block diagram of an explanation device of a sports game according to an embodiment of the present disclosure.
Fig. 5 illustrates an exemplary block diagram of an commentary apparatus for a sports game according to an embodiment of the present disclosure.
Fig. 6 illustrates an exemplary block diagram of an apparatus 800 for commentary on sporting events according to an embodiment of the present disclosure.
Fig. 7 shows an exemplary block diagram of an apparatus 1900 for commentary on sporting events according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flowchart of an illustration method of a sports game according to an embodiment of the present disclosure. As shown in fig. 1, the method includes steps S11 through S14.
In step S11, character recognition is performed on the video frames of the sports game video, and the names of players in the video frames are determined.
The sports game in the embodiment of the present disclosure may be any sports game such as a football game, a basketball game, a tennis game, a volleyball game, a table tennis game, an auto racing game, a dragon boat game, a race game, or a hurdle game.
In one possible implementation, prior to performing character recognition on the video frames of the video of the sports game, the corresponding material of the video of the sports game may be obtained.
As an example of this implementation, the material corresponding to the sports game video may include face image template data of the athlete and a correspondence between the face image template data of the athlete and the name of the athlete.
As another example of the implementation, the material corresponding to the sports game video may include a contest uniform style and contest uniform number template data, and a correspondence between the contest uniform style and contest uniform number template data and the names of the athletes.
As another example of this implementation, the profile corresponding to the video of the sporting event may include a personal profile of the athlete.
As another example of this implementation, the profile corresponding to the video of the sporting event may include historical performance of the athlete.
It should be noted that, although the above examples describe the corresponding material of the sports game video, those skilled in the art can understand that the disclosure should not be limited thereto. Those skilled in the art can flexibly set which contents are specifically included in the material corresponding to the sports game video according to the requirements of the actual application scene and/or personal preferences.
In step S12, the posture of the player is recognized and the player' S motion is determined.
In one possible implementation, a RMPE (Multi-person position estimation) method may be used to perform position recognition on the athlete in the video frame and determine the athlete's motion.
It should be noted that although the RMPE is used as an example to describe the specific implementation of gesture recognition for athletes, the skilled person will understand that the disclosure should not be limited thereto. Those skilled in the art can flexibly select the gesture recognition mode for the athlete according to the requirements of the actual application scene and/or personal preference.
In one possible implementation, a neural network for gesture recognition may be trained in advance, through which actions such as shooting, passing, heading, and barbs are recognized.
In step S13, motion description information corresponding to the player is determined according to the player' S motion.
In a possible implementation manner, action description information corresponding to different actions can be preset, so that the action description information corresponding to the athlete can be determined according to the action of the athlete and the corresponding relationship between the action and the action description information.
In one possible implementation, determining the corresponding motion description information of the athlete according to the motion of the athlete comprises: and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the designated object in the video frame and the athlete and the relative position between the designated object in the adjacent frame of the video frame and the athlete.
For example, in a football game video, the item is designated as football; in the basketball game video, the designated item is a basketball.
In this implementation, it may be determined that a given item is moving away from or approaching the athlete based on the relative position between the given item and the athlete in a video frame and the relative position between the given item and the athlete in an adjacent frame of the video frame.
In step S14, commentary corresponding to the sports game video is generated based on the name of the player and the motion description information.
For example, if the name of the player is "a" and the action description information is "shooting", the commentary may include "player a is shooting".
In one possible implementation manner, the generation of the narration corresponding to the sports game video according to the name of the athlete and the action description information comprises the following steps: and generating the commentary content corresponding to the sports game video according to the name, the action description information and the position of the player in the playing field.
For example, the narration includes "team B player C shoot at 30 meters from goal with great force with one foot, result … …".
This disclosed embodiment carries out personage's discernment through the video frame to the sports match video, confirms the sportsman's in the video frame name, carry out gesture recognition to the sportsman, confirm sportsman's action, according to sportsman's action, confirm the action description information that the sportsman corresponds, and according to sportsman's name and action description information, generate the explanation content that the sports match video corresponds, can improve the accuracy of explaining the content from this, avoid the condition of artifical misstatement, greatly reduced error rate, and can use manpower sparingly.
Fig. 2 shows an exemplary flowchart of a method for commentary on sports games step S11 according to an embodiment of the present disclosure. As shown in fig. 2, step S11 may include step S111 and step S112.
In step S111, based on the face image template data of the athlete corresponding to the sports game video, character recognition is performed on the video frame of the sports game video, and a face area in the video frame that matches the face image template data is determined.
In one possible implementation, the face image template data of the athlete corresponding to the sports game video may include face reference images of all athletes participating in the sports game corresponding to the sports game video.
In a possible implementation manner, the face region matched with the face image template data in the video frame can be determined by using openface, opencv or dlib library of python in the related technology.
In step S112, the name of the athlete corresponding to the face area in the video frame that matches the face image template data is determined based on the correspondence between the face image template data and the name of the athlete.
Fig. 3 shows another exemplary flowchart of a method for commentary on sports games step S11 according to an embodiment of the present disclosure. As shown in fig. 3, step S11 may include step S113 and step S114.
In step S113, based on the contest uniform pattern and the contest uniform number template data corresponding to the sports game video, character recognition is performed on the video frame of the sports game video, and a contest uniform area matching the contest uniform pattern and the contest uniform number template data in the video frame is determined.
In one possible implementation manner, the contest uniform pattern and the contest uniform number template data corresponding to the sports game video may include reference images of the contest uniform of all the athletes of the sports game corresponding to the sports game video.
In step S114, the names of the athletes corresponding to the contest clothing areas in the video frames matched with the contest clothing styles and the contest clothing number template data are determined based on the correspondence between the contest clothing styles, the contest clothing number template data, and the names of the athletes.
In a possible implementation manner, a classical comment language record corresponding to the sports game video may be obtained according to the type of the sports game in the sports game video, and comment content may be generated in combination with the classical comment language record corresponding to the sports game video. For example, if the type of the sports game in the sports game video is a football game, a classical comment statement (e.g., a funny comment statement) corresponding to the football game may be obtained, and comment content may be generated in combination with the classical comment statement corresponding to the football game.
In one possible implementation, the narration content may be output according to a specified voice effect. For example, the narration content may be output with a dubbing of a specified person.
In one possible implementation, the corresponding profile information for an athlete may be added based on the athlete's position in the video frame. For example, the athlete's corresponding profile information may be added over the athlete's head in the video frame.
In one possible implementation, the historical performance information corresponding to the athlete can be added according to the position of the athlete in the video frame. For example, historical performance information corresponding to an athlete may be added over the athlete's head in a video frame.
In one possible implementation, advertising information on the speaker's pronouncing may be added based on the player's position in the video frame. For example, advertising information on the athlete's pronoun may be added to the athlete's clothing position in the video frame.
Fig. 4 shows a block diagram of an explanation device of a sports game according to an embodiment of the present disclosure. As shown in fig. 4, the apparatus includes: a character recognition module 41, configured to perform character recognition on a video frame of a sports game video, and determine names of athletes in the video frame; the gesture recognition module 42 is used for performing gesture recognition on the athlete and determining the action of the athlete; the determining module 43 is configured to determine motion description information corresponding to the athlete according to the motion of the athlete; and the generating module 44 is configured to generate commentary content corresponding to the sports game video according to the name of the athlete and the motion description information.
Fig. 5 illustrates an exemplary block diagram of an commentary apparatus for a sports game according to an embodiment of the present disclosure. As shown in fig. 5:
in one possible implementation, the person identification module 41 includes: the first identification submodule 411 is used for performing character identification on a video frame of the sports game video based on face image template data of an athlete corresponding to the sports game video, and determining a face area matched with the face image template data in the video frame; the first determining sub-module 412 is configured to determine, based on the correspondence between the facial image template data and the name of the athlete, the name of the athlete corresponding to the face region in the video frame that matches the facial image template data.
In one possible implementation, the person identification module 41 includes: the second identification submodule 413 is used for identifying characters of a video frame of the sports game video based on the sports game clothing style and the sports game clothing number template data corresponding to the sports game video, and determining a sports clothing area matched with the sports game clothing style and the sports clothing number template data in the video frame; and a second determining sub-module 414, configured to determine, based on the correspondence between the contestant clothing style and the contestant clothing number template data and the names of the athletes, names of the athletes corresponding to the contestant clothing areas in the video frame, where the contestant clothing style and the contestant clothing number template data are matched.
In one possible implementation, the determining module 43 is configured to: and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the designated object and the athlete in the video frame and the relative position between the designated object and the athlete in the adjacent frame of the video frame.
In one possible implementation, the generation module 44 is configured to: and generating the commentary content corresponding to the sports game video according to the name, the action description information and the position of the player in the playing field.
This disclosed embodiment carries out personage's discernment through the video frame to the sports match video, confirms the sportsman's in the video frame name, carry out gesture recognition to the sportsman, confirm sportsman's action, according to sportsman's action, confirm the action description information that the sportsman corresponds, and according to sportsman's name and action description information, generate the explanation content that the sports match video corresponds, can improve the accuracy of explaining the content from this, avoid the condition of artifical misstatement, greatly reduced error rate, and can use manpower sparingly.
Fig. 6 illustrates an exemplary block diagram of an apparatus 800 for commentary on sporting events according to an embodiment of the present disclosure. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the device 800 to perform the above-described methods.
Fig. 7 shows an exemplary block diagram of an apparatus 1900 for commentary on sporting events according to an embodiment of the present disclosure. For example, the apparatus 1900 may be provided as a server. Referring to fig. 7, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the apparatus 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (12)

1. A method for commentary on a sports game, comprising:
carrying out character recognition on a video frame of a sports game video, and determining the name of an athlete in the video frame;
performing posture recognition on the athlete and determining the action of the athlete;
determining corresponding action description information of the athlete according to the action of the athlete;
and generating the commentary content corresponding to the sports game video according to the name of the athlete and the action description information.
2. The method of claim 1, wherein performing character recognition on video frames of a video of a sporting event and determining names of players in the video frames comprises:
based on face image template data of athletes corresponding to the sports game video, performing character recognition on a video frame of the sports game video, and determining a face area matched with the face image template data in the video frame;
and determining the name of the athlete corresponding to the face area matched with the face image template data in the video frame based on the corresponding relation between the face image template data and the name of the athlete.
3. The method of claim 1, wherein performing character recognition on video frames of a video of a sporting event and determining names of players in the video frames comprises:
identifying characters of a video frame of the sports game video based on a competition participating clothes style and competition participating clothes number template data corresponding to the sports game video, and determining a competition participating clothes area matched with the competition participating clothes style and competition participating clothes number template data in the video frame;
and determining the names of the athletes corresponding to the competition costume areas matched with the competition costume styles and the competition costume number template data in the video frames based on the corresponding relations between the competition costume styles, the competition costume number template data and the names of the athletes.
4. The method of claim 1, wherein determining the athlete's corresponding movement description information based on the athlete's movements comprises:
and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the specified object in the video frame and the athlete and the relative position between the specified object in the adjacent frame of the video frame and the athlete.
5. The method according to any one of claims 1 to 4, wherein generating commentary corresponding to the sports game video according to the name of the athlete and the action description information comprises:
and generating the commentary content corresponding to the sports game video according to the name of the athlete, the action description information and the position of the athlete in the playing field.
6. An commentary device for sports events, comprising:
the character recognition module is used for carrying out character recognition on a video frame of a sports game video and determining the name of an athlete in the video frame;
the gesture recognition module is used for carrying out gesture recognition on the athlete and determining the action of the athlete;
the determining module is used for determining the action description information corresponding to the athlete according to the action of the athlete;
and the generation module is used for generating the comment content corresponding to the sports game video according to the name of the athlete and the action description information.
7. The apparatus of claim 6, wherein the person identification module comprises:
the first identification submodule is used for carrying out character identification on a video frame of the sports game video based on face image template data of an athlete corresponding to the sports game video and determining a face area matched with the face image template data in the video frame;
and the first determining sub-module is used for determining the name of the athlete corresponding to the face area matched with the face image template data in the video frame based on the corresponding relation between the face image template data and the name of the athlete.
8. The apparatus of claim 6, wherein the person identification module comprises:
the second identification submodule is used for identifying characters of a video frame of the sports game video based on the sports game clothing style and the sports game clothing number template data corresponding to the sports game video and determining a sports clothing area matched with the sports game clothing style and the sports clothing number template data in the video frame;
and the second determining submodule is used for determining the names of the athletes corresponding to the competition costume areas matched with the competition costume styles and the competition costume number template data in the video frames based on the corresponding relation between the competition costume styles, the competition costume number template data and the names of the athletes.
9. The apparatus of claim 6, wherein the determining module is configured to:
and determining corresponding action description information of the athlete according to the action of the athlete, the relative position between the specified object in the video frame and the athlete and the relative position between the specified object in the adjacent frame of the video frame and the athlete.
10. The apparatus of any one of claims 6 to 9, wherein the generating module is configured to:
and generating the commentary content corresponding to the sports game video according to the name of the athlete, the action description information and the position of the athlete in the playing field.
11. An commentary device for sports events, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1 to 5.
CN201810901723.7A 2018-08-09 2018-08-09 Method and device for explaining sports game Pending CN110826361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810901723.7A CN110826361A (en) 2018-08-09 2018-08-09 Method and device for explaining sports game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810901723.7A CN110826361A (en) 2018-08-09 2018-08-09 Method and device for explaining sports game

Publications (1)

Publication Number Publication Date
CN110826361A true CN110826361A (en) 2020-02-21

Family

ID=69541254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810901723.7A Pending CN110826361A (en) 2018-08-09 2018-08-09 Method and device for explaining sports game

Country Status (1)

Country Link
CN (1) CN110826361A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539978A (en) * 2020-04-23 2020-08-14 北京字节跳动网络技术有限公司 Method, apparatus, electronic device and medium for generating comment information
CN111538862A (en) * 2020-05-15 2020-08-14 北京百度网讯科技有限公司 Method and device for explaining video
CN111539976A (en) * 2020-04-23 2020-08-14 北京字节跳动网络技术有限公司 Comment information generation method and device, electronic equipment and computer readable medium
CN112040272A (en) * 2020-09-08 2020-12-04 海信电子科技(武汉)有限公司 Intelligent explanation method for sports events, server and display equipment
CN113810730A (en) * 2021-09-17 2021-12-17 咪咕数字传媒有限公司 Real-time text generation method and device based on video and computing equipment
CN114584685A (en) * 2020-11-30 2022-06-03 北京市商汤科技开发有限公司 Race condition display method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080192116A1 (en) * 2005-03-29 2008-08-14 Sportvu Ltd. Real-Time Objects Tracking and Motion Capture in Sports Events
CN102110399A (en) * 2011-02-28 2011-06-29 北京中星微电子有限公司 Method, device and system for assisting explication
CN105263040A (en) * 2015-10-08 2016-01-20 安徽理工大学 Method for watching ball game live broadcast in mobile phone flow saving mode
CN106254939A (en) * 2016-09-30 2016-12-21 北京小米移动软件有限公司 Information cuing method and device
CN108337573A (en) * 2018-03-26 2018-07-27 京东方科技集团股份有限公司 A kind of implementation method that race explains in real time and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080192116A1 (en) * 2005-03-29 2008-08-14 Sportvu Ltd. Real-Time Objects Tracking and Motion Capture in Sports Events
CN102110399A (en) * 2011-02-28 2011-06-29 北京中星微电子有限公司 Method, device and system for assisting explication
CN105263040A (en) * 2015-10-08 2016-01-20 安徽理工大学 Method for watching ball game live broadcast in mobile phone flow saving mode
CN106254939A (en) * 2016-09-30 2016-12-21 北京小米移动软件有限公司 Information cuing method and device
CN108337573A (en) * 2018-03-26 2018-07-27 京东方科技集团股份有限公司 A kind of implementation method that race explains in real time and medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539978A (en) * 2020-04-23 2020-08-14 北京字节跳动网络技术有限公司 Method, apparatus, electronic device and medium for generating comment information
CN111539976A (en) * 2020-04-23 2020-08-14 北京字节跳动网络技术有限公司 Comment information generation method and device, electronic equipment and computer readable medium
CN111538862A (en) * 2020-05-15 2020-08-14 北京百度网讯科技有限公司 Method and device for explaining video
CN112040272A (en) * 2020-09-08 2020-12-04 海信电子科技(武汉)有限公司 Intelligent explanation method for sports events, server and display equipment
CN114584685A (en) * 2020-11-30 2022-06-03 北京市商汤科技开发有限公司 Race condition display method and device, computer equipment and readable storage medium
CN113810730A (en) * 2021-09-17 2021-12-17 咪咕数字传媒有限公司 Real-time text generation method and device based on video and computing equipment
CN113810730B (en) * 2021-09-17 2023-08-01 咪咕数字传媒有限公司 Video-based real-time text generation method and device and computing equipment

Similar Documents

Publication Publication Date Title
CN110826361A (en) Method and device for explaining sports game
CN107944409B (en) Video analysis method and device capable of distinguishing key actions
CN109257645B (en) Video cover generation method and device
CN111970533B (en) Interaction method and device for live broadcast room and electronic equipment
CN104796781B (en) Video clip extracting method and device
CN108985176B (en) Image generation method and device
CN107948708B (en) Bullet screen display method and device
CN108924644B (en) Video clip extraction method and device
CN108600818B (en) Method and device for displaying multimedia resources
CN109543536B (en) Image identification method and device, electronic equipment and storage medium
CN107341509B (en) Convolutional neural network training method and device and readable storage medium
CN108174269B (en) Visual audio playing method and device
CN107147936B (en) Display control method and device for barrage
CN108495168B (en) Bullet screen information display method and device
CN107132769B (en) Intelligent equipment control method and device
CN112543368A (en) Video processing method, video playing method, video processing device, video playing device and storage medium
CN108986117B (en) Video image segmentation method and device
CN110798726A (en) Bullet screen display method and device, electronic equipment and storage medium
CN106599191B (en) User attribute analysis method and device
CN108769769B (en) Video playing method and device and computer readable storage medium
CN112188230A (en) Virtual resource processing method and device, terminal equipment and server
CN112691385B (en) Method and device for acquiring outgoing and installed information, electronic equipment, server and storage medium
CN109756783B (en) Poster generation method and device
CN112950712B (en) Positioning method and device, electronic equipment and storage medium
CN109151544B (en) Multimedia playing and displaying method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200422

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100000 room 26, 9 Building 9, Wangjing east garden four, Chaoyang District, Beijing.

Applicant before: BEIJING YOUKU TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221