Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
VIDEO PROCESSING FOR EMBEDDED INFORMATION CARD LOCALIZATION AND CONTENT EXTRACTION
Document Type and Number:
WIPO Patent Application WO/2019/222409
Kind Code:
A1
Abstract:
Metadata for one or more highlights of a video stream may be extracted from one or more card images embedded in the video stream. The highlights may be segments of the video stream, such as a broadcast of a sporting event, that are of particular interest. According to one method, video frames of the video stream are stored. One or more information cards embedded in a decoded video frame may be detected by analyzing one or more predetermined video frame regions. Image segmentation, edge detection, and/or closed contour identification may then be performed on identified video frame regions. Further processing may include obtaining a minimum rectangular perimeter area enclosing all remaining segments, which may then be further processed to determine precise boundaries of information cards. The card images may be analyzed to obtain metadata, which may be stored in association with at least one of the video frames.

Inventors:
STOJANCIC MIHAILO (US)
PACKARD WARREN (US)
KANYGIN DENNIS (US)
Application Number:
PCT/US2019/032499
Publication Date:
November 21, 2019
Filing Date:
May 15, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THUUZ INC (US)
International Classes:
H04N21/435; H04N21/431; H04N21/478; H04N21/845; H04N21/8549
Foreign References:
US20080175486A12008-07-24
US20110096228A12011-04-28
US20160261929A12016-09-08
KR20110062982A2011-06-10
KR20070088890A2007-08-30
Other References:
See also references of EP 3811627A4
Attorney, Agent or Firm:
RAUBVOGEL, Amir H. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method for extracting metadata from a video stream, the method comprising:

at a data store, storing video frames of the video stream;

at a processor, automatically identifying and extracting a card image embedded in at least one video frame of the video frames by performing at least one of:

identifying a predetermined location, within the video frame, that defines a video frame region containing the card image; and

sequentially processing a plurality of regions of the video frame to identify the video frame region containing the card image;

at the processor, analyzing the card image to obtain metadata; and at a data store, storing the metadata in association with at least one of the video frames.

2. The method of claim 1, wherein:

the video stream comprises a broadcast of a sporting event;

the video frames constitute a highlight deemed to be of particular in terest to one or more users; and

the metadata is descriptive of a status of the sporting event during the highlight.

3. The method of claim 2, further comprising, at an output device, pre- senting the metadata during viewing of the highlight.

4. The method of claim 3, wherein automatically identifying and ex- tracting a card image and analyzing the card image to obtain the metadata are carried out, for a highlight, during viewing of the highlight.

5. The method of claim 1, further comprising localizing and extracting the card image from the video frame region.

6. The method of claim 5, wherein localizing and extracting the card image from the video frame region comprises cropping the video frame to iso- late the video frame region.

7. The method of claim 5, wherein localizing and extracting the card image from the video frame region comprises:

segmenting the video frame region, or a processed version of the video frame region, to generate a segmented image; and

modifying pixel values of segments adjacent to boundaries of the seg- mented image.

8. The method of claim 5, wherein localizing and extracting the card image from the video frame region comprises removing background from the video frame region or a processed version of the video frame region.

9. The method of claim 5, wherein localizing and extracting the card image from the video frame region comprises:

generating an edge image based on the video frame region with re- moved background;

finding contours in the edge image;

approximating the contours as polygons; and extracting a region enclosed by a minimum rectangular perimeter en compassing all of the contours to generate a perimeter rec- tangular image.

10. The method of claim 9, further comprising iteratively:

counting color-modified pixels for each edge of the perimeter rectangu- lar image; and

moving any boundary edge, with a number of color-modified pixels exceeding a threshold, inward.

11. The method of claim 10, further comprising validating a quadrilat- eral detected within the region by:

counting:

a first number of pixels in the video frame region; a second number of pixels in a perimeter rectangular image; and a third number of pixels in an adjusted perimeter rectangular image; and

comparing the first number, the second number, and the third number to determine whether an assumed quadrilateral within the region is viable.

12. The method of claim 5, wherein localizing and extracting the card image from the video frame region comprises adjusting a left boundary of the card image.

13. A non-transitory computer-readable medium for extracting meta- data from a video stream, comprising instructions stored thereon, that when executed by a processor, perform the steps of:

causing a data store to store video frames of the video stream; automatically identifying and extracting a card image embedded in at least one video frame of the video frames by performing at least one of:

identifying a predetermined location, within the video frame, that defines a video frame region containing the card image; and

sequentially processing a plurality of regions of the video frame to identify the video frame region containing the card image;

analyzing the card image to obtain metadata; and

causing the data store to store the metadata in association with at least one of the video frames.

14. The non-transitory computer-readable medium of claim 13,

wherein:

the video stream comprises a broadcast of a sporting event;

the video frames constitute a highlight deemed to be of particular in terest to one or more users; and

the metadata is descriptive of a status of the sporting event during the highlight.

15. The non-transitory computer-readable medium of claim 14, further comprising instructions stored thereon, that when executed by a processor, cause an output device to present the metadata during viewing of the high- light.

16. The non-transitory computer-readable medium of claim 15, wherein automatically identifying and extracting a card image and analyzing the card image to obtain the metadata are carried out, for a highlight, during viewing of the highlight.

17. The non-transitory computer-readable medium of claim 13, further comprising instructions stored thereon, that when executed by a processor, localize and extract the card image from the video frame region.

18. The non-transitory computer-readable medium of claim 17, wherein localizing and extracting the card image from the video frame region comprises cropping the video frame to isolate the video frame region.

19. The non-transitory computer-readable medium of claim 17, wherein localizing and extracting the card image from the video frame region comprises:

segmenting the video frame region, or a processed version of the video frame region, to generate a segmented image; and

modifying pixel values of segments adjacent to boundaries of the seg- mented image.

20. The non-transitory computer-readable medium of claim 17, wherein localizing and extracting the card image from the video frame region comprises removing background from the video frame region or a processed version of the video frame region.

21. The non-transitory computer-readable medium of claim 17, wherein localizing and extracting the card image from the video frame region comprises:

generating an edge image based on the video frame region with re- moved background;

finding contours in the edge image;

approximating the contours as polygons; and extracting a region enclosed by a minimum rectangular perimeter en compassing all of the contours to generate a perimeter rec- tangular image.

22. A system for extracting metadata from a video stream, the system comprising:

a data store configured to store video frames of the video stream; and a processor configured to:

automatically identify and extract a card image embedded in at least one video frame of the video frames by perform- ing at least one of:

identifying a predetermined location, within the video frame, that defines a video frame region con- taining the card image; and

sequentially processing a plurality of regions of the video frame to identify the video frame region con- taining the card image; and

analyze the card image to obtain metadata; wherein the data store is further configured to store the metadata in as- sociation with at least one of the video frames.

23. The system of claim 22, wherein:

the video stream comprises a broadcast of a sporting event;

the video frames constitute a highlight deemed to be of particular in terest to one or more users; and

the metadata is descriptive of a status of the sporting event during the highlight.

24. The system of claim 23, further comprising an output device con- figured to present the metadata during viewing of the highlight.

25. The system of claim 24, wherein the processor is further configured to automatically identify and extract a card image and analyze the card image to obtain the metadata for a highlight during viewing of the highlight.

26. The system of claim 22, wherein the processor is further configured to localize and extract the card image from the video frame region.

27. The system of claim 26, wherein the processor is further configured to localize and extract the card image from the video frame region by crop- ping the video frame to isolate the video frame region.

28. The system of claim 26, wherein the processor is further configured to localize and extract the card image from the video frame region by:

segmenting the video frame region, or a processed version of the video frame region, to generate a segmented image; and

modifying pixel values of segments adjacent to boundaries of the seg- mented image.

29. The system of claim 26, wherein the processor is further configured to localize and extract the card image from the video frame region by remov ing background from the video frame region or a processed version of the video frame region.

30. The system of claim 26, wherein the processor is further configured to localize and extract the card image from the video frame region by:

generating an edge image based on the video frame region with re- moved background;

finding contours in the edge image;

approximating the contours as polygons; and extracting a region enclosed by a minimum rectangular perimeter en- compassing all of the contours to generate a perimeter rec- tangular image.

Description:
VIDEO PROCESSING FOR EMBEDDED INFORMATION CARD LOCALIZATION AND CONTENT EXTRACTION

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims the benefit of U.S. Provisional

Application Serial No. 62/ 673,412 for "Machine Learning for Recognizing and Interpreting Embedded Information Card Content" (Attorney Docket No. THUOIO-PROV), filed May 18, 2018, which is incorporated herein by reference in its entirety.

[0002] The present application claims the benefit of U.S. Provisional

Application Serial No. 62/ 673,411 for "Video Processing for Enabling Sports Highlights Generation" (Attorney Docket No. THU009-PROV), filed May 18, 2018, which is incorporated herein by reference in its entirety.

[0003] The present application claims the benefit of U.S. Provisional Application Serial No. 62/ 673,413 for "Video Processing for Embedded In- formation Card Localization and Content Extraction" (Attorney Docket No. THU012-PROV), filed May 18, 2018, which is incorporated herein by reference in its entirety.

[0004] The present application claims the benefit of U.S. Provisional

Application Serial No. 62/ 680,955 for "Audio Processing for Detecting Occur- rences of Crowd Noise in Sporting Event Television Programming" (Attorney Docket No. THU007-PROV), filed June 5, 2018, which is incorporated herein by reference in its entirety. [0005] The present application claims the benefit of U.S. Provisional Application Serial No. 62/712,041 for "Audio Processing for Extraction of Variable Length Disjoint Segments from Television Signal" (Attorney Docket No. THU006-PROV), filed July 30, 2018, which is incorporated herein by ref- erence in its entirety.

[0006] The present application claims the benefit of U.S. Provisional

Application Serial No. 62/746,454 for "Audio Processing for Detecting Occur- rences of Loud Sound Characterized by Short-Time Energy Bursts" (Attorney Docket No. THU016-PROV), filed October 16, 2018, which is incorporated herein by reference in its entirety.

[0007] The present application claims priority from U.S. Utility Appli- cation Serial No. 16/411,710 for "Machine Learning for Recognizing and In terpreting Embedded Information Card Content" (Attorney Docket No.

THU010), filed May 14, 2019, which is incorporated herein by reference in its entirety.

[0008] The present application claims priority from U.S. Utility Appli- cation Serial No. 16/411,704 for "Video Processing for Enabling Sports High- lights Generation" (Attorney Docket No. THU009), filed May 14, 2019, which is incorporated herein by reference in its entirety.

[0009] The present application claims priority from U.S. Utility Appli- cation Serial No. 16/411,713 for "Video Processing for Embedded Information Card Localization and Content Extraction" (Attorney Docket No. THU012), filed May 14, 2019, which is incorporated herein by reference in its entirety.

[0010] The present application is related to U.S. Utility Application Se- rial No. 13/ 601,915 for "Generating Excitement Levels for Live Perform- ances," filed August 31, 2012 and issued on June 16, 2015 as U.S. Patent No. 9,060,210, which is incorporated by reference herein in its entirety.

[0011] The present application is related to U.S. Utility Application Se- rial No. 13/ 601,927 for "Generating Alerts for Live Performances," filed Au- gust 31, 2012 and issued on September 23, 2014 as U.S. Patent No. 8,842,007, which is incorporated by reference herein in its entirety. [0012] The present application is related to U.S. Utility Application Se- rial No. 13/ 601,933 for "Generating Teasers for Live Performances," filed Au- gust 31, 2012 and issued on November 26, 2013 as U.S. Patent No. 8,595,763, which is incorporated by reference herein in its entirety.

[0013] The present application is related to U.S. Utility Application Se- rial No. 14/510,481 for "Generating a Customized Highlight Sequence Depict- ing an Event" (Attorney Docket No. THU001), filed October 9, 2014, which is incorporated by reference herein in its entirety.

[0014] The present application is related to U.S. Utility Application Se- rial No. 14/710,438 for "Generating a Customized Highlight Sequence Depict- ing Multiple Events" (Attorney Docket No. THU002), filed May 12, 2015, which is incorporated by reference herein in its entirety.

[0015] The present application is related to U.S. Utility Application Se- rial No. 14/877,691 for "Customized Generation of Highlight Show with Nar- rative Component" (Attorney Docket No. THU004), filed October 7, 2015, which is incorporated by reference herein in its entirety.

[0016] The present application is related to U.S. Utility Application Se- rial No. 15/264,928 for "User Interface for Interaction with Customized High- light Shows" (Attorney Docket No. THU005), filed September 14, 2016, which is incorporated by reference herein in its entirety.

TECHNICAL FIELD

[0017] The present document relates to techniques for identifying mul- timedia content and associated information on a television device or a video server delivering multimedia content, and enabling embedded software ap- plications to utilize the multimedia content to provide content and services synchronous with that multimedia content. Various embodiments relate to methods and systems for providing automated video and audio analysis that are used to identify and extract information in sports television video content, and to create metadata associated with video highlights for in-game and post- game reviewing of the sports television video content. DESCRIPTION OF THE RELATED ART

[0018] Enhanced television applications such as interactive advertising and enhanced program guides with pre-game, in-game and post-game inter- active applications have long been envisioned. Existing cable systems that were originally engineered for broadcast television are being called on to support a host of new applications and services including interactive televi- sion services and enhanced (interactive) programming guides.

[0019] Some frameworks for enabling enhanced television applications have been standardized. Examples include the OpenCable™ Enhanced TV Application Messaging Specification, as well as the Tru2way specification, which refer to interactive digital cable services delivered over a cable video network and which include features such as interactive program

guides, interactive ads, games, and the like. Additionally, cable operator "OCAP" programs provide interactive services such as e-commerce shop- ping, online banking, electronic program guides, and digital video recording. These efforts have enabled the first generation of video-synchronous applica- tions, synchronized with video content delivered by the program- mer/ broadcaster, and providing added data and interactivity to television programming.

[0020] Recent developments in video/ audio content analysis technolo- gies and capable mobile devices have opened up an array of new possibilities in developing sophisticated applications that operate synchronously with live TV programming events. These new technologies and advances in computer vision and video processing, as well as improved computing power of mod- ern processors, allow for real-time generation of sophisticated programming content highlights accompanied by metadata.

SUMMARY

[0021] Methods and systems are presented for automatically finding the location of an information card ("card image"), such as an information score board, in a video frame, or multiple video frames, in sports television broadcast programming. Also described are methods and systems for identi- fying text strings within various fields of the localized card image, and read- ing and interpreting textual information from various fields of the localized card image.

[0022] In at least one embodiment, the card image detection, localiza- tion, and reading are performed synchronously with respect to presentation of sports television programming content. In at least one embodiment, an automated process is provided for receiving a digital video stream, analyzing one or more frames of the digital video stream, and automatically detecting and localizing card image quadrilaterals. In another embodiment, an auto- mated process is provided for analyzing one or more localized card images, recognizing and extracting text strings (for example, in text boxes), and read- ing information from extracted text boxes.

[0023] In yet another embodiment, detected text strings associated with particular fields within the card image are interpreted, thus providing imme diate in-game information related to the content of the televised broadcast of the sporting event. The extracted in-frame information may be used to gener- ate metadata related to automatically created custom video content as a set of highlights of broadcast television programming content associated with audiovisual and textual data.

[0024] In at least one embodiment, a method for extracting metadata from a video stream may include storing at least a portion of the video stream in a data store. At a processor, one or more card images embedded in at least one of the video frames may be automatically identified and extracted by per- forming at least one of identifying a predetermined location, within the video frame, that defines a video frame region containing the card image, and se- quentially processing a plurality of regions of the video frame to identify the video frame region containing the card image. At the processor, the card im age may be analyzed to obtain metadata, which may be stored, at the data store, in association with at least one of the video frames. [0025] In at least one embodiment, the video stream may be a broad- cast of a sporting event. The video frames may constitute a highlight deemed to be of particular interest to one or more users. The metadata may be de- scriptive of a status of the sporting event during the highlight.

[0026] In at least one embodiment, the method may further include, at an output device, presenting the metadata during viewing of the highlight. Automatically identifying and extracting a card image and analyzing the card image to obtain the metadata may be carried out, for a highlight, during view- ing of the highlight.

[0027] In at least one embodiment, the method may further include lo- calizing and extracting the card image from the video frame region. Localiz- ing and extracting the card image from the video frame region may include cropping the video frame to isolate the video frame region. Alternatively, or in addition, localizing and extracting the card image from the video frame re- gion may include segmenting the video frame region, or a processed version of the video frame region, to generate a segmented image, and modifying pixel values of segments adjacent to boundaries of the segmented image. Al ternatively, or in addition, localizing and extracting the card image from the video frame region may include removing background from the video frame region or a processed version of the video frame region. Alternatively, or in addition, localizing and extracting the card image from the video frame re- gion may include generating an edge image based on the video frame region, finding contours in the edge image, approximating the contours as polygons, and extracting a region enclosed by a minimum rectangular perimeter en compassing all of the contours to generate a perimeter rectangular image.

[0028] In at least one embodiment, the method may further include, iteratively, counting color-modified pixels for each edge of the perimeter rec- tangular image, and moving any boundary edge, with a number of color- modified pixels exceeding a threshold, inward.

[0029] In at least one embodiment, the method may further include validating a quadrilateral detected within the region by counting a first num- ber of pixels in the video frame region, a second number of pixels in a perime- ter rectangular image, and a third number of pixels in an adjusted perimeter rectangular image. The first number, the second number, and the third num ber may be compared to determine whether an assumed quadrilateral within the region is viable.

[0030] In at least one embodiment, localizing and extracting the card image from the video frame region may include adjusting a left boundary (or another boundary) of the card image.

[0031] Further details and variations are described herein.

BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, together with the description, il lustrate several embodiments. One skilled in the art will recognize that the particular embodiments illustrated in the drawings are merely exemplary, and are not intended to limit scope.

[0033] Fig. 1A is a block diagram depicting a hardware architecture ac- cording to a client/ server embodiment, wherein event content is provided via a network-connected content provider.

[0034] Fig. IB is a block diagram depicting a hardware architecture ac- cording to another client/ server embodiment, wherein event content is stored at a client-based storage device.

[0035] Fig. 1C is a block diagram depicting a hardware architecture ac- cording to a standalone embodiment.

[0036] Fig. ID is a block diagram depicting an overview of a system architecture, according to one embodiment.

[0037] Fig. 2 is a schematic block diagram depicting examples of data structures that may be incorporated into the card images, user data, and high- light data, according to one embodiment.

[0038] Fig. 3A is a screenshot diagram of an example of a video frame from a video stream, showing in-frame embedded information card images ("card images") as may be found in sporting event television programming contents.

[0039] Fig. 3B is a series of screenshot diagrams depicting additional examples of video frames with embedded card images.

[0040] Fig. 4 is a flowchart depicting a method carried out by an appli- cation that receives a video stream and performs on-the-fly processing of video frames for localization and extraction of card images and associated metadata, such as the card image of Fig. 3 and its associated game status in- formation, according to one embodiment.

[0041] Fig. 5 is a flowchart depicting the step for processing of prede- termined regions of a video frame for detection of a viable card image, from Fig. 4, in greater detail.

[0042] Fig. 6 is a flowchart depicting a method for top-level processing for valid card image quadrilateral detection in designated areas of decoded video frames, according to one embodiment.

[0043] Fig. 7 is a flowchart depicting a method for more precise card image quadrilateral determination, according to one embodiment.

[0044] Fig. 8 is a flowchart depicting a method for adjusting quadrilat- eral boundaries of the enclosure encompassing all detected contours, accord- ing to one embodiment.

[0045] Fig. 9 is a flowchart depicting a method for card image quadri- la feral validation, according to one embodiment.

[0046] Fig. 10 is a flowchart depicting a method for optional stabiliza- tion of the left boundary for very elongated card image shapes, according to one embodiment.

[0047] Fig. 11 is a flowchart depicting a method for performing text ex- traction from card images 207, according to one embodiment.

[0048] Fig. 12 is a flowchart depicting a method for performing text string processing and interpretation, according to one embodiment. DETAILED DESCRIPTION

Definitions

[0049] The following definitions are presented for explanatory pur- poses only, and are not intended to limit scope.

• Event: For purposes of the discussion herein, the term

"event" refers to a game, session, match, series, performance, program, concert, and/ or the like, or portion thereof (such as an act, period, quarter, half, inning, scene, chapter, or the like). An event may be a sporting event, entertainment event, a specific performance of a single individual or subset of individuals within a larger population of participants in an event, or the like. Examples of non-sporting events in clude television shows, breaking news, socio-political inci- dents, natural disasters, movies, plays, radio shows, pod- casts, audiobooks, online content, musical performances, and/or the like. An event can be of any length. For illustra- tive purposes, the technology is often described herein in terms of sporting events; however, one skilled in the art will recognize that the technology can be used in other contexts as well, including highlight shows for any audiovisual, au- dio, visual, graphics-based, interactive, non-interactive, or text-based content. Thus, the use of the term "sporting event" and any other sports-specific terminology in the de- scription is intended to be illustrative of one possible em bodiment, but is not intended to restrict the scope of the de- scribed technology to that one embodiment. Rather, such terminology should be considered to extend to any suitable non-sporting context as appropriate to the technology. For ease of description, the term "event" is also used to refer to an account or representation of an event, such as an audio- visual recording of an event, or any other content item that includes an accounting, description, or depiction of an event.

• Highlight: An excerpt or portion of an event, or of content associated with an event, that is deemed to be of particular interest to one or more users. A highlight can be of any length. In general, the techniques described herein provide mechanisms for identifying and presenting a set of custom- ized highlights (which may be selected based on particular characteristics and/ or preferences of the user) for any suit- able event. "Highlight" can also be used to refer to an ac- count or representation of a highlight, such as an audiovisual recording of a highlight, or any other content item that in cludes an accounting, description, or depiction of a highlight. Highlights need not be limited to depictions of events them- selves, but can include other content associated with an event. For example, for a sporting event, highlights can in clude in-game audio/ video, as well as other content such as pre-game, in-game, and post-game interviews, analysis, commentary, and/ or the like. Such content can be recorded from linear television (for example, as part of the video stream depicting the event itself), or retrieved from any number of other sources. Different types of highlights can be provided, including for example, occurrences (plays), strings, possessions, and sequences, all of which are defined below. Highlights need not be of fixed duration, but may in- corporate a start offset and/ or end offset, as described be- low.

• Content Delineator: One or more video frames that indicate the start or end of a highlight. • Occurrence: Something that takes place during an event. Examples include: a goal, a play, a down, a hit, a save, a shot on goal, a basket, a steal, a snap or attempted snap, a near- miss, a fight, a beginning or end of a game, quarter, half, pe- riod, or inning, a pitch, a penalty, an injury, a dramatic inci- dent in an entertainment event, a song, a solo, and/ or the like. Occurrences can also be unusual, such as a power out- age, an incident with an unruly fan, and/ or the like. Detec - tion of such occurrences can be used as a basis for determin- ing whether or not to designate a particular portion of a video stream as a highlight. Occurrences are also referred to herein as "plays", for ease of nomenclature, although such usage should not be construed to limit scope. Occurrences may be of any length, and the representation of an occur- rence may be of varying length. For example, as mentioned above, an extended representation of an occurrence may in clude footage depicting the period of time just before and just after the occurrence, while a brief representation may in clude just the occurrence itself. Any intermediate represen- tation can also be provided. In at least one embodiment, the selection of a duration for a representation of an occurrence can depend on user preferences, available time, determined level of excitement for the occurrence, importance of the oc- currence, and/ or any other factors.

• Offset: The amount by which a highlight length is adjusted.

In at least one embodiment, a start offset and/ or end offset can be provided, for adjusting start and/ or end times of the highlight, respectively. For example, if a highlight depicts a goal, the highlight may be extended (via an end offset) for a few seconds so as to include celebrations and/ or fan reac- tions following the goal. Offsets can be configured to vary automatically or manually, based for example on amount of time available for the highlight, importance and/ or excite- ment level of the highlight, and/ or any other suitable factors.

• String: A series of occurrences that are somehow linked or related to one another. The occurrences may take place within a possession (defined below), or may span multiple possessions. The occurrences may take place within a se- quence (defined below), or may span multiple sequences.

The occurrences can be linked or related because of some thematic or narrative connection to one another, or because one leads to another, or for any other reason. One example of a string is a set of passes that lead to a goal or basket. This is not to be confused with a "text string," which has the meaning ordinarily ascribed to it in the computer program- ming arts.

• Possession: Any time-delimited portion of an event. De- marcation of start/ end times of a possession can depend on the type of event. For certain sporting events wherein one team may be on the offensive while the other team is on the defensive (such as basketball or football, for example), a pos- session can be defined as a time period while one of the teams has the ball. In sports such as hockey or soccer, where puck or ball possession is more fluid, a possession can be considered to extend to a period of time wherein one of the teams has substantial control of the puck or ball, ignoring momentary contact by the other team (such as blocked shots or saves). For baseball, a possession is defined as a half- inning. For football, a possession can include a number of sequences in which the same team has the ball. For other types of sporting events as well as for non-sporting events, the term "possession" may be somewhat of a misnomer, but is still used herein for illustrative purposes. Examples in a non-sporting context may include a chapter, scene, act, tele- vision segment, or the like. For example, in the context of a music concert, a possession may equate to performance of a single song. A possession can include any number of occur- rences.

• Sequence: A time-delimited portion of an event that in

cludes one continuous time period of action. For example, in a sporting event, a sequence may begin when action begins (such as a face-off, tipoff, or the like), and may end when the whistle is blown to signify a break in the action. In a sport such as baseball or football, a sequence may be equivalent to a play, which is a form of occurrence. A sequence can in clude any number of possessions, or may be a portion of a possession.

• Highlight show: A set of highlights that are arranged for presentation to a user. The highlight show may be presented linearly (such as a video stream), or in a manner that allows the user to select which highlight to view and in which order (for example by clicking on links or thumbnails). Presenta- tion of highlight show can be non-interactive or interactive, for example allowing a user to pause, rewind, skip, fast- forward, communicate a preference for or against, and/ or the like. A highlight show can be, for example, a condensed game. A highlight show can include any number of con- tiguous or non-contiguous highlights, from a single event or from multiple events, and can even include highlights from different types of events (e.g. different sports, and/ or a com bination of highlights from sporting and non-sporting events). • User/viewer: The terms "user" or "viewer" interchangeably refer to an individual, group, or other entity that is watching, listening to, or otherwise experiencing an event, one or more highlights of an event, or a highlight show. The terms "user" or "viewer" can also refer to an individual, group, or other entity that may at some future time watch, listen to, or oth- erwise experience either an event, one or more highlights of an event, or a highlight show. The term "viewer" may be used for descriptive purposes, although the event need not have a visual component, so that the "viewer" may instead be a listener or any other consumer of content.

• Narrative: A coherent story that links a set of highlight seg- ments in a particular order.

• Excitement level: A measure of how exciting or interesting an event or highlight is expected to be for a particular user or for users in general. Excitement levels can also be deter- mined with respect to a particular occurrence or player. Various techniques for measuring or assessing excitement level are discussed in the above-referenced related applica- tions. As discussed, excitement level can depend on occur- rences within the event, as well as other factors such as over- all context or importance of the event (playoff game, pennant implications, rivalries, and/ or the like). In at least one em bodiment, an excitement level can be associated with each occurrence, string, possession, or sequence within an event. For example, an excitement level for a possession can be de- termined based on occurrences that take place within that possession. Excitement level may be measured differently for different users (e.g. a fan of one team vs. a neutral fan), and it can depend on personal characteristics of each user. • Metadata: Data pertaining to and stored in association with other data. The primary data may be media such as a sports program or highlight.

• Card Image: An image in a video frame that provides data regarding anything depicted in the video, such as an event, a depiction of an event, or a portion thereof. Exemplary card images contain game scores, game clocks, and/ or other sta- tistics from sporting events. Card images may appear tem- porarily or for the full duration of a video stream; those that appear temporarily may pertain particularly to the portion of a video stream in which they appear. A "card image" may also be a modified or processed version of the actual card image that appears in a video frame.

• Character Image: A portion of an image that is believed to pertain to a single character. The character image may in clude the region surrounding the character. For example, a character image may include a generally rectangular bound- ing box surrounding a character.

• Character: A symbol that can be part of a word, number, or representation of a word or number. Characters can include letters, numbers, and special characters, and may be in any language.

• Character String: A set of characters that is grouped to- gether in a manner indicating that they pertain to a single piece of information, such as the name of the team playing in a sporting event. An English language character string will often be arranged horizontally and read left-to-right. How ever, character strings may be arranged differently in English and in other languages.

• Video Frame Region: A portion of a video frame believed to contain a card image, either based on knowledge of a prede- termined location at which the card image is expected to ap- pear within the video frame, or based on sequential analysis of multiple regions of the video frame to identify which re- gion is likely to contain the card image.

Overview

[0050] According to various embodiments, methods and systems are provided for automatically creating time-based metadata associated with highlights of television programming of a sporting event. The highlights and associated in-frame time-based information may be extracted synchronously with respect to the television broadcast of a sporting event, or while the sport- ing event video content is being streamed via a video server from a backup device after the television broadcast of a sporting event.

[0051] In at least one embodiment, a software application operates syn- chronously with playback and/ or receipt of the television programming con- tent to provide information metadata associated with content highlights. Such software can run, for example, on the television device itself, or on an associ- ated STB, or on a video server with the capability of receiving and subse- quently streaming programming content, or on a mobile device equipped with the capability of receiving a video feed including live programming.

[0052] In video management and processing systems as well as in the context of an interactive (enhanced) programming guide, a set of video clips representing television broadcast content highlights can be automatically generated and/ or stored in real-time, along with a database containing time- based metadata describing, in more detail, the events presented in the high- lights. The metadata accompanying the video clips can include any informa- tion, such as for example textual information, images, and/ or any type of audiovisual data. In this manner, interactive television applications can pro- vide timely, relevant content to users who are watching programming con- tent, either on a primary television display or on a secondary display such as tablet, laptop or a smartphone.

[0053] One type of metadata associated with in-game and post-game video content highlights carries real-time information about sporting game parameters extracted directly from live programming content by reading in- formation cards ("card images") embedded in one or more of video frames of the programming content. In various embodiments, the system and method described herein enable this type of automatic metadata generation.

[0054] In at least one embodiment, the system and method automati- cally detect and localize card images embedded in one or more of decoded video frames of television broadcast of a sporting event program, or in a sporting event video streamed from a playback device. A multitude of prede- termined regions of interest are analyzed in decoded video frames, and card image quadrilaterals are localized and processed in real-time using computer vision techniques to transform information from an identified card image into a set of metadata describing the status of the sporting event.

[0055] In another embodiment, an automated process is described, wherein a digital video stream is received, and wherein one or more video frames of the digital video stream are analyzed for the presence of card image quadrilaterals. Text boxes are then localized within the identified card image, and text residing within the said text boxes is interpreted to create a metadata file associating card image content with video highlights of the analyzed digi- tal video stream.

[0056] In yet another embodiment, a plurality of text strings (text boxes) is identified, and the location and size of the image of each character in the string of characters associated with said text boxes are detected. Next, a plurality of text strings from various fields of the card image are processed and interpreted, and corresponding metadata are formed, providing a plural- ity of information related to the portion of the sporting event associated with the processed card image and analyzed video frames. [0057] The automated metadata generation video system presented herein may operate in connection with a live broadcast video stream or a digi- tal video streamed via a computer server. In at least one embodiment, the video stream can be processed in real-time using computer vision techniques to extract metadata from embedded card images.

System Architecture

[0058] According to various embodiments, the system can be imple- mented on any electronic device, or set of electronic devices, equipped to re- ceive, store, and present information. Such an electronic device may be, for example, a desktop computer, laptop computer, television, smartphone, tab- let, music player, audio device, kiosk, set-top box (STB), game system, wear- able device, consumer electronic device, and/ or the like.

[0059] Although the system is described herein in connection with an implementation in particular types of computing devices, one skilled in the art will recognize that the techniques described herein can be implemented in other contexts, and indeed in any suitable device capable of receiving and/ or processing user input, and presenting output to the user. Accordingly, the following description is intended to illustrate various embodiments by way of example, rather than to limit scope.

[0060] Referring now to Fig. 1 A, there is shown a block diagram depict- ing hardware architecture of a system 100 for automatically extracting meta- data from card images embedded in a video stream of an event, according to a client/ server embodiment. Event content, such as the video stream, may be provided via a network-connected content provider 124. An example of such a client/ server embodiment is a web-based implementation, wherein each of one or more client devices 106 runs a browser or app that provides a user in terface for interacting with content from various servers 102, 114, 116, includ- ing data provider(s) servers 122, and/ or content provider(s) servers 124, via communications network 104. Transmission of content and/ or data in re- sponse to requests from client device 106 can take place using any known pro- tocols and languages, such as Hypertext Markup Language (HTML), Java, Objective C, Python, JavaScript, and/ or the like.

[0061] Client device 106 can be any electronic device, such as a desktop computer, laptop computer, television, smartphone, tablet, music player, au- dio device, kiosk, set-top box, game system, wearable device, consumer elec- tronic device, and/ or the like. In at least one embodiment, client device 106 has a number of hardware components well known to those skilled in the art. Input device(s) 151 can be any component(s) that receive input from user 150, including, for example, a handheld remote control, keyboard, mouse, stylus, touch-sensitive screen (touchscreen), touchpad, gesture receptor, trackball, accelerometer, five-way switch, microphone, or the like. Input can be pro- vided via any suitable mode, including for example, one or more of: pointing, tapping, typing, dragging, gesturing, tilting, shaking, and/ or speech. Dis- play screen 152 can be any component that graphically displays information, video, content, and/ or the like, including depictions of events, highlights, and/ or the like. Such output may also include, for example, audiovisual con- tent, data visualizations, navigational elements, graphical elements, queries requesting information and/ or parameters for selection of content, or the like. In at least one embodiment, where only some of the desired output is pre- sented at a time, a dynamic control, such as a scrolling mechanism, may be available via input device(s) 151 to choose which information is currently dis- played, and/ or to alter the manner in which the information is displayed.

[0062] Processor 157 can be a conventional microprocessor for perform- ing operations on data under the direction of software, according to well- known techniques. Memory 156 can be random-access memory, having a structure and architecture as are known in the art, for use by processor 157 in the course of running software for performing the operations described herein. Client device 106 can also include local storage (not shown), which may be a hard drive, flash drive, optical or magnetic storage device, web- based (cloud-based) storage, and/ or the like. [0063] Any suitable type of communications network 104, such as the Internet, a television network, a cable network, a cellular network, and/ or the like can be used as the mechanism for transmitting data between client device 106 and various server(s) 102, 114, 116 and/ or content provider(s) 124 and/ or data provider(s) 122, according to any suitable protocols and techniques. In addition to the Internet, other examples include cellular telephone networks, EDGE, 3G, 4G, long term evolution (LTE), Session Initiation Protocol (SIP), Short Message Peer-to-Peer protocol (SMPP), SS7, Wi-Fi, Bluetooth, ZigBee, Hypertext Transfer Protocol (HTTP), Secure Hypertext Transfer Protocol (SHTTP), Transmission Control Protocol / Internet Protocol (TCP/IP), and/ or the like, and/ or any combination thereof. In at least one embodiment, client device 106 transmits requests for data and/ or content via communications network 104, and receives responses from server(s) 102, 114, 116 containing the requested data and/ or content.

[0064] In at least one embodiment, the system of Fig. 1 A operates in connection with sporting events; however, the teachings herein apply to non- sporting events as well, and it is to be appreciated that the technology de- scribed herein is not limited to application to sporting events. For example, the technology described herein can be utilized to operate in connection with a television show, movie, news event, game show, political action, business show, drama, and/ or other episodic content, or for more than one such event.

[0065] In at least one embodiment, system 100 identifies highlights of broadcast events by analyzing a video stream of the event. This analysis may be carried out in real-time. In at least one embodiment, system 100 includes one or more web server(s) 102 coupled via a communications network 104 to one or more client devices 106. Communications network 104 may be a pub- lic network, a private network, or a combination of public and private net- works such as the Internet. Communications network 104 can be a FAN, WAN, wired, wireless and/ or combination of the above. Client device 106 is, in at least one embodiment, capable of connecting to communications net- work 104, either via a wired or wireless connection. In at least one embodi- ment, client device may also include a recording device capable of receiving and recording events, such as a DVR, PVR, or other media recording device. Such recording device can be part of client device 106, or can be external; in other embodiments, such recording device can be omitted. Although Fig. 1 A shows one client device 106, system 100 can be implemented with any num ber of client device(s) 106 of a single type or multiple types.

[0066] Web server(s) 102 may include one or more physical computing devices and/ or software that can receive requests from client device(s) 106 and respond to those requests with data, as well as send out unsolicited alerts and other messages. Web server(s) 102 may employ various strategies for fault tolerance and scalability such as load balancing, caching and clustering. In at least one embodiment, web server(s) 102 may include caching technol- ogy, as known in the art, for storing client requests and information related to events.

[0067] Web server(s) 102 may maintain, or otherwise designate, one or more application server (s) 114 to respond to requests received from client de- vice(s) 106. In at least one embodiment, application server(s) 114 provide access to business logic for use by client application programs in client de- vice(s) 106. Application server(s) 114 may be co-located, co-owned, or co- managed with web server(s) 102. Application server(s) 114 may also be re- mote from web server(s) 102. In at least one embodiment, application server(s) 114 interact with one or more analytical server(s) 116 and one or more data server(s) 118 to perform one or more operations of the disclosed technology.

[0068] One or more storage devices 153 may act as a "data store" by storing data pertinent to operation of system 100. This data may include, for example, and not by way of limitation, card data 154 pertinent to card images embedded in video streams presenting events such as sporting events, user data 155 pertinent to one or more users 150, and/ or highlight data 164 perti- nent to one or more highlights of the events. [0069] Card data 154 can include any information related to card im ages embedded in the video stream, such as the card images themselves, sub- sets thereof such as character images, text extracted from the card images such as characters and character strings, and attributes of any of the foregoing that can be helpful in text and/ or meaning extraction. User data 155 can include any information describing one or more users 150, including for example, demographics, purchasing behavior, video stream viewing behavior, inter- ests, preferences, and/ or the like. Highlight data 164 may include highlights, highlight identifiers, time indicators, categories, excitement levels, and other data pertaining to highlights. Card data 154, user data 155, and highlight data 164 will be described in detail subsequently.

[0070] Notably, many components of system 100 may be, or may in clude, computing devices. Such computing devices may each have an archi- tecture similar to that of client device 106, as shown and described above. Thus, any of communications network 104, web servers 102, application serv- ers 114, analytical servers 116, data providers 122, content providers 124, data servers 118, and storage devices 153 may include one or more computing de- vices, each of which may optionally have an input device 151, display screen 152, memory 156, and/ or a processor 157, as described above in connection with client devices 106.

[0071] In an exemplary operation of system 100, one or more users 150 of client devices 106 view content from content providers 124, in the form of video streams. The video streams may show events, such as sporting events. The video streams may be digital video streams that can readily be processed with known computer vision techniques.

[0072] As the video streams are displayed, one or more components of system 100, such as client devices 106, web servers 102, application servers 114, and/ or analytical servers 116, may analyze the video streams, identify highlights within the video streams, and/ or extract metadata from the video stream, for example, from embedded card images and/ or other aspects of the video stream. This analysis may be carried out in response to receipt of a re- quest to identify highlights and/ or metadata for the video stream. Alterna- tively, in another embodiment, highlights may be identified without a specific request having been made by user 150. In yet another embodiment, the analysis of video streams can take place without a video stream being dis- played.

[0073] In at least one embodiment, user 150 can specify, via input de- vice(s) 151 at client device 106, certain parameters for analysis of the video stream (such as, for example, what event/ games/ teams to include, how much time user 150 has available to view the highlights, what metadata is desired, and/ or any other parameters). User preferences can also be extracted from storage, such as from user data 155 stored in one or more storage devices 153, so as to customize analysis of the video stream without necessarily requiring user 150 to specify preferences. In at least one embodiment, user preferences can be determined based on observed behavior and actions of user 150, for example, by observing website visitation patterns, television watching pat- terns, music listening patterns, online purchases, previous highlight identifi- cation parameters, highlights and/ or metadata actually viewed by user 150, and/ or the like.

[0074] Additionally or alternatively, user preferences can be retrieved from previously stored preferences that were explicitly provided by user 150. Such user preferences may indicate which teams, sports, players, and/ or types of events are of interest to user 150, and/ or they may indicate what type of metadata or other information related to highlights, would be of interest to user 150. Such preferences can therefore be used to guide analysis of the video stream to identify highlights and/ or extract metadata for the highlights.

[0075] Analytical server(s) 116, which may include one or more com puting devices as described above, may analyze live and/ or recorded feeds of play-by-play statistics related to one or more events from data provider(s)

122. Examples of data provider(s) 122 may include, but are not limited to, providers of real-time sports information such as STATSTM, Perform (avail- able from Opta Sports of London, UK), and SportRadar of St. Gallen, Switzer- land. In at least one embodiment, analytical server(s) 116 generate different sets of excitement levels for events; such excitement levels can then be stored in conjunction with highlights identified by system 100 according to the tech- niques described herein.

[0076] Application server(s) 114 may analyze the video stream to iden- tify the highlights and/ or extract the metadata. Additionally or alternatively, such analysis may be carried out by client device(s) 106. The identified high- lights and/ or extracted metadata may be specific to a user 150; in such case, it may be advantageous to identify the highlights in client device 106 pertaining to a particular user 150. Client device 106 may receive, retain, and/ or retrieve the applicable user preferences for highlight identification and/ or metadata extraction, as described above. Additionally or alternatively, highlight gen- eration and/ or metadata extraction may carried out globally (i.e., using objec- tive criteria applicable to the user population in general, without regard to preferences for a particular user 150). In such a case, it may be advantageous to identify the highlights and/ or extract the metadata in application server(s) 114.

[0077] Content that facilitates highlight identification and/ or metadata extraction may come from any suitable source, including from content pro- videos) 124, which may include websites such as YouTube, MLB.com, and the like; sports data providers; television stations; client- or server-based DVRs; and/ or the like. Alternatively, content can come from a local source such as a DVR or other recording device associated with (or built into) client device 106. In at least one embodiment, application server(s) 114 generate a customized highlight show, with highlights and metadata, available to user 150, either as a download, or streaming content, or on-demand content, or in some other manner.

[0078] As mentioned above, it may be advantageous for user-specific highlight identification and/ or metadata extraction to be carried out at a par- ticular client device 106 associated with a particular user 150. Such an em bodiment may avoid the need for video content or other high-bandwidth con- tent to be transmitted via communications network 104 unnecessarily, par ticularly if such content is already available at client device 106.

[0079] For example, referring now to Fig. IB, there is shown an exam- ple of a system 160 according to an embodiment wherein at least some of the card data 154 and highlight data 164 are stored at client-based storage device 158, which may be any form of local storage device available to client device 106. An example is a DVR on which events may be recorded, such as for ex- ample video content for a complete sporting event. Alternatively, client- based storage device 158 can be any magnetic, optical, or electronic storage device for data in digital form; examples include flash memory, magnetic hard drive, CD-ROM, DVD-ROM, or other device integrated with client de- vice 106 or communicatively coupled with client device 106. Based on the information provided by application server(s) 114, client device 106 may ex- tract metadata from card data 154 stored at client-based storage device 158 and store the metadata as highlight data 164 without having to retrieve other content from a content provider 124 or other remote source. Such an ar rangement can save bandwidth, and can usefully leverage existing hardware that may already be available to client device 106.

[0080] Returning to Fig. 1 A, in at least one embodiment, application server(s) 114 may identify different highlights and/ or extract different meta- data for different users 150, depending on individual user preferences and/ or other parameters. The identified highlights and/ or extracted metadata may be presented to user 150 via any suitable output device, such as display screen 152 at client device 106. If desired, multiple highlights may be identified and compiled into a highlight show, along with associated metadata. Such a high- light show may be accessed via a menu, and/ or assembled into a "highlight reel," or set of highlights, that plays for user 150 according to a predetermined sequence. User 150 can, in at least one embodiment, control highlight play- back and/ or delivery of the associated metadata via input device(s) 151, for example to: • select particular highlights and/ or metadata for display;

• pause, rewind, fast-forward;

• skip forward to the next highlight;

• return to the beginning of a previous highlight within the highlight show; and/ or

• perform other actions.

[0081] Additional details on such functionality are provided in the above-cited related U.S. Patent Applications.

[0082] In at least one embodiment, one more data server(s) 118 are pro- vided. Data server(s) 118 may respond to requests for data from any of server(s) 102, 114, 116, for example to obtain or provide card data 154, user data 155, and/ or highlight data 164. In at least one embodiment, such infor- mation can be stored at any suitable storage device 153 accessible by data server 118, and can come from any suitable source, such as from client device 106 itself, content provider(s) 124, data provider(s) 122, and/ or the like.

[0083] Referring now to Fig. 1C, there is shown a system 180 according to an alternative embodiment wherein system 180 is implemented in a stand- alone environment. As with the embodiment shown in Fig. IB, at least some of the card data 154, user data 155, and highlight data 164 may be stored at a client-based storage device 158, such as a DVR or the like. Alternatively, cli ent-based storage device 158 can be flash memory or a hard drive, or other device integrated with client device 106 or communicatively coupled with cli ent device 106.

[0084] User data 155 may include preferences and interests of user 150. Based on such user data 155, system 180 may extract metadata within card data 154 to present to user 150 in the manner described herein. Additionally or alternatively, metadata may be extracted based on objective criteria that are not based on information specific to user 150.

[0085] Referring now to Fig. ID, there is shown an overview of a sys- tem 190 with architecture according to an alternative embodiment. In Fig. ID, system 190 includes a broadcast service such as content provider(s) 124, a con- tent receiver in the form of client device 106 such as a television set with a STB, a video server such as analytical server(s) 116 capable of ingesting and streaming television programming content, and/ or other client devices 106 such as a mobile device and a laptop, which are capable of receiving and processing television programming content, all connected via a network such as communications network 104. A client-based storage device 158, such as a DVR, may be connected to any of client devices 106 and/ or other compo- nents, and may store a video stream, highlights, highlight identifiers, and/ or metadata to facilitate identification and presentation of highlights and/ or ex- tracted metadata via any of client devices 106.

[0086] The specific hardware architectures depicted in Figs. 1A, IB, 1C, and ID are merely exemplary. One skilled in the art will recognize that the techniques described herein can be implemented using other architectures. Many components depicted therein are optional and may be omitted, con- solidated with other components, and/ or replaced with other components.

[0087] In at least one embodiment, the system can be implemented as software written in any suitable computer programming language, whether in a standalone or client/ server architecture. Alternatively, it may be imple- mented and/ or embedded in hardware.

Data Structures

[0088] Fig. 2 is a schematic block diagram depicting examples of data structures that may be incorporated into card data 154, user data 155, and highlight data 164, according to one embodiment.

[0089] As shown, card data 154 may include a record for each of a plu- rality of broadcast networks 202. For example, for each of the broadcast net- works 202, card data 154 may include a predetermined card location 203 at which the broadcast network typically displays card images within a video frame. The predetermined card locations may, for example, be represented as coordinates (such as Cartesian coordinates) identifying opposite corners of the location, identifying the center, height, and width, and/ or otherwise iden- tifying the location and/ or size of the card image.

[0090] Further, card data 154 may include one or more video frame re- gions 204 that have been, or are to be, analyzed for card image extraction and interpretation. Each video frame region 204 may be extracted from a video frame of the video stream.

[0091] For each video frame region 204, card data 154 may also include one or more processed video frame regions 206, which may be generated by modifying video frame region 204 in a manner that facilitates identification and/ or extraction of a card image 207. For example, processed video frame regions 206 may include one or more cropped, re-colored, segmented, aug- mented, or otherwise modified versions of each video frame region 204.

[0092] Each video frame region 204 may also have a card image 207 that has been identified within and/ or extracted from video frame region 204. Each card image 207 may contain text that can be interpreted to provide metadata related to a specific time in a video stream.

[0093] Card data 154 may also include one or more interpretations 208 for each video frame region 204. Each interpretation 208 may be the specific text believed to be represented in associated card image 207 after some analy- sis has been performed to recognize and interpret characters appearing in card image 207. Interpretation 208 may be used to obtain the metadata from card image 207.

[0094] As further shown, user data 155 may include records pertaining to users 150, each of which may include demographic data 212, preferences 214, viewing history 216, and purchase history 218 for a particular user 150.

[0095] Demographic data 212 may include any type of demographic data, including but not limited to age, gender, location, nationality, religious affiliation, education level, and/ or the like.

[0096] Preferences 214 may include selections made by user 150 regard- ing his or her preferences. Preferences 214 may relate directly to highlight and metadata gathering and/ or viewing, or may be more general in nature. In either case, preferences 214 may be used to facilitate identification and/ or presentation of the highlights and metadata to user 150.

[0097] Viewing history 216 may list the television programs, video streams, highlights, web pages, search queries, sporting events, and/ or other content retrieved and/ or viewed by user 150.

[0098] Purchase history 218 may list products or services purchased or requested by user 150.

[0099] As further shown, highlight data 164 may include records for j highlights 220, each of which may include a video stream 222, an identifier, and/ or metadata 224 for a particular highlight 220.

[0100] Video stream 222 may include video depicting highlight 220, which may be obtained from one or more video streams of one or more events (for example, by cropping the video stream to include only video stream 222 pertaining to highlight 220). Identifier 223 may include time codes and/ or other indicia that indicate where highlight 220 resides within the video stream of the event from which it is obtained.

[0101] In some embodiments, the record for each of highlights 220 may contain only one of video stream 222 and identifier 223. Highlight playback may be carried out by playing video stream 222 for user 150, or by using iden- tifier 223 to play only the highlighted portion of the video stream for the event from which highlight 220 is obtained.

[0102] Metadata 224 may include information about highlight 220, such as the event date, season, and groups or individuals involved in the event or the video stream from which highlight 220 was obtained, such as teams, play- ers, coaches, anchors, broadcasters, and fans, and/ or the like. Among other information, metadata 224 for each highlight 220 may include a time 225, phase 226, clock 227, score 228, and/ or frame number 229.

[0103] Time 225 may be a time, within video stream 222, from which highlight 220 is obtained, or within video stream 222 pertaining to highlight 220, at which metadata is available. In some examples, time 225 may be the playback time, within video stream 222, pertaining to highlight 220, at which a card image 207 is displayed containing metadata 224.

[0104] Phase 226 may be the phase of the event pertaining to highlight

220. More particularly, phase 226 may be the stage of a sporting event at which card image 207 is displayed containing metadata 224. For example, phase 226 may be "third quarter," "second inning," "bottom half," or the like.

[0105] Clock 227 may be the game clock pertaining to highlight 220. More particularly, clock 227 may be state of the game clock at the time card image 207 is displayed containing metadata 224. For example, clock 227 may be "15:47" for a card image 207 displayed with fifteen minutes and forty- seven seconds displayed on the game clock.

[0106] Score 228 may be the game score pertaining to highlight 220.

More particularly, score 228 may be the score when card image 207 is dis- played containing metadata 224. For example, score 228 may be "45-38," "7- 0," "30-love," or the like.

[0107] Frame number 229 may be the number of the video frame, within the video stream from which highlight 220 is obtained, or video stream 222 pertaining to highlight 220, that relates most directly to highlight 220. More particularly, frame number 229 may be the number of such a video frame at which card image 207 is displayed containing metadata 224.

[0108] The data structures set forth in Fig. 2 are merely exemplary.

Those of skill in the art will recognize that some of the data of Fig. 2 may be omitted or replaced with other data in the performance of highlight identifica- tion and/ or metadata extraction. Additionally or alternatively, data not shown in Fig. 2 may be used in the performance of highlight identification and/ or metadata extraction.

Card Images

[0109] Referring now to Fig. 3 A, there is shown a screenshot diagram of an example of a video frame 300 from a video stream with embedded in- formation in the form of card images 207, as may frequently appear in sport- ing event television programming. Fig. 3A depicts a card image 207 in the lower right-hand side of video frame 300, and a second card image 320 ex- tending along the bottom of video frame 300. Card images 207, 320 may con- tain embedded information such as the game phase, current clocks, and cur- rent scores.

[0110] In at least one embodiment, the information in card images 207,

320 is localized and processed for automatic recognition and interpretation of embedded text in card images 207, 320. The interpreted text may then be as- sembled into textual metadata describing the status of the sporting game at particular point of time within the sporting event timeline.

[0111] Notably, card image 207 may pertain to the sporting event cur- rently being shown, while second card image 320 may contain information for a different sporting event. In some embodiments, only card images contain- ing information deemed to be pertinent to the currently playing sporting event is processed for metadata generation. Thus, without limiting scope, the exemplary description below assumes that only card image 207 will be proc- essed. However, in alternative embodiments, it may be desirable to process multiple card images in a given video frame 300, even including card images pertaining to other sporting events.

[0112] As shown in Fig. 3A, card image 207 can provide several differ- ent types of metadata 224, including team names 330, scores 340, prior team performance 350, a current game stage 360, a game clock 370, a play status 380, and/ or other information 390. Each of these may be extracted from within card image 207 and interpreted to provide metadata 224 correspond- ing to highlight 220 containing video frame 300, and more particularly, to video frame 300 in which card image 207 is displayed.

[0113] Fig. 3B is a series of screenshot diagrams depicting additional examples of video frames 392, 394, 396, 398 with embedded card images 393, 395, 397, 399, respectively, so as to illustrate additional examples of positions of embedded card images in sports television programming. Different televi- sion networks may have different types, shapes, and frame positions of such card images embedded in video frames of sporting event television pro- gramming content.

Card Image Localization and Extraction

[0114] Fig. 4 is a flowchart depicting a method 400 carried out by an application (for example, running on one of client devices 106 and/ or analyti- cal servers 116) that receives a video stream 222 and performs on-the-fly proc- essing of video frames 300 for localization and extraction of card images 207 and associated metadata, such as card image 207 of Fig. 3 and its associated game status information, according to one embodiment. System 100 of Fig.

1 A will be referenced as the system performing method 400 and those that fol- low; however, alternative systems, including but not limited to system 160 of Fig. IB, system 180 of Fig. 1C, and system 190 of Fig. ID, may be used in place of system 100 of Fig. 1 A.

[0115] Method 400 of Fig. 4 may include receiving a video stream 222.

In a step 410, one or more video frames 300 of video stream 222 may be read and decoded, for example, by resizing video frames 300 to a standard size. In a query 420, a step 430, a step 440, and/ or a query 450, video frames 300 may be processed for in-frame card image localization. In a step 460, a detected card image 207 may be processed to extract information by reading and inter- preting card image 207. Metadata 224 may be generated based in the infor- mation extracted from card image 207.

[0116] In at least one embodiment, the detection of one or more card images 207 present in a decoded video frame 300 is performed by analyzing a single predetermined frame area. Alternatively, such detection can be per- formed by analyzing multiple predetermined frame areas, if the approximate location of a card image 207 in decoded video frame 300 is not known in ad- vance. Thus, query 420 may determine whether the position of card image 207, within video frame 300, is known. For example, some broadcasting net- works may always show a card image 207 in the same position within video frame 300. If the broadcasting network is known, the position of card image 207 may also be known. In the alternative, the position of card image 207 within video frame 300 may not be known, and may need to be ascertained by system 100.

[0117] Pursuant to query 420, if the position of card image 207, within video frame 300, is known, method 400 may proceed to step 430 in which the known portion, or video frame region, may be processed to isolate the quadri- lateral shape typically associated with a card image 207. If the position of the card image 207, within video frame 300, is not known, method 400 may pro- ceed to step 440, in which video frame 300 is divided into a plurality of re- gions, which may be predetermined regions of video frame 300. The regions of video frame 300 are sequentially analyzed to determine which of the re- gions contains a card image similar to card images 207, 395, 397, and/ or 399.

[0118] For example, the particular region(s) of video frame 300 contain- ing card image 207 may be known for each of a variety of broadcasting net- works. If the broadcasting network is not known, system 100 may sequen- tially proceed through each region of video frame 300 known to be used by a broadcasting network for display of card image 207, until card image 207 is located in one of the regions.

[0119] Pursuant to query 450, if card image 207 has been located, method 400 may proceed to step 460 in which card image 207 is processed and information is extracted from card image 207 to provide metadata 224. If, pursuant to query 450, card image 207 has not been located, method 400 may return to step 410, in which a new video frame may be loaded, decoded, and then analyzed for presence of a card image 207.

[0120] As mentioned previously, method 400 may, in some embodi- ments, be carried out in real-time, while user 150 is viewing the program (for example, while a video stream 222 corresponding to a highlight 220 is being presented). Thus, method 400 may be carried out in the background for each video frame 300 as video frame 300 is being decoded for playback for user 150. There may be some delay as system 100 localizes, extracts, and interprets card images 207. Thus, in this application, presenting metadata extracted from card images 207 is considered to be in "real-time" even if presentation of metadata 224 lags behind playback of video frame 300 from which it was ob- tained (for example, by a few video frames 300 amounting to a delay that is not perceptible or not distracting to user 150).

[0121] Fig. 5 is a flowchart depicting step 440 for processing of prede- termined regions of a video frame 300 for detection of a viable card image 207, from Fig. 4, in greater detail. Each of the predetermined regions may present an approximate location where card image 207 may reside.

[0122] In at least one embodiment, the predetermined regions in de- coded video frames 300 are generated based on the knowledge of approxi- mate positions of card images 207 used by various television networks en gaged in broadcasting of sporting event television programs, as indicated previously. Such television networks may be known to use one or more re- gions of video frame 300 for delivering in-frame visual and textual data via card images 207.

[0123] In a step 510, sequential processing of the regions may com mence. In a step 520, one of the regions may be processed to ascertain whether a valid card image 207 is present in the region. A query 530 may de- termine whether a card image 207 has been found in the region. If so, the re- gion may be further processed to extract card image 207. Localized card im age 207 may be further processed for automatic recognition and interpretation of embedded text. Such interpreted text can then be further assembled into textual metadata describing the status of the sporting event (such as a game) at particular points of time on the sporting event timeline. In at least one em bodiment, the available choices for text rendering are based on the type of card image 207 that has been detected in video frame 300, which may be de- termined by system 100 during localization and/ or extraction of card image 207. Additionally or alternatively, the available choices for text rendering may be based on pre-assigned meanings of selected fields present within the particular type of card image 207 that has been detected. [0124] If no card image 207 has been found in the region, a query 550 may ascertain whether the region is the last region in video frame 300. If not, system 100 may proceed, in a step 560, to the next region, and then repeat processing per step 520 for the next region. If the region is the last region in video frame 300, then video frame 300 may not contain a valid card image 207, and system 100 may proceed to next video frame 300.

Automatic Detection and Localization of Card Image Quadrilaterals

[0125] Fig. 6 is a flowchart depicting a method 600 for top-level proc- essing for valid card image quadrilateral detection in designated areas of de- coded video frames 300, according to one embodiment. Method 600 may be performed on a video frame region at a predetermined location, pursuant to step 430 of Fig. 4, or to a video frame region that was identified via sequential processing of multiple regions of video frame 300 pursuant to step 440 of Figs. 4 and 5.

[0126] First, in a step 610, a decoded video frame 300 may be cropped to a smaller area containing the designated video frame region, providing a cropped image. In a step 620, the cropped image may be segmented using any suitable segmentation algorithm, such as graph-based segmentation (e.g. "Efficient Graph-Based Image Segmentation, P. Felzenszwalb,

D. Huttenlocher, Int. Journal of Computer Vision, 2004, Vol. 59), and all gen- erated segments may be color-coded and enumerated, providing a segmented image. Further processing of the segmented image may include removing background material surrounding a possible quadrilateral defining a card im age 207. In at least one embodiment, method 600 may proceed to a step 630 in which all pixels of segments adjacent to the boundaries of the segmented cropped image are set to a black level. In a step 640, all pixels of the remain- ing inner segments of the segmented cropped image are set to a white level.

In a step 650, the two-colored cropped image with partially removed back- ground may be passed along for further processing for precise card image quadrilateral delineation. [0127] Fig. 7 is a flowchart depicting a method 700 for more precise card image quadrilateral determination, according to one embodiment. First, in a step 710, the cropped image with partially removed background (for ex- ample, generated in step 640 of Fig. 6) is converted to a gray image. It may then be blurred and, in a step 720, subjected to an edge detection process to generate an edge image with detected edges. Next, in a step 730, the edge im age may be processed for contour detection, and the resulting contour image may further be processed to approximate contours with closed polygons. Subsequently, in a step 740, the contour/ polygon image may be processed to determine the minimum rectangular perimeter enclosing all present contours. The above steps may generate a rectangular enclosure potentially containing a card image 207. However, this enclosure may be larger than the card image quadrilateral due to artifacts generated during the process of cropped image segmentation. Therefore, in at least one embodiment, further adjustments are performed to squeeze this intermediate rectangular shape to the minimum rectangular area containing card image 207.

[0128] Fig. 8 is a flowchart depicting an exemplary method 800 for ad- justing quadrilateral boundaries of the enclosure encompassing all detected contours (for example, generated by step 740 of Fig. 7), according to one em bodiment. The enclosure may enclose the inner area such that a great major- ity of perimeter pixels of the squeezed new enclosure are of identical pixel in- tensity (such as white color in this particular example). Method 800 may re- move any undesirable inner-area artifacts extending outward, thus providing a new, tighter enclosure that may contain a valid card image 207.

[0129] The method of Fig. 8 may begin with a step 810, in which the contour perimeter is received. The contour perimeter may be a rectangular image. In a step 820, system 100 may "walk" around the boundaries of the rectangular enclosure image encompassing all detected contours (or the quad- rilateral image), and in a step 830, count black level valued pixels for each boundary edge: top, bottom, left, and right. Next, in a step 840, if any bound- ary edge contains more black-valued pixels than a predetermined count, that edge is moved inward by one pixel, providing an adjusted quadrilateral area 850. This process continues until a query 860 determines that the black- valued pixel count for all edges of the squeezed quadrilateral falls below a predetermined threshold. The resulting squeezed rectangle represents a po- tential card image enclosure, which may be validated in the processing steps described in connection with the flowchart of Fig. 9.

[0130] Fig. 9 is a flowchart depicting an exemplary method 900 for card image quadrilateral validation, according to one embodiment. Method 900 may involve analysis of the area (the pixel count) of three different images: the cropped image area (for example, generated in step 610 of Fig. 6), the area of the rectangular enclosure image encompassing all detected contours (for example, generated in step 740 of Fig. 7), and the area of the image with ad- justed (squeezed) quadrilateral boundaries (for example, generated in one or more iterations of step 840 of Fig. 8). Three parameters (A, B, C) may be gen- erated in a step 910, a step 920, and a step 930, respectively, as follows:

• A = total pixel count in the cropped image area;

• B = total pixel count in the contour perimeter binary image;

• C = black-valued pixel count in the adjusted contour perimeter bi- nary image.

[0131] Next, in a step 940, a weighted comparison of these three pa- rameters may be performed, such that if a viable card image quadrilateral is to be detected, the squeezed quadrilateral none-black valued pixel area stands in a particular proportion with respect to the other two parameters. In a step 950, based on the above weighted comparison, if a valid card image 207 has been detected, a flag is set to true. Pursuant to a query 960, if the flag is set to true, system 100 may proceed to a step 970 in which card image 207 (and/ or a processed version of card image 207) is passed to card image internal content processing. In step 950, if a valid card image 207 has not been detected, the flag is set to false, and pursuant to query 960, system 100 may proceed, in a step 980, to the next designated frame region to search for a viable card image 207 therein, or to next video frame 300.

[0132] Fig. 10 is a flowchart depicting an exemplary method 1000 for optional stabilization of the left (or any other) boundary for very elongated card image shapes, according to one embodiment. The process may com mence with a step 1010 in which system 100 extends a horizontal card image 207 to the cropped frame edges. In a step 1020, system 100 may detect straight vertical lines in this extended image. The process may further in volve, in a step 1030, selecting detected vertical lines of predetermined length and computing selected sparse vertical line markers. Finally, in a step 1040, a marker (if any is found in the immediate proximity) left of the original posi- tion of card image 207 is selected, and in a step 1050 the quadrilateral left edge is moved to the position of the marker residing further to the left of the origi- nal edge position of the detected card image quadrilateral. In a step 1060, the card image quadrilateral is adjusted accordingly, and the updated region of interest (ROI) for the card is returned.

Card Image Internal Processing for Information Extraction

[0133] In at least one embodiment, an automated process is performed, including receiving a digital video stream (which may include one or more highlights of a broadcast sporting event), analyzing one or more video frames of the digital video stream for the presence of card images 207, extracting card image 207, localizing text boxes within card image 207, and interpreting text residing within the text boxes to create metadata 224 associating content from card image 207 with video highlights of the analyzed digital video stream.

[0134] Fig. 11 is a flowchart depicting a method 1100 for performing text extraction from card images 207, according to one embodiment. In a step 1110, an extracted card image 207 may be resized to a standard size. Next, in a step 1120, resized card image 207 may be pre-processed using a chain of fil ters, including for example: contrast increase, bilateral and median filtering for noise reduction, and gamma correction followed by illumination compen- sation. In at least one embodiment, in a step 1130, an "Extremal Region Fil ter" with 2-stage classifiers is created (e.g., L. Neumann, J. Matas, "Real-Time Scene Text Localization and Recognition", 5th IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, June 2012), and in a step 1140, a cascade classifier is applied to each image channel of card image 207. Next, in a step 1150, character groups are detected, and groups of word boxes are extracted.

[0135] In at least one embodiment, a plurality of text strings (text boxes) are identified within card image 207, and the location and size of each character in the string of characters associated with said text boxes is detected. Next, text strings from various fields of card image 207 are processed and in terpreted, and corresponding metadata 224 are generated, thus providing real-time information related to the current sporting event television program, and the current timeline associated with processed embedded card images 207.

[0136] Fig. 12 is a flowchart depicting a method 1200 for performing text string processing and interpretation, according to one embodiment. In a step 1210, detected and extracted card image 207 may be processed, and the text to be interpreted may be selected from a group of character bounding boxes in card image 207. Next, in a step 1220, text may be extracted and the extracted text may be read and interpreted, for example, via Optical Character Recognition (e. g., "An Overview of the Tesseract OCR Engine", R. Smith, Proceedings ICDAR Ό7, Vol. 02, Sept. 2007.). In a step 1230, metadata 224 may be generated and structured. The in-frame information from card image 207 is then combined with video highlight textual and visual metadata.

[0137] The present system and method have been described in particu- lar detail with respect to possible embodiments. Those of skill in the art will appreciate that the system and method may be practiced in other embodi- ments. First, the particular naming of the components, capitalization of terms, the attributes, data structures, or any other programming or structural aspect is not mandatory or significant, and the mechanisms and/ or features may have different names, formats, or protocols. Further, the system may be im plemented via a combination of hardware and software, or entirely in hard- ware elements, or entirely in software elements. Also, the particular division of functionality between the various system components described herein is merely exemplary, and not mandatory; functions performed by a single sys- tem component may instead be performed by multiple components, and func- tions performed by multiple components may instead be performed by a sin- gle component.

[0138] Reference in the specification to "one embodiment" or to "an embodiment" means that a particular feature, structure, or characteristic de- scribed in connection with the embodiments is included in at least one em bodiment. The appearances of the phrases "in one embodiment" or "in at least one embodiment" in various places in the specification are not necessar- ily all referring to the same embodiment.

[0139] Various embodiments may include any number of systems and/ or methods for performing the above-described techniques, either singly or in any combination. Another embodiment includes a computer program product comprising a non-tiansitory computer-readable storage medium and computer program code, encoded on the medium, for causing a processor in a computing device or other electronic device to perform the above-described techniques.

[0140] Some portions of the above are presented in terms of algorithms and symbolic representations of operations on data bits within the memory of a computing device. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps (in structions) leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic or optical signals capable of being stored, transferred, combined, compared and otherwise manipulated.

It is convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Furthermore, it is also convenient at times, to refer to certain ar rangements of steps requiring physical manipulations of physical quantities as modules or code devices, without loss of generality.

[0141] It should be borne in mind, however, that all of these and simi- lar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as " process- in g" or "computing" or "calculating" or "displaying" or "determining" or the like, refer to the action and processes of a computer system, or similar elec- tronic computing module and/ or device, that manipulates and transforms data represented as physical (electronic) quantities within the computer sys- tem memories or registers or other such information storage, transmission or display devices.

[0142] Certain aspects include process steps and instructions described herein in the form of an algorithm. It should be noted that the process steps and instructions can be embodied in software, firmware and/ or hardware, and when embodied in software, can be downloaded to reside on and be op- erated from different platforms used by a variety of operating systems.

[0143] The present document also relates to an apparatus for perform- ing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computing device selectively activated or reconfigured by a computer program stored in the computing device. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk in cluding floppy disks, optical disks, CD-ROMs, DVD-ROMs, magnetic -optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, flash memory, solid state drives, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. The program and its associated data may also be hosted and run remotely, for example on a server. Further, the computing devices referred to herein may include a single processor or may be architectures employing multiple processor designs for increased computing capability.

[0144] The algorithms and displays presented herein are not inherently related to any particular computing device, virtualized system, or other appa- ratus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The re- quired structure for a variety of these systems will be apparent from the de- scription provided herein. In addition, the system and method are not de- scribed with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to imple- ment the teachings described herein, and any references above to specific lan- guages are provided for disclosure of enablement and best mode.

[0145] Accordingly, various embodiments include software, hardware, and/ or other elements for controlling a computer system, computing device, or other electronic device, or any combination or plurality thereof. Such an electronic device can include, for example, a processor, an input device (such as a keyboard, mouse, touchpad, track pad, joystick, trackball, microphone, and/ or any combination thereof), an output device (such as a screen, speaker, and/ or the like), memory, long-term storage (such as magnetic storage, opti- cal storage, and/ or the like), and/ or network connectivity, according to tech- niques that are well known in the art. Such an electronic device may be port- able or non-portable. Examples of electronic devices that may be used for implementing the described system and method include: a desktop computer, laptop computer, television, smartphone, tablet, music player, audio device, kiosk, set-top box, game system, wearable device, consumer electronic device, server computer, and/ or the like. An electronic device may use any opera t- ing system such as, for example and without limitation: Linux; Microsoft Windows, available from Microsoft Corporation of Redmond, Washington; Mac OS X, available from Apple Inc. of Cupertino, California; iOS, available from Apple Inc. of Cupertino, California; Android, available from Google, Inc. of Mountain View, California; and/ or any other operating system that is adapted for use on the device.

[0146] While a limited number of embodiments have been described herein, those skilled in the art, having benefit of the above description, will appreciate that other embodiments may be devised. In addition, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the subject matter. Accordingly, the disclosure is in- tended to be illustrative, but not limiting, of scope.