Tolerance-based automatic matching of video stream events in video and replay

Through the tolerance-based matching algorithm and the embedded spatial feature vector generated by the neural network, the accuracy problem of the association of events and replays in the video is solved, automatic association is achieved and the efficiency and quality of video processing are improved.

CN117917081BActive Publication Date: 2024-09-24W S C SPORTS TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280034910.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-12
Filing Date
2022-05-11
Publication Date
2024-09-24
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

Existing technologies struggle to automatically accurately correlate events captured in video with their replays, especially when factors such as angle, speed, and camera occlusion are present, resulting in blurred or confusing automated analysis.

Method used

An inexact matching algorithm based on tolerance is used to associate the event with the most likely replay by calculating the matching value between the event and the replay, using the neural network to define the embedding space to generate a feature vector, matching based on distance, and passing Metadata and matching functions improve association accuracy.

Benefits of technology

It automatically and accurately associates events with replays in videos, improves the accuracy and efficiency of video processing, can generate high-quality video clips and summaries, and supports jumping from events to their replays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117917081B_ABST
    Figure CN117917081B_ABST
Patent Text Reader

Abstract

A system and method for associating playbacks in an input video with events includes: a processor identifying an event captured in an input video and at least one playback included in the input video; the processor assigning a first probability value to the event, the first probability value indicating the probability that at least one playback of the event is included in the input video; the processor assigning a second probability value to each of a plurality of playback segments of the input video, the second probability value indicating the probability that the corresponding playback segment is associated with the event; for each of the plurality of playback segments, the processor calculating a match value based on the first probability value and the second probability value; and the processor associating the event with each of the plurality of playback segments whose match value is within a predefined threshold range.
Need to check novelty before this filing date? Find Prior Art

Description

Field of the Invention

[0001] Embodiments of the present invention generally relate to processing of video and multimedia content. More specifically, embodiments of the present invention relate to associating an event captured in a video with a replay of the event. Background of the Invention

[0003] Replay of events captured in video is known, for example, professional sports broadcasters add replays of (previous) high interest events in a game to a live video feed. The replay of the event may show the event from an additional, different angle or viewpoint and / or at a different speed than the original event in the video (e.g., slow motion).

[0004] Associating replays with related events is valuable in the industry because it enables the generation of high-quality content, for example, generating a video clip that includes an event and its replay, being able to jump from a replay of an event to / from an event in the video, selecting a replay to insert into a live broadcast, etc. However, in practice, associating replays with related events is difficult for computers to perform automatically because different angles, speeds, and camera occlusions often obscure or confuse automated analysis of the video.

[0005]

[0006] Therefore, there is a long felt need in the art for systems and methods that can automatically associate an event captured in video with a replay of one or more video captures of the event. SUMMARY OF THE INVENTION

[0007] Embodiments of the present invention address the aforementioned long-standing needs in the art by providing an automatic tolerance-based system and method for matching video stream events in a video with a replay. Automatic event analysis that requires precise rule-based matching often fails due to the large number of variables in video recordings, such as angle, speed, resolution, camera occlusion, etc. Therefore, embodiments of the present invention provide a "fuzzy", tolerance-based or inexact matching algorithm that allows the threshold for matching to vary, thereby accounting for variability in video recordings.

[0008] In some embodiments, systems and methods for associating playbacks with events may include a process or processor for: identifying an event captured in input video content and at least one playback included in the input video; calculating a first probability value indicating the likelihood or probability that at least one playback of the event is included in the video content; calculating a second probability value indicating the likelihood or probability that a particular playback included in the video content is associated with the event; calculating a match value based on the first value and the second value; and associating the event with the particular playback if the match value is within a predefined range (e.g., at a threshold, above a threshold, or below a threshold).

[0009] An embodiment may calculate a match value for each of a plurality of events relative to a particular replay; and the embodiment may associate the particular replay with the event having the highest match value. An embodiment may calculate a match value for each of a plurality of replays relative to a particular event; and the embodiment may associate the particular event with the replay having the highest match value.

[0010] In some embodiments, the matching function used to calculate the match value can be based on the time interval between the event and the replay. The matching function used to calculate the match value can be based on the number of events between the replay and the event. The matching function used to calculate the match value can be based on the number of replays between the replay and the event. Associating an event with a specific replay can be based on metadata of at least one of the event and the specific replay.

[0011] An embodiment may generate a corresponding set of event feature vectors in an embedding space for a set of events captured in a video; generate a set of replay feature vectors in an embedding space for a corresponding set of replays; and associate at least one replay with an event based on a distance between the relevant event feature vector and at least some of the replay feature vectors. The embedding space may be automatically and autonomously defined by a neural network.

[0012] A method of associating a first image and a second image may include: obtaining a set of images, the set of images including the first image and the second image; generating a feature vector in an embedding space for each of the set of images; calculating a first distance indicating a distance in the embedding space between a feature vector of the first image and a feature vector of the second image; calculating a set of distances indicating a distance in the embedding space between a feature vector of the first image and a feature vector of the set of images; and associating the first image with the second image if the first distance is less than each of the set of distances.

[0013] A method of associating frames of a first sequence and frames of a second sequence may include: generating a feature vector in an embedding space for each frame of at least some of the frames; for each frame of at least some of the frames in the first sequence: calculating a set of distances between the feature vector of the frame and a corresponding set of feature vectors of frames in the second sequence; and associating the frame with the frames in the second sequence based on a shortest distance in the set of distances.

[0014] Embodiments may associate a first sequence with a second sequence if an ordered set of frames in a first sequence is associated with a corresponding ordered set of frames in a second sequence. An ordered sequence of events may be associated with an ordered set of replays. An event captured from a first viewpoint may be associated with a replay of the event captured from a second, different viewpoint. An image or frames in a first sequence of frames or images in a video may be associated with a set of frames or images in a second sequence in the video.

[0015] The association of events with replays can be used to jump from events to or to replays. The association of events with replays can be used to create summary or highlight videos. An event in a first video clip can be associated with a replay in another, second, different video clip. Other aspects and / or advantages of the invention are described herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Non-limiting examples of embodiments of the present disclosure are described below with reference to the attached drawings listed after this paragraph. The same features appearing in more than one figure are generally marked with the same label in all figures in which they appear. Labels marked with icons representing given features of embodiments of the present disclosure in the drawings can be used to reference the given features. The sizes of the features shown in the drawings are selected for convenience and clear presentation and are not necessarily shown to scale. For example, for clarity, the sizes of some elements may be enlarged relative to other elements, or several physical components may be included in a functional block or element. In addition, reference numerals may be repeated in multiple figures to indicate corresponding or similar elements where deemed appropriate.

[0018] The subject matter relating to the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. Figure 1 The invention, both as to organization and method of operation, and objects, features, and advantages thereof, may best be understood by reference to the following detailed description when read together. Embodiments of the invention are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like reference numerals indicate corresponding, similar or analogous elements, and in which:

[0019] Figure 1 shows a block diagram of a computing system according to an illustrative embodiment of the invention;

[0020] Figure 2Aschematically shows a video content data structure according to an illustrative embodiment of the present invention;

[0021] Figure 2B schematically illustrates segments and frames in a video according to an illustrative embodiment of the present invention;

[0022] Figure 2C schematically illustrates events and playback in a video according to an illustrative embodiment of the invention;

[0023] Figure 3 schematically illustrates a feature vector in an embedding space according to an illustrative embodiment of the present invention; and

[0024] Figure 4 A flow chart of a method according to an illustrative embodiment of the invention is shown.

[0025] Detailed Description of the Invention

[0026] In some embodiments, a computing device or system may associate an event with a replay. Figure 1 , Figure 1 A non-limiting block diagram of a computing device or system 100 according to some embodiments of the present invention is shown, which can be used to associate playback in input video content with events. The computing device 100 may include a controller 105, which may be a hardware controller. For example, a computer hardware processor or hardware controller 105 may include a central processing unit processor (CPU), a chip, or any suitable computing or computational device. The computing system 100 may include a memory 120, an executable code 125, a storage system 130, and an input / output (I / O) component 135. The controller 105 (or one or more controllers or processors, possibly across multiple units or devices) may be configured or adapted to perform the methods described herein (e.g., by executing software included in the executable code 125). More than one computing device 100 may be included in a system according to some embodiments of the present invention, and one or more computing devices 100 may be or act as a component of the system.

[0027] The memory 120 may be a hardware memory. For example, the memory 120 may be or may include a machine-readable medium for storing software, such as a random access memory (RAM), a read-only memory (ROM), a memory chip, a flash memory, a volatile and / or non-volatile memory, a cache memory, a buffer, a short-term memory unit, a long-term memory unit, or any other suitable memory unit or storage unit. The memory 120 may be or may include a plurality of possibly different memory units. The memory 120 may be a non-transitory readable medium of a computer or a processor, or a non-transitory storage medium of a computer, such as RAM. Some embodiments may include a non-transitory storage medium having instructions stored thereon, which, when executed, cause a processor to perform the methods disclosed herein.

[0028] As described herein, a "controller" or "processor" that performs a function or a group of functions may include one or more such controllers or processors, possibly doing so in different computers. Therefore, it should be understood that any function or operation described as being performed by a processor or controller such as controller 105 may be carried out by a group of two or more processors or controllers, possibly in two or more computing devices, respectively. For example, in one embodiment, when instructions stored in one or more memories 125 are executed by one or more controllers 105, the instructions may cause one or more controllers 105 to perform a method of associating playback in input video content with an event, as described herein. More than one computing device 100 may be included in a system according to some embodiments of the present invention, and one or more computing devices 100 may act as individual components of the system.

[0029] Executable code 125 may be an application, program, process, task, or script. As referred to herein, a program, application, or software may be any type of instructions, such as firmware, middleware, microcode, hardware description language, etc., which when executed by one or more hardware processors or controllers 105 causes a processing system or device (e.g., system 100) to perform the various functions described herein.

[0030] Executable code 125 may be executed by controller 105, possibly under the control of an operating system. For example, executable code 125 may be an application that associates playback of input video content with events, as further described herein. Although for clarity, in Figure 1125, but systems according to some embodiments of the invention may include multiple executable code segments similar to executable code 125 that can be loaded into memory 120 and cause controller 105 to perform the methods described herein. For example, in some embodiments, a first unit including controller 105, memory 120, and executable code 125 may analyze input video and identify a connection or relationship between a video segment including an event and a segment including a replay of the event, a second unit including (the same or another) controller 105, memory 120, and executable code 125 may update metadata for the segment, a third unit may update an association table, and so on.

[0031] The computing device or system 100 may include an operating system (OS), which may be code (e.g., code similar to the executable code 125 described herein) designed and / or configured to perform tasks involving coordination, scheduling, arbitration, supervision, control, or otherwise managing the operation of the computing device 100, e.g., scheduling the execution of software programs or enabling software programs to communicate. The operating system 115 may be a commercial operating system. Thus, the units included in the computing device or system 100 may cooperate, work together, share information, and / or otherwise communicate.

[0032] Storage system 130 may be or may include, for example, a hard disk drive, a universal serial bus (USB) device, or any other suitable removable and / or fixed storage unit. As shown, storage system 130 may include video content data structure 131, association table 132, and metadata object 133 (hereinafter collectively referred to as video content data structure 131, association table 132, and metadata object 133, or individually referred to as video content data structure 131, association table 132, and metadata object 133, just for simplicity). For simplicity and clarity, video content data structure 131 may be referred to as video (or multiple videos) 131 in this article.

[0033] Video content data structure 131, association table 132, and metadata object 133 may be any suitable digital data structure or construct or computer data object capable of storing, retrieving, and modifying values. For example, video content data structure 131, association table 132, and metadata object 133 may be files, objects, tables, or lists in a file system or in a database in storage system 130. For example, association table 132 and metadata object 133 may include fields or entries that may be set or cleared, multiple parameters to which values ​​may be set, multiple entries that may be modified, and the like. For example, association table 132 may be updated by an embodiment when an embodiment determines that an event captured in a first video clip is replayed in another second video clip.

[0034] Content may be loaded from storage system 130 into memory 120 where it may be processed by controller 105. For example, based on information in association table 132 and metadata object 133, controller 105 may generate a video clip, such as a video clip including an event and all replays thereof.

[0035] In some embodiments, the Figure 1 For example, memory 120 may be a non-volatile memory having the storage capacity of storage system 130. Thus, although shown as a separate component, storage system 130 may be embedded or included in system 100, such as embedded or included in memory 120.

[0036] In some embodiments, I / O components 135 can be a mouse, keyboard, touch screen or touchpad, or any suitable input device that can be used to connect (e.g., via an included port) and / or they can include: a mouse; a keyboard; a touch screen or touchpad, or any suitable input device. I / O components can include one or more screens, touch screens, displays or monitors, speakers, and / or any other suitable output devices. Any applicable I / O components can be connected to computing device 100, as shown by I / O components 135, for example, a wired or wireless network interface card (NIC), a universal serial bus (USB) device, or an external hard drive can be included in I / O components 135.

[0037] The system according to some embodiments of the present invention may include components, such as but not limited to the following items: multiple central processing units (CPUs), tensor processing units (TPUs), graphics processing units (GPUs) or any other suitable multi-purpose or specific processors, controllers, microprocessors, microcontrollers, field programmable gate arrays (FPGAs), programmable logic devices (PLDs) or application-specific integrated circuits (ASICs). The system according to some embodiments of the present invention may include multiple input units, multiple output units, multiple memory units, and multiple storage units. The system may additionally include other suitable hardware components and / or software components. In some embodiments, the system may include or may be, for example, a personal computer, a desktop computer, a laptop computer, a workstation, a server computer, a network device, or any other suitable computing device.

[0038] A video content data structure or object (or simply "video") may include any digital multimedia content object or stream that includes a digital representation of visual and / or audio information, subtitles, and / or metadata. For example, a video may include a digital object or digital information stream that can be used to render a video clip by a computing device.

[0039] refer to Figure 2A , Figure 2A Schematically illustrates a video content data structure or object according to some embodiments of the present invention. As shown, multiple segments 201, 203, 205, 207, 209 and 211 can be identified in video 200, for example, the segments can be identified by controller 105 in one of video content data structures 131. Figure 2B , Figure 2B Segments 220 and 230 are schematically shown comprising frames 221 - 223 and 231 - 237 , respectively, according to some embodiments of the invention.

[0040] Typically, video 200 includes multiple (usually a large number of) frames. Figure 2B , Figure 2B Schematically illustrated are video segments 220 and 230 comprising frames 221 - 223 and 231 - 237 , respectively, according to some embodiments of the invention.

[0041] The segment may include a start time and an end time, or may be defined by a start time and an end time, for example, relative to the time of the first frame of the video 200. Additionally or alternatively, the segment may be defined by reference to the first frame and the last frame of the segment, for example, an index, sequence number or other value indicating the number of frames between the first frame of the video 200 and the first frame / last frame of the segment may be used to define, identify and locate the segment 203 in the video 200. For example, the segment 230 may be, may include, or may be defined by the sequence number, relative position or time of the frames 231 and 237, so that if a video including the segment 230 is provided, the system can easily find the segment 230 in the video, extract the segment 230 from the video, present the segment 230, etc.

[0042] As further shown, metadata objects 202, 204, 206, 208, 210, and 212 (e.g., metadata object 133) may be created for segments 201, 203, 205, 207, 209, and 211 and metadata objects 202, 204, 206, 208, 210, and 212 (e.g., metadata object 133) may be associated with segments 201, 203, 205, 209, and 211. Figure 2BAs further shown by metadata objects 224 and 238 (e.g., metadata object 133) in FIG. 1 , metadata objects can be created for frames and associated with frames, e.g., metadata object 224 can include information related to frame 223, and metadata object 238 can include any description, analysis results, or other information related to frame 237. As shown by metadata object 240, a metadata object for a segment can be created and stored (e.g., as one of metadata objects 133).

[0043] Some embodiments can automatically detect events in professional or other sports broadcast streams, video games, e-sports, or any other form of multimedia content or video. In general, events represent things that happen in reality and are captured in video. For example, scoring or "touchdown" in a football game can be an event. In contrast, nothing happening can be an event, for example, no score on fourth down. A replay can be a clip in which an event is displayed, possibly at different speeds (e.g., slow motion) and / or from different viewpoints. For example, an event in video 131 can be shown as captured by a first camera in a stadium (e.g., placed in a first position), and the replay in video 131 can be the same event captured by a second camera in a second different position, for example, placed in the stadium. The replay can include a portion in which a still (frozen) image is displayed (or the video is frozen or paused), which may be accompanied by subtitles or other graphic elements.

[0044] In various embodiments, embodiments of the present invention may use one or more systems and / or methods for detecting or identifying events and / or replays in a video. For example, events and / or replays may be identified based on determining goal scores, crowd sounds, information on a scoreboard, and / or any other information obtained by processing video and / or audio that captures a sporting event, an accident, an occasion, etc. Replays may be identified by identifying slow motion or fast motion in a video, etc. In some embodiments, artificial intelligence (e.g., in the form of a model generated by training a neural network or other machine learning algorithm) may be used to identify events and / or replays in a video. Identifying events and / or replays may include, for example, marking events and / or replays by indicating the start and end frames of a segment that captured an event or replay. For example, based on an analysis of video 131, an embodiment may record frames 221, 222, and 223 capturing events and frames 233-236 capturing replays. Thus, given an input video 131, embodiments of the controller 105, for example, can readily access, process, or otherwise use events and replays captured in the input video, such that the controller 105 can know, detect, or identify where in the input video events and replays begin and end.

[0045] Accurately identifying events in a video and automatically replaying them is a challenge. For example, associating an event with the correct replay by finding a replay corresponding to a specific event is a challenge that traditional systems and methods have not yet been able to cope with. This challenge is difficult because the replay usually displays the event from an angle or viewpoint different from the event in the original video or broadcast. In addition, the replay can appear in the video or broadcast at any time after the event, possibly after other / subsequent events occur, or even after many other replays have been shown in the video. Therefore, associating the replay segments of the video 131 (e.g., segments including the replay) with the event segments in the video (e.g., segments showing the event) is a complex task. Another complication is that the replay can capture the event in slow motion, fast motion, or event mixed presentation speeds or paces. In addition, for a single event, the video 131 can include multiple replays. In addition, since a group of events in the same video broadcast may be visually similar (e.g., two different events of the same player dunking or long-range shooting). Therefore, in practice, currently known computer systems and methods cannot accurately or reliably associate an event with its replay.

[0046] Some embodiments of the present invention automatically and accurately associate events with replays using a tolerance-based inexact matching algorithm that allows the threshold for matching to vary to account for variability in video recordings. By associating events and replays (and recording the association of events and replays), embodiments of the present invention can, for example, efficiently and easily play all video clips associated with an event (e.g., play or create a montage of all touchdowns, fouls, etc.), generate summary or highlight videos, jump from an event to or to its replay, and so on. For example, using an association table 132 that can record the location of an event and its replay (e.g., in the form of frame numbers or relative times in a video), an embodiment can, for example, in response to a click or other input from a user, jump from an event to or fast forward to its replay, generate a short video including an event and its replay, and so on.

[0047] As described above, although each part, stage or step in a set or series of processes (also referred to herein as a cascade process) can and is capable of independently associating a replay with its event, using a cascade process, a series or series of stages can produce better results. Typically, a step or stage can calculate, determine, estimate and / or quantify the likelihood that an event has a replay, for example, in the form of a probability value from "0" to "1", where "0" indicates that the event is unlikely to have a replay, and "1" indicates that the event definitely has at least one replay. As used herein, the terms "likelihood" and "probability" can generally mean the same thing and can be used interchangeably.

[0048] Subsequent steps may, for example, use metadata for the segment or frame (e.g., using information in metadata objects 221 and 231) to calculate, determine, estimate, and / or quantify the likelihood that a particular playback is for, belongs to, or will be associated with a particular event. For example, controller 105 may generate the likelihood in the form of a probability value from "0" to "1," where "0" indicates that the particular event is not related to the particular playback, and "1" indicates that the particular playback is indeed a playback of the particular event. Specifically, a model generated using machine learning may be used to determine the likelihood that a playback belongs to a particular event.

[0049] Typically, a model may be generated or trained using training data (or training data set) including video clips of events and replays. When training or generating a model, the model is provided with training data and attempts are made to correctly associate events with replays.

[0050] In some embodiments, training or generating a model typically includes iteratively modifying the configuration of the model (e.g., weights, connections, biases, and activation functions) based on how well (or whether) the model succeeds in correctly associating an event with its replay. Thus, a model can be generated that automatically and correctly associates an event with its replay. In some embodiments, the model can be trained to associate a probability value with an association of an event and a replay, for example, with respect to a particular event / replay pair, and the model can be trained to select a relatively high probability value when it is determined that a replay is likely to belong to the event.

[0051] In some embodiments, the stage or step of matching (or associating) an event with a replay using the metadata may include multiple sub-stages, including, for example, a first sub-stage for assigning a likelihood value to an event, the likelihood value indicating how likely the event is to have the replay. For example, an embodiment may "know" that an event of two players talking is unlikely to have a replay (and thus may assign a likelihood of having a replay of "0" to that event), whereas a whistled foul is an event that is certain (or very likely) to have a replay (and thus may assign a value of "1" to that event as a likelihood of having a replay).

[0052] Subsequent sub-stages may associate (e.g., link or connect) event and replay pairs with match likelihood (or probability) values. As described herein, after identifying a high-interest event (i.e., an event that is expected to have a replay), an embodiment may attempt to find a replay and associate the replay with the identified event. For example, an embodiment may associate or calculate a probability value of "0.4" for a match between an event and a first replay and a probability value of "0.93" for a match between an event and a second, different replay. An embodiment may choose to associate the replay with the highest match probability value with the event.

[0053] As described above, to identify events that may have replays, and to associate a particular event with a particular replay or replays, segment and frame metadata may be used. For example, a machine learning model may be trained to identify events in a video that may have replays, and to associate events with replays (e.g., link or identify a connection between the event and the replay) based on metadata, such as when the event and replay occurred (e.g., relative or absolute time or frame relative to a game clock or video), how long the event / replay was, and / or based on other features in the video or other aspects of the video, etc.

[0054] In some embodiments, the machine learning model referred to herein may be or may include any decision algorithm unit, or it may implement any other logic, such as an enhancement algorithm such as XGBoost, a neural network (NN), a deep neural network (DNN), a random forest, and a k-nearest neighbor algorithm, etc. The machine learning model referred to herein may be or may include a collection of nodes and a model describing the logic performed by the nodes, the relationships or connections between the nodes (e.g., associated with weights). For example, training a machine learning model may be accomplished using various machine learning techniques, and / or may produce a model that can be used to perform tasks (such as associating events in a video with its replay).

[0055] For example, a machine learning model (or simply a model) can be used to associate each of multiple replays with a probability value for a specific (e.g., pre-selected or pre-defined) event captured in a video, the probability value reflecting the likelihood that the replay belongs to (captures or displays) a specific event. Note that the combination of multiple stages can include: identifying events that may have replays (first stage) and matching the identified events with replays (second stage), which has been found in experiments conducted with embodiments of the present invention to greatly improve the accuracy of the automatic association of events with replays, that is, embodiments including a combination of two stages produce highly accurate matching results and identify events where no replays exist. Therefore, identifying a set of events that are highly likely to have replays, and then associating the set of events with replays, as some embodiments of the present invention do, improves and increases the accuracy of associating events with replays. Matching a particular event with a particular replay based on, for example, metadata may include, for example, calculating by the controller 105 a correspondence measure or value in the form of a probability value ranging from "0" to "1," where "0" indicates that the particular event is not associated with the particular replay and "1" indicates that the particular replay is indeed a replay of the particular event.

[0056] Events that may have replays can be identified as described, and then these events are matched with the replays to process video in real time (e.g., live streaming). However, other embodiments, configurations, or operating modes are also contemplated. For example, when operating, for example, in real-time mode, a video, event, or replay may enter the system / controller asynchronously. Therefore, in order not to cause delay time, in the case of a given replay (e.g., as described, in the form of metadata object 133, which includes a reference to a fragment and a description of the replay), some embodiments check a set of events that occurred before the replay, calculate a set of link possibilities or association probability values ​​for a given replay and some events (or each event) in the set of events, each link possibility or association probability value is represented as Pa in this article (e.g., a set of Pa, as further described herein), and select one of the events to be associated with a given replay. For example, if the Pa for a given replay and a specific event is within a predefined range (e.g., above a threshold), an embodiment can choose to associate a given replay with a specific event. In other embodiments, a set of Pas may be calculated for a replay and a set of events, and an embodiment may associate the event with the highest Pa with the replay.

[0057] Another step in the cascade process (e.g., the cascade process includes a first process that calculates Pr for a set of events, and a second process that calculates Pa for an event / replay pair) can calculate, determine, estimate and / or quantify the visual correspondence between a particular replay and a particular event. Specifically, a model generated using machine learning can be used to determine the visual correspondence.

[0058] Typically, quantifying visual matches or correspondences may include an embedding step and a matching step. For example, a neural network (NN) may be trained to embed events and replays in an embedding space, and may be further trained to minimize the distance between two image (or frame) sequences that capture the same event from two different angles (or viewpoints) and / or present the event at different speeds or paces (e.g., fast motion or slow motion). The NN may be further trained to maximize the distance between two sequences associated with two different events. The embedding space may be defined automatically, internally, and autonomously by the NN. For example, the NN may automatically and / or autonomously identify features in a video frame and automatically, autonomously, or internally define the embedding space based on the automatically and / or autonomously identified features.

[0059] The embedding space used by some embodiments of the present invention can solve the problem of inaccurate or incorrect matching (or association) of events and replays. For example, known systems and methods are generally unable to correctly or automatically associate events with their replays because the events and replays may be captured by different cameras from different angles or viewpoints and may be displayed at different speeds in the video. The embedding space can be resistant to various aspects such as speed or viewpoint, or not affected by these aspects. For example, an embedding space defined by features such as the presence of players on the court, color, light intensity, the number of players displayed, and the presence or absence of an object (e.g., a ball or a basket) may not be affected by various aspects such as viewpoint or playback speed. Therefore, using the embedding space, embodiments of the present invention, for example, improve the field of video processing by accurately associating events with replays (including in situations where current or known systems and methods are unable to do so).

[0060] For example, the embedding step may include generating feature vectors in an embedding space for a frame or sequence of frames. The matching step may then determine the distance between the vectors in the embedding space and match the events to the replays based on the distance.

[0061] In general, embedding spaces and feature vectors as described herein can have any dimensionality, i.e., dimensionality defined by any set of features. For example, color, light intensity, number of players shown, player positions, presence or absence of an object (e.g., a ball or basket), etc. can each be considered a feature and can be represented in an embedding space (e.g., by axes) and can be used to generate a feature vector for an image.

[0062] In some embodiments, features are defined and used internally by the NN or model. For example, the NN may automatically learn or recognize that the presence of players in the court, the players' postures, the direction or speed of the ball's flight, etc. are features that improve performance when used to define the embedding space, and the NN may automatically use the recognized features.

[0063] Thus, the NN can be trained to define an embedding space, represent frames by feature vectors in the embedding space, and associate events with their replays based on distances between vectors. The distances between vectors as mentioned herein can be examined, measured, or determined, for example, using vector calculus, vector analysis, and / or multivariable calculus.

[0064] The NN network can be trained on a large dataset using supervised training or unsupervised training so that a model is generated, where the model is used to create an embedding space where two shots of the same event taken from two different angles are close to each other in the embedding space (their respective vectors are close to each other) when embedded as described, and these two shots are also far away from shots of other events.

[0065] In some embodiments, the following process, operation or step may be performed before the NN model applies the vector technology described herein: identifying events that may have replays and matching (e.g., based on the described metadata) to calculate a probability value for the match between the event and the replay. For example, the metadata step can be used to filter out events that are very unlikely to have a replay (or are very unlikely to be linked or associated with a replay) so that the embedding space can have fewer events to process. In some embodiments, the decision about the match or association between the event and the replay can be based on the combined results of one, two or even all of the steps described, for example, the decision or determination that a particular event is replayed in a particular replay can be based on one, some or all of the following items: a probability value that the event has a replay (e.g., based on the described metadata), a match, metric or probability value indicating the likelihood that the particular replay is related to the event (e.g., based on the described metadata), and the distance between the vector representing the event and the vector representing the replay in the embedding space (referred to as the visual correspondence determination step or process herein).

[0066] Additional references Figure 2C , Figure 2C Events and playback in a video are schematically shown according to an illustrative embodiment of the invention. Figure 2C It is presented primarily for explanatory purposes. As shown, the input video 240 (e.g., retrieved from the video 131 or received as a live stream 134) may include multiple events E-401, E-403, and E-407 and multiple replays R-405, R-409, and R-411, and as further shown, each of the events and replays may have one of the metadata objects 402, 404, 406, 408, 410, or 412 associated therewith. For example, the association of the metadata object 402 with the event E-401 may be by including a reference to the event E-401 in the metadata object 402, such as in the form of a start frame or start time and an end frame or end time, an offset (and / or length) from a reference point in the input video 240. Embodiments of the present invention may use any system or method that links events and replays with their metadata objects such that it is possible to find and retrieve the metadata objects given an event, and vice versa.

[0067] As shown by the arrows extending from events E-401 and E-407, R-405 is a replay of E-401, and R-409 and R-411 are two (possibly different) replays of E-407. As described, assuming video 240 as input, an embodiment (e.g., controller 105) can identify the video 240 as input. Figure 2C, for example, the controller 105 can identify, discover and / or determine that R-405 is a replay of event E-401, and replays R-409 and R-411 are two replays of event E-407. The controller 105 can further notify, provide and / or store the association of the identified replay and event, such as presenting the association on the screen, storing the association list in the storage system 130. Therefore, the output of the embodiment can be information describing the association of events and replays in the video or the link between events and replays, which is of great value in creating a summary or highlights of a sports event, synchronizing videos from crime scenes, etc. For simplicity and clarity, event E-401, event E-403 and event E-407 may be referred to as E-401, E-403 and E-407, respectively, in this article, and similarly, replay R-405, replay R-409 and replay R-411 may be referred to as R-405, R-409 and R-411 in this article.

[0068] In some embodiments, associating a playback in the input video content with an event may include identifying an event captured in the input video content and at least one playback included in the input video. Various systems and / or methods of image or video processing may be used to identify events and playbacks in the input video 240. In some embodiments, the controller 105 may receive the input video 240 with accompanying information, for example, metadata objects 402-412 may be provided to the controller 105, so that when processing the input video 240, the controller 105 (based on the information in the metadata objects) may know the location, length, start time, end time, or any other attribute or related information of the events E-401, E-403, and E-407 and playbacks R-405, R-409, and R-411 in the video 240.

[0069] Some embodiments may calculate a replay probability value (denoted as Pr) for an event, and may assign the replay probability value to the event. The Pr of an event (calculated for or associated with an event) may generally indicate, quantify, or reflect the likelihood (or probability) that at least one replay of the event is included in the input video content, i.e., the event has a likelihood of being replayed. For example, based on the information in the metadata object 402, the controller 105 may calculate a Pr reflecting the probability that there is a replay of event E-401. The controller 105 may then associate Pr with E-401. Associating Pr with E-401 may be accomplished by storing Pr in the metadata object 402, and any information or value may be associated with an event or replay by storing the information or value in the respective metadata objects of the event or replay.

[0070] In some embodiments, if the controller 105 determines that an event is very likely to have a replay (e.g., the event is important to the game), the controller 105 can associate the event with a relatively high (e.g., within a range or above a threshold) probability value (Pr) of having a replay (e.g., the associated Pr can be set to 0.87, which is relatively high relative to the 0-1 range). Conversely, if the controller 105 determines that an event is unlikely to have a replay (e.g., there is not much or no interest in it), the controller 105 can associate the event with a relatively low or below-threshold probability value (Pr) (e.g., the associated Pr can be set to 0.23, which is relatively low within the 0-1 range). The controller 105 can use a wide range of Pr (e.g., a range from "0" to "1" with a step size of "0.01") so that a range of interest levels can be represented by Pr.

[0071] For example, in a tennis match, a double fault event has a relatively very low probability of being replayed. Therefore, if the controller 105 (based on the information in the metadata object 133) identifies that the event is a double fault, the controller 105 can associate a relatively low Pr with the event. Similarly, if the controller 105 identifies another event as a touchdown, it can associate that event with a relatively high Pr.

[0072] Some embodiments may calculate associated probability values ​​(expressed as Pa) for events and replays. For example, with respect to E-401, the controller 105 may calculate Pa for some or even each of replays R-405, R-409, and R-411 reflecting the probability or likelihood that the replay belongs to E-401. The controller 105 may assign Pa to each event / replay pair. For example, the controller 105 may calculate Pa and assign Pa to each of the event / replay pairs E-401 / R-405, E-401 / R-409, and E-401 / R-411.

[0073] In some embodiments, a matching function or process may be used to determine whether a particular event is associated with a particular playback. A matching function as understood herein may involve an algorithm, logic, or process executed by, for example, controller 105. For example, a matching function may receive as input a Pr of an event and a set Pa of a corresponding set of playbacks, and generate as output an indication that one or more playbacks belong to or are associated with the event, or an output of the matching function may be an indication that none of the playbacks are associated with the event.

[0074] In various embodiments, the matching function can be as complex or sophisticated as desired, and can use any information, for example, the matching function can use any information included in the metadata object as described herein. The matching described may include or be based on Pr and Pa. By way of example and for illustration, given a replay, the matching function may calculate a set of Pa for the replay with respect to a (corresponding) set of events, and each of the Pa may then be multiplied by the Pr of the relevant or corresponding event. The event whose Pr and Pa product is the highest may be selected as the event associated with the replay. In another example, an embodiment may associate a replay with an event if the product of the relevant Pr and Pa multiplied together is above a threshold (or within a predefined range). It should be understood that the oversimplified multiplication example described above is introduced for explanatory purposes, and any other calculations based on information in the metadata object may be included in some embodiments of the present invention.

[0075] For example, assuming that the Pr calculated for E-401, E-403, and E-407 are 0.64, 0.09, and 0.93, and the Pa for R-405, R-409, and R-411 (when calculated relative to E-401) are 0.87, 0.32, and 0.21, respectively, then multiplying Pr by each of the three Pas produces a set of values ​​of 0.556, 0.204, and 0.134. Assume that controller 105 uses a threshold of, for example, 0.5, in which case controller 105 can determine that replay R-405 is actually a replay of event E-401, and that the other two replays are not replays of event E-401. In some embodiments, if two or more Pas are above the threshold, or they break the threshold, an embodiment can select the replay associated with the highest Pa, or use a heuristic method to associate a replay with an event, for example, selecting the earliest or latest replay (relative to the game clock) from among the replays having a Pa above the threshold.

[0076] Thus, in the above example, the controller 105 may associate playback R-405 with event E-401, such as by updating a list in a database, inserting information into metadata objects of E-401 and / or R-405, extracting a segment including E-401 and R-405 from the video 240, and storing a video clip including the extracted segment, etc. Figure 2C As shown, there is no replay of E-403. For example, based on the information in the metadata object 404, the controller 105 can assign a Pr of 0.09 to E-403 as described in the above example. Therefore, the product of the Pr of E-403 multiplied by the highest possible value of Pa (which can be "1") produces a value less than the threshold value of 0.5, which also exists in the above example. Therefore, the controller 105 may not associate E-403 with any replay in the video 240.

[0077] Some embodiments may calculate a set of Pas for a particular replay, the set of Pas including the Pas for each of a plurality of events, and may associate the particular replay with the event having the highest Pa in the set, i.e., the event corresponding to (or associated with) the highest Pa in the set. For example, referring to the above example, the set of Pas calculated for R-405 may include 0.556 for E-401, 0.43 for E-403, and 0.19 for E-407 as described above, and therefore, since 0.556 is the highest Pa in the set, the controller 105 may associate E-401 with R-405.

[0078] Some embodiments may calculate a set of Pas for a particular event, the set of Pas including the Pas for each of a plurality of replays, and may associate the particular event with the replay having the highest Pa in the set, i.e., with the replay for which the highest Pa in the set was calculated. For example, referring to the above example, a set of Pas calculated by the controller 105 for E-401, i.e., the Pas for each of R-405, R-409, and R-411 for E-401 may be 0.556, 0.204, and 0.134, and therefore, the controller 105 may associate E-401 with R-405.

[0079] In some embodiments, the matching function can be based on the time interval between the event and the replay, receive the time interval between the event and the replay as input, or otherwise consider the time interval between the event and the replay. For example, in addition to the other considerations described, Pa can be calculated, determined, and / or set based on the distance (in time or frames) between the event and the replay. For example, if the replay occurs within a specific time interval (or distance) from the event, the Pa for the event-replay pair (e.g., the Pa calculated for R-409 with respect to E-401, expressed as the Pa for the E-401 / R-409 pair) can be increased or improved by a factor or amount. For example, in the above example, part of the reason why the Pa calculated for the E-401 / R-411 pair is relatively low (0.21) may be due to the fact that R-411 appears or occurs in the video 240 at a time (or distance, e.g., frame count) that is relatively large or greater than a time threshold.

[0080] Embodiments may set Pa based on various temporal or sequential considerations that may be related to the type, nature, scene, or other aspects of the content in the input video. For example, if it is known that replays of basketball broadcasts are typically displayed approximately 10 seconds after an event of interest, but replays of golf are typically displayed several minutes after the event, then when processing basketball videos, controller 105 may increase the Pa value for replays that occur somewhere between 8 seconds and 12 seconds after the event, while when processing golf videos, controller 105 may increase the Pa for replays that appear somewhere between 2 minutes and 4 minutes after the event, and decrease the Pa for replays that appear in the video outside the 2 minute to 4 minute time window.

[0081] In some embodiments, the matching function can be based on the number of events between the replay and the event, receive the number of events between the replay and the event as input, and / or otherwise take into account the number of events between the replay and the event. For example, if there are one or more events between the replay and the event in the input video, the controller 105 can reduce the Pa calculated for the replay with respect to the event to account for the fact that the replay generally occurs near the event rather than after the event sequence occurs.

[0082] In some embodiments, the matching function can be based on the number of replays between a replay and an event, receive the number of replays between a replay and an event as input, and / or otherwise take into account the number of replays between a replay and an event. For example, the controller 105 can increase the Pa of the first replay that occurs after an event, slightly reduce the Pa of the next (second) replay after the event, and so on, thereby taking into account the fact that the first replay after an event is more likely to be a replay of the event. It should be understood that the examples described herein of rules and logic for calculating Pa involving time intervals, time windows, and the order of events and replays are oversimplified and are introduced for purposes of explanation, and the matching functions described herein may include highly complex and / or comprehensive rules and logic applied to the time and order of events and replays.

[0083] In some embodiments, the matching function may be based on, receive as input, and / or otherwise take into account any information in the metadata object for the event or the metadata object for the replay. In some embodiments, the calculation of the Pr for an event (i.e., the Pr that reflects, indicates, or quantifies the likelihood that the event has a replay) may be based on, receive as input, and / or otherwise take into account any information in the metadata object for the event and / or the metadata object for the replay. In some embodiments, the calculation of the Pa for an event / replay pair (i.e., the Pa that reflects, indicates, or quantifies the likelihood that a particular event is associated with a particular replay) may be based on, receive as input, and / or otherwise take into account any information in the metadata object for the event and / or the metadata object for the replay.

[0084] For example, metadata object 133 (e.g., 204, 210, or 238) may include a duration value indicating how long an event or replay is (e.g., in seconds), a rating of the event (e.g., a score indicating or quantifying a combination of how common, important, and extraordinary an event is), a game clock time (e.g., as shown in a stadium), a quarter (e.g., in a basketball game). Metadata object 133 may include a description of the event or replay, such as, "home score," "visitor score," "was it a touchdown event?" (e.g., in a football game), "was it a homerun event?" (e.g., in a baseball game), "was it a winner event?" (e.g., in a tennis game), etc. Any other information may be included in metadata object 133, such as score differentials, tournament or league information, etc. Metadata object 133 may include time-related information, such as the time between a replay and an event, such as the time between a replay and the last event in a game, the time between a replay and the event before the last event, etc. The metadata object 133 may include the time between events and replays, e.g., the time between the event and the next (first after the event) replay, or the time between the event and the second replay or the third replay, etc. Other information in the metadata object may be, for example, the total number of replays in the game (or until a certain point in the video or stream), the number of replays shown in the sequence after the event, etc.

[0085] For example, in a football game, after an extra point attempt, there is usually a replay of the touchdown that occurred before the extra point, that is, although the extra point and the immediate replay are adjacent, the probability that the immediate replay belongs to the extra point event (and is therefore associated with the extra point event by an embodiment) can be relatively low. As described, using the information in metadata object 133, embodiments of the present invention can identify that an event is related to an extra point, identify a set of replays after the event, and correctly associate the extra point event with the related replays (e.g., it can be the third or fourth replay after the event, rather than the replay immediately after the event).

[0086] In some embodiments, the controller 105 (or a group of controllers 105) can generate a corresponding set of event feature vectors in an embedding space for a set of events captured in an input video; generate a set of replay feature vectors in the same embedding space for a corresponding set of replays, and the controller 105 (or a group of controllers 105) can associate at least one replay with an event based on the distance between the relevant event feature vector and at least some of the replay feature vectors.

[0087] refer to Figure 3 , Figure 3 Schematically illustrates feature vectors in an embedding space 300 according to an illustrative embodiment of the present invention. For clarity, the embedding space 300 is visualized as an oversimplified space with details and data points omitted. As shown, the embedding space is defined by two feature coordinates, which can be selected, for example, from features such as lighting, the position of the players, the number of players in a frame, the presence or absence of an object (e.g., a ball), etc. It should be understood that the embedding space used by embodiments of the present invention can have or possess a large number of features (not just the two shown in space 300), for example, 512 different features can be used to define a 512-dimensional embedding space.

[0088] As shown, feature vectors V-401, V-403, and V-407 may be created, calculated, or defined for E-401, E-403, and E-407, respectively, and the features may be placed in space 300. As further shown, feature vectors V-405, V-409, and V-411 for R-405, R-409, and R-411, respectively, may be placed in space 300. It should be understood that placing a vector in the embedding space may be or may include determining the magnitude and orientation of the vector in the space, for example, placing a vector in the embedding space may include recording any information capable of calculating the distance between the vectors.

[0089] As shown in the figure, vector V-405 is relatively close to vector V-401, but relatively far away from vectors of other events. Figure 3 , the controller 105 may associate R-405 with E-401, and similarly, since vectors V-409 and V-411 are close to vector V-407, the controller 105 may associate R-409 and R-411 with E-407. As further shown, V-403 is far away or relatively far from all other vectors in space 300, e.g., while E-401 and E-407 are events involving dunking in a basketball game, E-403 may be an event of two players arguing and pushing each other.

[0090] In some embodiments, a method of associating a first image and a second image (or a frame in a video) may include: obtaining a set of images or frames, the set including a first image or frame and a second image or frame; generating a feature vector in an embedding space for each of the set of images or frames; calculating a first distance indicating a distance in the embedding space between a feature vector of the first image and a feature vector of the second image; calculating a set of distances indicating a distance in the embedding space between a feature vector of the first image or frame and a feature vector of the set of images or frames; and if the first distance is less than each of the set of distances, associating the first image or frame with the second image or frame. It will be noted that embodiments of the present invention may associate an image with one or more images in a set of images, and / or associate a frame in a first video with one or more frames in the first video, or with one or more frames in a second different video.

[0091] For example, refer again to Figure 2B , a feature vector may be generated for frame 221 and for each of frames 231-237, and controller 105 may measure, check, or determine a distance between the feature vector of frame 221 and each of the feature vectors of 231-237, and may further associate frame 221 with one of frames 231-237 based on the measured distance, e.g., controller 105 may associate frame 221 with a frame whose feature vector is closest to the feature vector of frame 221. For example, frame 221 may be associated with frame 231 because the distance between the vector of 221 and the vector of frame 231 may be shorter than the distance between the vector of 221 and the vector of frames 232-237.

[0092] It should be understood that the vector distances described herein can be used in conjunction with other methods described herein. For example, rather than associating events and replays based on vector distances as described, the controller 105 can increase or decrease Pa based on the distance between the vectors, and thus, Pa can be a result of (or can reflect) various aspects related to metadata as described and various aspects related to visual correspondence as described. Thus, the association of frames (or sequences of frames) or the association of events with replays can be based on a cascaded process, sequence, or set of steps of calculating Pr for an event, calculating Pa for an event-replay pair (e.g., using the metadata described), and calculating (e.g., using the vectors described) a visual correspondence (or match) for the event-replay pair.

[0093] In some embodiments, a method of associating a first sequence of frames and a second sequence of frames (e.g., a first segment and a second segment of a video, where each segment includes multiple (possibly a large number of) frames) may include: generating a feature vector in an embedding space for each of at least some of the frames; for each of at least some of the frames in the first sequence: calculating a set of distances between the feature vector of the frame and a corresponding set of feature vectors of frames in the second sequence; and associating the frame with the frame in the second sequence based on a shortest distance in the set of distances. For example, for Figure 2B 222 and 223 in the video, the process of associating frame 221 with one of frames 231-237 may be repeated, and the sequence of frames 221-231 may be associated with the sequence of frames 231-233. For example, an embodiment may identify that frame sequence 231-233 is a replay of frame sequence 221-231 by associating frame 221 with frame 231, associating frame 222 with frame 232, and so on. Since an event and its replay may generally be included in or captured by a sequence of frames in a video, the described associated frame sequence may be or may result in an association of an event with a replay. It will be noted that in some embodiments, situations or scenarios, the associated frame sequences (e.g., events and replays) as described may be in the same video (e.g., frame sequence 201-205 in video 200 may be associated with frame sequence 207-211 in video 200), while in other embodiments, situations or scenarios, a group of frames in a first video may be associated with a second frame in a second, different video, such as frame sequence 221-231 in a first video (220) may be associated with frame sequence 234-237 in a second, different video (230).

[0094] In some embodiments, a method of associating a sequence of frames (or events and replays) can be based on identifying that a set of ordered frames in a first sequence is associated with a corresponding set of ordered frames in a second sequence. For example, if the controller 105 determines that frames 221-223 are associated with frames 231-233, respectively, the controller 105 can determine that a set of ordered frames in the first sequence is associated with a corresponding set of ordered frames in the second sequence. However, if the controller 105 determines that frame 221 is associated with frame 232, frame 222 is associated with frame 231, and frame 223 is associated with frame 223, the controller 105 can recognize that the order of frames in video 220 is different from the order of associated frames in video 230, and determine that sequences 221-223 and 231-233 are not associated. Note that order does not necessarily mean exactly the same order, or that the frames are sequential or continuous in the video, for example, frame sequence 221-223 can be associated with frame sequence 231, 233 and 235, that is, although frames 231, 233 and 235 are not connected back to back like frames 221-223, the order can still be recognized by the controller 105, that is, the controller 105 can recognize the common time progress for the first frame sequence and the second frame sequence.

[0095] In some embodiments, one of the frames in the first group or sequence of frames may be associated with a group of frames in the second sequence. For example, the controller 105 may recognize (or learn from metadata as described above) that a sequence of frames is a slow motion representation of an event, and may therefore allow for some deviation from the expected order, e.g., if the frame sequence 231-237 is a slow motion replay of the event captured by frames 231-223, the controller 105 may associate more than one of the frames 231-237 with each of the frames 231-233.

[0096] In some embodiments, an event (a first sequence of frames) may be captured from a first viewpoint (e.g., by a first camera in a stadium), and a replay of the event (a second sequence of frames) may be captured from a second, different viewpoint (e.g., by a second, different camera in the same stadium). By matching (and associating) the event with the replay by viewing the events' respective metadata information as described, and by further matching and associating the event with the replay based on visual correspondences (e.g., using vectors as described), embodiments of the present invention may successfully and automatically associate an event with its replay, even when different viewpoints are used to capture the event and the replay.

[0097] The advantages of automatically associating events with their replays can be easily understood. For example, an embodiment can provide an association table 132 to a user or application, thereby enabling the generation of a video clip that includes events and their replays. For example, using the association table 132, an embodiment can quickly and efficiently extract events and their replays from a video (e.g., to create a short highlight video), in another example, using the association table, an embodiment can enable a user to quickly and directly (e.g., by clicking a button or mouse) jump from an event to or to its replay, and so on.

[0098] In some embodiments, machine learning (ML) and / or neural networks (NN) may be used or included. For example, an embedding space may be defined by a NN unit that may be provided with events and replays and may be trained to define an embedding space suitable for projecting and analyzing the vector distances.

[0099] In the description and claims of the present application, each of the verbs "comprise", "include", and "have" and their variations is used to indicate that one or more objects of the verb are not necessarily a complete list of components, elements, or parts of one or more subjects of the verb. Unless otherwise specified, adjectives such as "substantially" and "approximately" that modify a condition or relationship characteristic of one or more features of an embodiment of the present disclosure are understood to mean that the condition or characteristic is defined within an acceptable tolerance for the operation of the embodiment. In addition, the word "or" is regarded as an inclusive "or" rather than an exclusive or, and indicates at least one or any combination of the items it connects.

[0100] refer to Figure 4 , Figure 4 A flow chart of a method according to an illustrative embodiment of the invention is shown. As shown in block 410, the method of automatically associating replays in input video content with events may include identifying an event captured in the input video content, and identifying at least one replay included in the input video. For example, as described, the event may be identified based on determining a goal scored, etc., and the replay may be identified by identifying slow motion or fast motion as described.

[0101] As shown in block 415, a first probability value indicates or quantifies the likelihood that at least one playback of an event is included in the video content. For example, as described, Pr can be calculated for an event. As shown in block 420, a second probability value indicates or quantifies the likelihood that a particular playback included in the video content is associated with the event. For example, as described, Pa can be calculated for a particular event and a particular playback, where Pa indicates or quantifies the likelihood that the particular playback is a playback of a particular event.

[0102] As shown in block 425, a match value can be calculated based on a first value and a second value. For example, a match value for a specific (selected or selected) event and a specific (selected or selected) replay can be calculated by multiplying the Pr of the event by the Pa calculated for the event and the replay. As shown in block 430, if the match value is within a predefined range, such as above a threshold, the event can be associated with the replay. For example, if the match value calculated for event E-401 and replay R-405 is within a predefined range, such as above a threshold (e.g., greater than 0.5), the controller 105 can determine that replay R-405 is indeed a replay of event E-401, and event E-401 can be associated with replay R-405 accordingly (e.g., by inserting an entry into the association table 132, as described). As shown in block 435, events and replays can be presented. For example, an embodiment may generate and / or present a video clip in which an event and its replay are displayed in sequence, e.g., the replay may be displayed immediately after the event even if the replay did not occur immediately after the event in the original or input video or live video stream 134.

[0103] As described above, some embodiments of the present invention may associate events with replays, such as using two (or more) passes or processes, for example, a first pass may include associating a set of events with a probability value (e.g., Pr as described), which indicates how likely each event is to have (or merit) replay. Using a threshold, some events may be selected to be processed in the next pass or process or a second pass or process. For example, a set of Pr for a set of ten events may be a corresponding set of values ​​in the range of 0 to 1 (0-1), and using a threshold of 0.72, a subset of events may be selected for further processing in a second pass or phase, for example, only events with Pr greater than 0.72 are selected. The second pass or process may include, for some of each of a selected set of events, calculating a probability associated with one or more of a set of replays.

[0104] Some embodiments of the present invention improve the field of video processing, for example, by reducing the number of events that need to be processed. For example, by first identifying events that are likely to have replays, and then only checking the replays for these identified events, some embodiments of the present invention avoid trying to match every event in the video with a replay. Thus, for example, by determining that an event is unlikely to have a replay, comparing (or attempting to match) an event in the video with each of the (potentially large number of) replays is avoided, thereby increasing the speed of operation, and thus achieving efficiency and speed. In another example, since values ​​need to be stored when matching events with replays (e.g., association lists, probabilities, etc.), some embodiments reduce the amount of information that needs to be stored by processing only some of the events in the second stage, thereby further improving the field.

[0105] In the detailed description, many specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be appreciated by those skilled in the art that the present invention can be practiced without these specific details. In other examples, known methods, procedures, and components, modules, units, and / or circuits are not described in detail to avoid blurring the present invention. Some features or elements described about an embodiment may be combined with features or elements described about other embodiments. For the sake of clarity, the same or similar features or elements may not be discussed repeatedly.

[0106] Although embodiments of the invention are not limited in this regard, discussions using terms such as, for example, "processing," "computing," "calculating," "determining," "establishing," "analyzing," "examining," and the like may refer to operations and / or processes of a computer, computing platform, computing system, or other electronic computing device that processes and / or converts data represented as physical (e.g., electronic) quantities within computer registers and / or memories into physical quantities similarly represented as registers and / or memories of a computer or other information non-transitory storage media that may store instructions for performing the operations and / or processes. Although embodiments of the invention are not limited in this regard, the terms "plurality" and "a plurality" as used herein may include, for example, "multiple" or "two or more." The terms "plurality" or "a plurality" may be used throughout the specification to describe two or more components, devices, elements, units, parameters, and the like. The term "set" when used herein may include one or more items.

[0107] Unless otherwise clearly stated, the method embodiments described herein are not limited to specific time sequence or time sequence. In addition, some of the described method elements can occur or execute synchronously, at the same time point or simultaneously. During the operation sequence of the method, some of the described method elements can be skipped, or they can be repeated.

[0108] The description of the embodiments of the present invention in this application is provided by way of example and is not intended to limit the scope of the present invention. The described embodiments include different features, not all of which are required in all embodiments. Some embodiments utilize only some of the features or possible combinations of these features. Variations of the embodiments described by the present invention and including the different feature combinations recorded in the embodiments will be appreciated by those of ordinary skill in the art. The scope of the present invention is limited only by the claims.

[0109] While certain features of the invention have been illustrated and described herein, numerous modifications, substitutions, changes, and equivalents will occur to those skilled in the art. It is therefore to be understood that the appended claims are intended to cover all such modifications and changes that fall within the true spirit of the invention.

[0110] Various embodiments have been presented. Of course, each of these embodiments may include the features of the other embodiments presented, and embodiments not specifically described may include various features described herein.

Claims

1. A method for associating playback in an input video with an event, the method comprising: identifying, by a processor, an event captured in the input video and at least one replay included in the input video; assigning, by the processor, a first probability value to the event, the first probability value indicating a probability that at least one replay of the event is included in the input video; assigning, by the processor, a second probability value to each of a plurality of playback segments of the input video, the second probability value indicating a probability that the corresponding playback segment is associated with the event; For each of the plurality of playback segments, calculating, by the processor, a matching value based on the first probability value and the second probability value; and The event is associated, by the processor, with each of the plurality of playback segments for which the matching value is within a predefined threshold range.

2. The method according to claim 1, comprising: calculating, by the processor, a match value for each of a plurality of events with respect to a particular replay; and The particular replay is associated, by the processor, with the event having the highest match value.

3. The method according to claim 1, comprising: calculating, by the processor, a match value for each of a plurality of replays with respect to a particular event; and The processor associates the particular event with the replay having the highest match value.

4. The method according to claim 1, wherein: Computes a given match value based on the time interval between a given event and a given replay.

5. The method according to claim 1, wherein: Computes a given match value based on the number of events between a given replay and a given event.

6. The method according to claim 1, wherein: Computes a given match value based on the number of replays between a given replay and a given event.

7. The method according to claim 1, wherein: The event is associated with the particular playback based on metadata of at least one of the event and the particular playback.

8. The method according to claim 1, comprising: Generating, by the processor, a corresponding set of event feature vectors in an embedding space for a set of events captured in the video; generating, by the processor, a set of replay feature vectors in the embedding space for a corresponding set of replays; and At least one of the replays is associated, by the processor, with an event based on a distance of a related event feature vector from at least some of the replay feature vectors.

9. The method of claim 1, comprising generating, by the processor, an output video comprising the event and at least one associated replay.

10. A method of associating playback in an input video with an event, the method comprising: In the first phase: assigning, by a processor, a set of first probability values ​​to a corresponding set of events in the input video, wherein the first probability values ​​assigned to the events indicate a probability that at least one replay of the events is included in the input video; selecting, by the processor, some of the events by associating respective assigned probability values ​​of the events with a threshold value; In the second phase: For at least some of the events selected in the first stage: assigning, by the processor, a set of second probability values ​​to the event and relative to at least some of the playback segments in the input video, the set of second probability values ​​indicating probabilities that the corresponding playback segments are associated with the event; calculating, by the processor, a set of matching values ​​based on the first probability values ​​assigned to the events and a corresponding set of second probability values; and The event is associated, by the processor, with each of the values ​​of a plurality of playback segments whose matching values ​​are within a threshold range.