KR102248456B1 - Method and apparatus for highlight extraction of sports game - Google Patents

Method and apparatus for highlight extraction of sports game Download PDF

Info

Publication number
KR102248456B1
KR102248456B1 KR1020200093406A KR20200093406A KR102248456B1 KR 102248456 B1 KR102248456 B1 KR 102248456B1 KR 1020200093406 A KR1020200093406 A KR 1020200093406A KR 20200093406 A KR20200093406 A KR 20200093406A KR 102248456 B1 KR102248456 B1 KR 102248456B1
Authority
KR
South Korea
Prior art keywords
video
frame
highlight
relay board
keyword
Prior art date
Application number
KR1020200093406A
Other languages
Korean (ko)
Other versions
KR20200095437A (en
Inventor
이영현
정현조
Original Assignee
주식회사 엔씨소프트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 엔씨소프트 filed Critical 주식회사 엔씨소프트
Priority to KR1020200093406A priority Critical patent/KR102248456B1/en
Publication of KR20200095437A publication Critical patent/KR20200095437A/en
Application granted granted Critical
Publication of KR102248456B1 publication Critical patent/KR102248456B1/en

Links

Images

Classifications

    • G06K9/00744
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • G06K9/00718
    • G06K9/4642
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

스포츠 경기를 포함하는 동영상에서 하이라이트를 자동으로 추출하는 하이라이트 추출 방법일 수 있다. 이때, 하이라이트 추출 방법은, 스포츠 경기를 포함하는 동영상, 상기 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 상기 동영상에 관련된 키워드를 식별하는 동작; 상기 동영상과 관련된 경기 정보를 상기 동영상에 태깅하는 동작; 상기 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 상기 태깅된 동영상으로부터 상기 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정하는 동작; 및 상기 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성하는 동작을 포함할 수 있다. It may be a highlight extraction method for automatically extracting highlights from a video including a sports event. In this case, the highlight extraction method includes: identifying a video including a sports event, log information sequentially recording an event occurring in the sports event, and a keyword related to the video; Tagging game information related to the video to the video; Extracting at least one log information corresponding to the keyword and determining at least one frame corresponding to the extracted log information from the tagged video; And generating a highlight video by combining the determined at least one frame.

Description

스포츠 경기의 하이라이트 추출 방법 및 장치{METHOD AND APPARATUS FOR HIGHLIGHT EXTRACTION OF SPORTS GAME}Method and apparatus for extracting highlights of sports events {METHOD AND APPARATUS FOR HIGHLIGHT EXTRACTION OF SPORTS GAME}

아래 설명은 스포츠 경기의 하이라이트 추출 방법 및 장치에 관한 것이다.The following description relates to a method and apparatus for extracting highlights of a sports event.

사용자 또는 전문가가 직접 동영상을 보면서 프레임의 분할 시작점과 종료점을 지정하여, 스포츠 경기의 하이라이트 동영상을 생성할 수 있다. 이와 같은, 수작업에 의할 경우, 다량의 동영상에서 하이라이트 동영상을 생성하는데 시간적, 비용적 소모가 발생한다. 따라서, 수작업이 아닌 자동으로 스포츠 경기의 하이라이트 동영상을 생성하는 하이라이트 추출 방법이 필요하다.A user or an expert can create a highlight video of a sports event by designating a starting point and an ending point of the frame while watching the video. In the case of such a manual operation, time and cost are consumed in generating a highlight video from a large amount of video. Therefore, there is a need for a highlight extraction method that automatically generates a highlight video of a sports event instead of manually.

일 측면에 따르면, 하이라이트 추출 방법은 스포츠 경기를 포함하는 동영상, 상기 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 상기 동영상에 관련된 키워드를 식별하는 동작; 상기 동영상과 관련된 경기 정보를 상기 동영상에 태깅하는 동작; 상기 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 상기 태깅된 동영상으로부터 상기 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정하는 동작; 및 상기 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성하는 동작를 포함할 수 있다. According to an aspect, a method for extracting highlights includes an operation of identifying a video including a sports event, log information sequentially recording an event occurring in the sports event, and a keyword related to the video; Tagging game information related to the video to the video; Extracting at least one log information corresponding to the keyword and determining at least one frame corresponding to the extracted log information from the tagged video; And generating a highlight video by combining the determined at least one frame.

상기 하이라이트 추출 방법에서 상기 하이라이트 동영상을 생성하는 동작은, 상기 키워드가 하나인 경우, 단일 키워드에 대응하는 하나의 하이라이트 동영상을 생성하거나, 또는 상기 키워드가 복수인 경우, 복수 키워드에 대응하는 적어도 하나의 하이라이트 동영상을 조합하여 하이라이트 동영상을 생성할 수 있다.The operation of generating the highlight video in the highlight extraction method may include generating one highlight video corresponding to a single keyword when the keyword is one, or at least one highlight video corresponding to a plurality of keywords when the keyword is plural. You can create a highlight video by combining the highlight video.

상기 하이라이트 추출 방법에서 상기 동영상에 태깅하는 동작은, 중계판이 상기 동영상에 표시된 경우, 상기 중계판에 나타난 경기 정보를 인식하여, 상기 경기 정보를 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 중계판이 상기 동영상에 표시되지 않은 경우, 상기 중계판에 대응하는 상기 경기 정보가 존재하지 않음을, 상기 동영상의 대응하는 프레임에 태깅하는 것을 포함할 수 있다.In the highlight extraction method, the tagging of the video includes: when the relay board is displayed on the video, the game information displayed on the relay board is recognized, and the game information is tagged to a corresponding frame of the video, or the relay board When not displayed on the video, tagging that the game information corresponding to the relay board does not exist in the corresponding frame of the video may be included.

상기 하이라이트 추출 방법은 상기 동영상에서 미리 설정된 영역에 표시된 상기 중계판으로부터 특징을 추출하고, 사전에 학습된 데이터를 이용하여 상기 추출된 특징을 분류하는 동작을 더 포함할 수 있다. The highlight extraction method may further include an operation of extracting a feature from the relay board displayed in a preset area in the video, and classifying the extracted feature using previously learned data.

상기 하이라이트 추출 방법에서 상기 중계판에 나타난 경기 정보는, 점수, 볼 카운트, 이닝을 포함할 수 있다. In the highlight extraction method, game information displayed on the relay board may include a score, a ball count, and an inning.

상기 하이라이트 추출 방법에서 상기 중계판에 나타난 경기 정보가 주자 상황을 더 포함하는 경우, 상기 주자 상황이 상기 동영상의 대응하는 프레임에 태깅되며, 상기 중계판에 나타난 경기 정보가 투구수를 더 포함하는 경우, 상기 투구수가 상기 동영상의 대응하는 프레임에 태깅될 수 있다. In the highlight extraction method, when the game information displayed on the relay board further includes a runner situation, the runner situation is tagged to a corresponding frame of the video, and the game information displayed on the relay board further includes the number of pitches. , The pitched number may be tagged to a corresponding frame of the video.

상기 하이라이트 추출 방법에서 상기 동영상에 태깅하는 동작은, 장면 전환을 검출하여 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 일정한 기준에 따라 장면 인식하여 상기 동영상의 대응하는 프레임에 태깅하는 것을 포함할 수 있다. In the highlight extraction method, the tagging of the video may include detecting a scene change and tagging a corresponding frame of the video, or recognizing a scene according to a certain criterion and tagging a corresponding frame of the video. .

상기 하이라이트 추출 방법에서 상기 장면 전환은, RGB를 HSV로 변환하고, 상기 HSV의 히스토그램 차이를 이용하여 검출될 수 있다. In the highlight extraction method, the scene change may be detected by converting RGB to HSV and using a histogram difference of the HSV.

상기 하이라이트 추출 방법에서 상기 장면 전환은, 상기 HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정하고, 상기 결정된 히스토그램 차이와 미리 설정된 기준을 비교하여 판단될 수 있다.In the highlight extraction method, the scene change may be determined by determining a histogram difference between a previous frame and a current frame for each channel of the HSV, and comparing the determined histogram difference with a preset reference.

상기 하이라이트 추출 방법에서 상기 장면 인식은, 하이라이트 추출 장치에 의해 설정된 일정한 기준 중에서, 해당 프레임이 매칭되는 기준으로 설정될 수 있다. In the highlight extraction method, the scene recognition may be set as a reference to which a corresponding frame is matched from among certain criteria set by the highlight extraction device.

상기 하이라이트 추출 방법에서 상기 적어도 하나의 프레임은, 상기 키워드에 포함된 상황에 대응하는 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임까지 포함할 수 있다.In the highlight extraction method, the at least one frame may include a start frame of a target pitch number-1 corresponding to a situation included in the keyword to a last frame of the target pitch number.

상기 하이라이트 추출 방법은 상기 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임 중에서, 상기 키워드에 대응하지 않는 프레임은 제외되는 동작을 더 포함할 수 있다. The highlight extraction method may further include an operation of excluding a frame that does not correspond to the keyword from the start frame of the target pitch number-1 to the last frame of the target pitch number.

일 측면에 따르면, 프로세서 및 컴퓨터에서 읽을 수 있는 명령어를 포함하는 메모리를 포함하고, 상기 명령어가 상기 프로세서에서 실행되면, 상기 프로세서는 스포츠 경기를 포함하는 동영상, 상기 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 상기 동영상에 관련된 키워드를 식별하고, 상기 동영상과 관련된 경기 정보를 상기 동영상에 태깅하고, 상기 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 상기 태깅된 동영상으로부터 상기 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정하며, 상기 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성하는, 하이라이트 추출 장치일 수 있다.According to an aspect, it includes a processor and a memory including a computer-readable instruction, and when the instruction is executed by the processor, the processor sequentially records a video including a sports event and an event occurring in the sports event. Identify log information and a keyword related to the video, tag game information related to the video to the video, extract at least one log information corresponding to the keyword, and extract log information from the tagged video It may be a highlight extraction device that determines at least one corresponding frame and combines the determined at least one frame to generate a highlight video.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 하이라이트 동영상을 생성할 때, 상기 키워드가 하나인 경우 단일 키워드에 대응하는 하나의 하이라이트 동영상을 생성하거나, 또는 상기 키워드가 복수인 경우 복수 키워드에 대응하는 적어도 하나의 하이라이트 동영상을 조합하여 하이라이트 동영상을 생성할 수 있다. When generating the highlight video, the processor of the highlight extraction device generates one highlight video corresponding to a single keyword when the keyword is one, or at least one corresponding to a plurality of keywords when the keyword is plural. You can create a highlight video by combining the highlight videos of.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 동영상에 태깅할 때, 중계판이 상기 동영상에 표시된 경우 상기 중계판에 나타난 경기 정보를 인식하여 상기 경기 정보를 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 중계판이 상기 동영상에 표시되지 않은 경우 상기 중계판에 대응하는 상기 경기 정보가 존재하지 않음을 상기 동영상의 대응하는 프레임에 태깅할 수 있다. When tagging the video, the processor of the highlight extraction device recognizes game information displayed on the relay board when the relay board is displayed on the video, and tags the game information to a corresponding frame of the video, or When the video is not displayed, it is possible to tag the corresponding frame of the video that the game information corresponding to the relay board does not exist.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 동영상에서 미리 설정된 영역에 표시된 상기 중계판으로부터 특징을 추출하고, 사전에 학습된 데이터를 이용하여 상기 추출된 특징을 분류할 수 있다. The processor of the highlight extraction device may extract a feature from the relay board displayed in a preset area in the video, and classify the extracted feature using previously learned data.

상기 하이라이트 추출 장치에서 상기 중계판에 나타난 경기 정보는, 점수, 볼 카운트, 이닝을 포함할 수 있다. The game information displayed on the relay board in the highlight extraction device may include a score, a ball count, and an inning.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 중계판에 나타난 경기 정보가 주자 상황을 더 포함하는 경우 상기 주자 상황을 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 상기 중계판에 나타난 경기 정보가 투구수를 더 포함하는 경우 상기 투구수를 상기 동영상의 대응하는 프레임에 태깅할 수 있다.The processor of the highlight extraction device may tag the runner situation to a corresponding frame of the video when the game information displayed on the relay board further includes a runner situation, or the game information displayed on the relay board indicates the number of pitches. If further included, the number of pitches may be tagged to a corresponding frame of the video.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 동영상에 태깅할 때, 장면 전환을 검출하여 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 일정한 기준에 따라 장면 인식하여 상기 동영상의 대응하는 프레임에 태깅할 수 있다.When tagging the video, the processor of the highlight extraction device may detect a scene change and tag a corresponding frame of the video, or recognize a scene according to a certain criterion and tag a corresponding frame of the video. .

상기 하이라이트 추출 장치의 상기 프로세서는, RGB를 HSV로 변환하고, 상기 HSV의 히스토그램 차이를 이용하여 상기 장면 전환을 검출할 수 있다. The processor of the highlight extraction device may convert RGB to HSV and detect the scene change by using a histogram difference of the HSV.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정하고, 상기 결정된 히스토그램 차이와 미리 설정된 기준을 비교하여 상기 장면 전환 여부를 판단할 수 있다. The processor of the highlight extraction apparatus may determine a histogram difference between a previous frame and a current frame for each channel of the HSV, and compare the determined histogram difference with a preset reference to determine whether to change the scene.

상기 하이라이트 추출 장치에서 상기 장면 인식은, 하이라이트 추출 장치에 의해 설정된 일정한 기준 중에서, 해당 프레임이 매칭되는 기준으로 설정될 수 있다. The scene recognition in the highlight extraction apparatus may be set as a reference to which a corresponding frame is matched among certain criteria set by the highlight extraction apparatus.

상기 하이라이트 추출 장치에서 상기 적어도 하나의 프레임은, 상기 키워드에 포함된 상황에 대응하는 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임까지 포함할 수 있다.In the highlight extraction apparatus, the at least one frame may include a start frame of a target pitch number-1 corresponding to a situation included in the keyword to a last frame of the target pitch number.

상기 하이라이트 추출 장치의 상기 프로세서는, 상기 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임 중에서, 상기 키워드에 대응하지 않는 프레임을 제외할 수 있다.The processor of the highlight extraction apparatus may exclude a frame that does not correspond to the keyword from the start frame of the target pitch number -1 to the last frame of the target pitch number.

도 1은 일 실시예에 따른, 하이라이트 추출 장치를 나타낸 도면이다.
도 2는 일 실시예에 따른, 동영상에 경기 정보를 태깅하는 것을 나타낸 도면이다.
도 3은 일 실시예로서, 중계판이 동영상에 표시된 것과 중계판이 동영상에 표시되지 않은 것을 나타낸 도면이다.
도 4는 일 실시예에 따른, 하이라이트 추출 장치가 SVM을 적용하여 중계판을 학습하는 과정을 나타낸 도면이다.
도 5는 일 실시예에 따른, 하이라이트 추출 장치가 중계판 인식하여 경기 정보를 태깅하는 과정을 나타낸 도면이다.
도 6은 일 실시예에 따른, 하이라이트 추출 장치가 프레임으로부터 장면 전환을 검출하고, 해당 프레임의 장면 인식한 것을 나타낸 도면이다.
도 7은 일 실시예에 따른, 장면 전환 검출의 그래프를 나타낸다.
도 8은 일 실시예에 따른, 딥러닝에 기반한 장면 인식을 나타낸다.
도 9는 일 실시예에 따른, 키워드에 대응하는 로그 정보를 추출하는 과정을 나타낸다.
도 10은 일 실시예에 따른, 생성된 하이라이트 동영상을 처리하는 것을 나타낸다.
도 11은 일 실시예에 따른, 하이라이트 추출 장치가 수행하는 하이라이트 추출 방법을 나타낸다.
1 is a diagram illustrating an apparatus for extracting highlights according to an exemplary embodiment.
2 is a diagram illustrating tagging of game information on a video according to an exemplary embodiment.
3 is a diagram illustrating that a relay board is displayed on a video and a relay board is not displayed on a video according to an embodiment.
4 is a diagram illustrating a process of learning a relay board by applying an SVM by a highlight extraction apparatus according to an exemplary embodiment.
5 is a diagram illustrating a process of tagging game information by recognizing a relay board by a highlight extraction apparatus according to an exemplary embodiment.
6 is a diagram illustrating that a highlight extraction apparatus detects a scene change from a frame and recognizes a scene of a corresponding frame according to an exemplary embodiment.
7 shows a graph of scene change detection according to an embodiment.
8 illustrates scene recognition based on deep learning, according to an embodiment.
9 illustrates a process of extracting log information corresponding to a keyword according to an embodiment.
10 illustrates processing a generated highlight video according to an embodiment.
11 illustrates a highlight extraction method performed by a highlight extraction apparatus according to an exemplary embodiment.

실시예들에 대한 특정한 구조적 또는 기능적 설명들은 단지 예시를 위한 목적으로 개시된 것으로서, 다양한 형태로 변경되어 실시될 수 있다. 따라서, 실시예들은 특정한 개시형태로 한정되는 것이 아니며, 본 명세서의 범위는 기술적 사상에 포함되는 변경, 균등물, 또는 대체물을 포함한다. Specific structural or functional descriptions of the embodiments are disclosed for the purpose of illustration only, and may be changed and implemented in various forms. Accordingly, the embodiments are not limited to a specific disclosure form, and the scope of the present specification includes changes, equivalents, or substitutes included in the technical idea.

제 1 또는 제2 등의 용어를 다양한 구성요소들을 설명하는데 사용될 수 있지만, 이런 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 해석되어야 한다. 예를 들어, 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소는 제 1 구성요소로도 명명될 수 있다.Terms such as first or second may be used to describe various components, but these terms should be interpreted only for the purpose of distinguishing one component from other components. For example, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. When a component is referred to as being "connected" to another component, it is to be understood that it may be directly connected or connected to the other component, but other components may exist in the middle.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 설명된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함으로 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present specification, terms such as "comprise" or "have" are intended to designate that the described feature, number, step, action, component, part, or combination thereof is present, but one or more other features or numbers, It is to be understood that the presence or addition of steps, actions, components, parts or combinations thereof does not preclude the possibility of preliminary exclusion.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 해당 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 갖는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the relevant technical field. Terms as defined in a commonly used dictionary should be construed as having a meaning consistent with the meaning of the related technology, and should not be interpreted as an ideal or excessively formal meaning unless explicitly defined in the present specification. Does not.

이하, 본 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. Hereinafter, the present embodiment will be described in detail with reference to the accompanying drawings.

도 1은 일 실시예에 따른, 하이라이트 추출 장치를 나타낸 도면이다.1 is a diagram illustrating an apparatus for extracting highlights according to an exemplary embodiment.

하이라이트 추출 장치(100)는 스포츠 경기를 포함하는 동영상을 수신할 수 있다. 하이라이트 추출 장치(100)는 스포츠 경기를 포함하는 동영상을 방송국으로부터 수신하거나, 또는 별도의 저장 장치를 통해 식별할 수 있다. 하이라이트 추출 장치(100)는 스포츠 경기를 포함하는 동영상으로부터 특정한 조건에 부합하는 하이라이트 동영상을 생성할 수 있다. 따라서, 스포츠 경기를 포함하는 동영상에 대한 하이라이트 동영상은 수동적으로 생성되지 않고, 하이라이트 추출 장치(1000를 통해 자동적으로 생성될 수 있다. The highlight extraction device 100 may receive a video including a sports event. The highlight extraction device 100 may receive a video including a sports event from a broadcasting station or identify it through a separate storage device. The highlight extraction device 100 may generate a highlight video that meets a specific condition from a video including a sports event. Accordingly, a highlight video for a video including a sports event may not be manually generated, but may be automatically generated through the highlight extraction device 1000.

구체적으로, 하이라이트 추출 장치(100)는 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보를 식별할 수 있다. 예를 들면, 로그 정보는 문자 중계와 같이 야구 경기에서 발생한 이벤트를 순차적으로 기록한 정보로서, 이벤트가 발생한 순서에 따라 기록된 정보일 수 있다. Specifically, the highlight extraction device 100 may identify log information sequentially recording events occurring in a sports event. For example, the log information is information that sequentially records events occurring in a baseball game, such as text relay, and may be information recorded according to the order in which the events occur.

또한, 하이라이트 추출 장치(100)는 동영상과 관련된 키워드를 식별할 수 있다. 이때, 키워드는 사용자로부터 직접 입력되거나 또는 별도의 키워드 생성 모듈에 의해 생성될 수 있다. 예를 들면, 사용자가 키워드로서 나성범 30호 홈런을 입력하거나, 또는 별도의 키워드 생성 모듈이 야구 경기후 생성된 각종 포털의 기사들을 분석하여 해당 야구 경기의 키워드로서 나성범 30호 홈런을 생성할 수 있다.In addition, the highlight extraction device 100 may identify a keyword related to a video. In this case, the keyword may be directly input from the user or may be generated by a separate keyword generation module. For example, a user enters Na Seong-beom No. 30 home run as a keyword, or a separate keyword generation module analyzes articles on various portals generated after a baseball game, and generates Na Seong-beom No. 30 home run as a keyword of the baseball game. I can.

여기서, 스포츠 경기를 포함하는 동영상 및 로그 정보는 키워드에 의해 검색된 것일 수 있다. 예를 들면, 나성범 30호 홈런이 키워드로서 입력된 경우, 하이라이트 추출 장치(100)는 나성범 30호 홈런을 포함하는 동영상 및 동영상과 관련된 로그 정보를 검색하여, 하이라이트 동영상을 생성할 수 있다. Here, the video and log information including the sports event may be searched by keyword. For example, when the Na Seong-beom No. 30 home run is input as a keyword, the highlight extraction apparatus 100 may generate a highlight video by searching for a video including the Na Seong-beom No. 30 home run and log information related to the video.

하이라이트 추출 장치(100)는 동영상과 관련된 경기 정보를 동영상에 태깅할 수 있다. 동영상에 경기 정보를 태깅하는 것은 이하 도 2에서 보다 자세히 설명한다.The highlight extraction device 100 may tag the video game information related to the video. Tagging the game information on the video will be described in more detail in FIG. 2 below.

하이라이트 추출 장치(100)는 키워드에 대응하는 적어도 하나의 로그 정보를 추출할 수 있고, 태깅된 동영상으로부터 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정할 수 있다. 이때, 하이라이트 추출 장치(100)는 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성할 수 있다. The highlight extraction apparatus 100 may extract at least one log information corresponding to a keyword, and determine at least one frame corresponding to the log information extracted from the tagged video. In this case, the highlight extraction apparatus 100 may generate a highlight video by combining at least one frame.

만약, 스포츠 경기를 포함하는 동영상으로부터 키워드에 대응하는 적어도 하나의 로그 정보를 추출할 수 없는 경우, 키워드에 대응하는 하이라이트 동영상은 해당 스포츠 경기를 포함하는 동영상으로부터 생성될 수 없다. 예를 들면, 키워드로 홈런이 입력된 경우, 야구경기에서 홈런이 발생하지 않았다면 해당 야구경기에서 홈런에 대응하는 하이라이트 동영상은 생성될 수 없다.If at least one log information corresponding to the keyword cannot be extracted from the video including the sports event, the highlight video corresponding to the keyword cannot be generated from the video including the corresponding sports event. For example, when a home run is input as a keyword, a highlight video corresponding to the home run in the baseball game cannot be generated if a home run does not occur in a baseball game.

일 실시예에 따르면, 하이라이트 추출 장치(100)는 스포츠 경기로부터 주요 장면에 해당하는 하이라이트 동영상을 생성할 수 있다. 또는, 하이라이트 추출 장치(100)는 복수의 하이라이트 동영상을 조합하여, 해당 스포츠 경기를 요약한 요약 영상을 생성할 수 있다. 스포츠 경기의 일례로서, 이하 야구 경기에 대한 하이라이트 추출 방법을 설명한다. 다만, 야구 경기는 스포츠 경기에 일실시예에 불과한 것으로서, 야구 경기에 한정되는 것은 아니다.According to an embodiment, the highlight extraction apparatus 100 may generate a highlight video corresponding to a main scene from a sports event. Alternatively, the highlight extraction apparatus 100 may generate a summary image summarizing a corresponding sports event by combining a plurality of highlight videos. As an example of a sports game, a method of extracting highlights for a baseball game will be described below. However, the baseball game is merely an example for a sports game, and is not limited to a baseball game.

도 2는 일 실시예에 따른, 동영상에 경기 정보를 태깅하는 것을 나타낸 도면이다.2 is a diagram illustrating tagging of game information on a video according to an exemplary embodiment.

하이라이트 추출 장치는 복수의 프레임으로 구성된 야구 경기를 포함하는 동영상을 식별할 수 있다. 하이라이트 추출 장치는 동영상을 실시간으로 방송국으로부터 수신하거나, 또는 별도의 저장 장치를 통해 식별할 수 있다.The highlight extraction device may identify a video including a baseball game composed of a plurality of frames. The highlight extraction device may receive a video from a broadcasting station in real time or may identify it through a separate storage device.

하이라이트 추출 장치는 해당 프레임에 대응하는 경기 정보 및 장면 정보를 태깅할 수 있다. 예를 들면, 프레임 1에는 1회말 0:0인 점수, 2 out, 투구수 18개, 투구(pitch)를 포함하는 경기 정보 및 장면 정보가 태깅될 수 있다. 다른 예를 들면, 프레임 2에는 2회초 1:0인 점수, 1ball-2strike, 투구수 4개, 투구(pitch)를 포함하는 경기 정보 및 장면 정보가 태깅될 수 있다. The highlight extraction device may tag game information and scene information corresponding to a corresponding frame. For example, in frame 1, a score of 0:0 at the end of the first inning, 2 out, 18 pitches, game information including pitch, and scene information may be tagged. For another example, in frame 2, game information and scene information including a score of 1:0 in the second inning, 1 ball-2 strike, 4 pitches, and pitch may be tagged.

여기서, 경기 정보는 일례로서, 중계판을 통해 식별될 수 있다. 야구 경기 동영상은 중계판을 포함하거나 포함하지 않을 수 있다. 도 3은 일 실시예로서, 중계판이 동영상에 표시된 그림과 중계판이 동영상에 표시되지 않은 그림을 나타낸 도면이다. 중계판은 동영상의 미리 설정된 영역에 표시될 수 있다. 중계판은 해당 야구 경기에 대한 정보를 포함할 수 있다. 예를 들면, 중계판은 이닝, 점수, 볼카운트, 주자상황, 투구수와 같은 해당 프레임에 대한 경기 정보를 포함할 수 있다. Here, the game information may be identified through a relay board as an example. The baseball game video may or may not include a relay board. 3 is a diagram illustrating a picture in which a relay board is displayed on a video and a picture in which the relay board is not displayed on a video, as an embodiment. The relay board may be displayed in a preset area of the video. The relay board may contain information about the baseball game in question. For example, the relay board may include game information for a corresponding frame such as innings, scores, ball counts, runner status, and number of pitches.

일 실시예에 따르면, 하이라이트 추출 장치는 중계판이 표시된 프레임의 경우, 중계판을 통해 식별된 경기 정보(예를 들면, 이닝, 점수, 볼카운트, 주자상황, 투구수등)를 해당 프레임에 태깅할 수 있다. 다른 일실시예에 따르면, 하이라이트 추출 장치는 중계판이 표시되지 않은 프레임의 경우, 중계판이 없음을 해당 프레임에 태깅할 수 있다.According to an embodiment, in the case of a frame on which a relay board is displayed, the highlight extraction device may tag the match information (eg, innings, scores, ball counts, runner status, pitches, etc.) identified through the relay board to the frame. have. According to another embodiment, in the case of a frame in which the relay board is not displayed, the highlight extraction apparatus may tag the frame with no relay board.

도 4는 일 실시예에 따른, 하이라이트 추출 장치가 SVM을 적용하여 중계판을 학습하는 과정을 나타낸 도면이다.4 is a diagram illustrating a process of learning a relay board by applying an SVM by a highlight extraction apparatus according to an exemplary embodiment.

동영상에 표시된 중계판은 고정된 위치에 표시되어, 경기 도중 위치가 변하지 않을 수 있다. 따라서, 하이라이트 추출 장치는 동영상의 특정한 영역에 표시된 중계판의 특징을 추출할 수 있다. The relay board displayed in the video is displayed at a fixed position, so the position may not change during the game. Accordingly, the highlight extraction device may extract features of the relay board displayed in a specific area of the moving picture.

일 실시예에 따르면, 하이라이트 추출 장치는 SVM(Support Vector Machine)을 이용하여 추출된 특징의 패턴을 인식할 수 있다. 구체적으로, 각각의 방송국에서 방송하는 동영상에 표시되는 중계판은 모두 상이할 수 있다. 예를 들면, 방송국 1에서 방송하는 동영상에 표시되는 중계판 1과 방송국 2에서 방송하는 동영상에 표시되는 중계판 2는 동일한 정보(예를 들면, 이닝, 점수, 볼카운트, 주자상황, 투구수등)를 포함하고 있더라도, 중계판 내에서 각각의 정보의 위치는 서로 다를 수 있다. According to an embodiment, the apparatus for extracting highlights may recognize a pattern of features extracted using a support vector machine (SVM). Specifically, all relay boards displayed on a video broadcast by each broadcasting station may be different. For example, relay board 1 displayed on a video broadcast by broadcasting station 1 and relay board 2 displayed on a video broadcast by broadcasting station 2 have the same information (e.g., innings, scores, ball counts, runner status, number of pitches, etc.) Even if it includes, the location of each piece of information in the relay board may be different.

일 실시예에 따르면, 하이라이트 추출 장치는 사전에 각 방송국의 중계판을 학습하여, 현재 프레임에 대응하는 중계판으로부터 특징을 추출할 수 있다. 따라서, 하이라이트 추출 장치는 SVM을 적용하여 추출된 특징을 인식하여, 이닝, 점수, 볼카운트, 주자상황, 투구수 등의 정보를 추출할 수 있다. 만약, 방송국의 중계판이 변경되더라도, 하이라이트 추출 장치는 변경된 중계판을 학습하여 정보를 추출할 수 있다. According to an embodiment, the highlight extraction apparatus may learn a relay board of each broadcasting station in advance and extract features from the relay board corresponding to a current frame. Accordingly, the highlight extraction device may recognize the extracted features by applying the SVM, and extract information such as innings, scores, ball counts, runner status, and number of pitches. Even if the relay board of the broadcasting station is changed, the highlight extraction apparatus may extract information by learning the changed relay board.

도 5는 일 실시예에 따른, 하이라이트 추출 장치가 중계판 인식하여 경기 정보를 태깅하는 과정을 나타낸 도면이다. 5 is a diagram illustrating a process of tagging game information by recognizing a relay board by a highlight extraction apparatus according to an exemplary embodiment.

하이라이트 추출 장치는 동영상의 현재 프레임에 중계판의 표시 유무를 판단할 수 있다. 하이라이트 추출 장치는 도 4의 과정을 통해 각각의 방송국의 중계판에 대해 사전에 학습할 수 있다. The highlight extraction device may determine whether a relay board is displayed in the current frame of the video. The highlight extraction device may learn in advance about the relay board of each broadcasting station through the process of FIG. 4.

이때, 현재 프레임에 중계판이 표시되지 않은 경우, 하이라이트 추출 장치는 중계판으로부터 정보를 추출할 수 없으므로 해당 프레임에 경기 정보 없음을 태깅할 수 있다. 현재 프레임에 중계판이 표시된 경우, 하이라이트 추출 장치는 중계판으로부터 정보를 추출하여 해당 프레임에 경기 정보를 태깅할 수 있다. 이때, 입력되는 경기 정보는 이닝, 점수, 볼 카운트를 포함할 수 있다. In this case, when the relay board is not displayed on the current frame, the highlight extraction device cannot extract information from the relay board, so that no game information may be tagged in the frame. When the relay board is displayed on the current frame, the highlight extraction device may extract information from the relay board and tag game information on the frame. At this time, the input game information may include innings, scores, and ball counts.

중계판이 주자 상황에 대한 경기 정보를 더 포함한 경우, 하이라이트 추출 장치는 주자 상황을 추출하여 해당 프레임에 태깅할 수 있다. 만약, 중계판이 주자 상황에 대한 경기 정보를 포함하지 않은 경우, 하이라이트 추출 장치는 주자 상황 없음을 태깅할 수 있다. When the relay board further includes game information on the runner situation, the highlight extraction apparatus may extract the runner situation and tag the corresponding frame. If the relay board does not include game information on the runner situation, the highlight extraction device may tag that there is no runner situation.

중계판이 투구수에 대한 경기 정보를 더 포함한 경우, 하이라이트 추출 장치는 투구수를 추출하여 해당 프레임에 태깅할 수 있다. 만약, 중계판이 투구수에 대한 경기 정보를 포함하지 않은 경우, 하이라이트 추출 장치는 투구수 없음을 태깅할 수 있다. When the relay board further includes game information on the number of pitches, the highlight extraction device may extract the number of pitches and tag the corresponding frame. If the relay board does not include game information on the number of pitches, the highlight extraction device may tag that there is no number of pitches.

도 6은 일 실시예에 따른, 하이라이트 추출 장치가 프레임으로부터 장면 전환을 검출하고, 해당 프레임의 장면 인식한 것을 나타낸 도면이다. 6 is a diagram illustrating that a highlight extraction apparatus detects a scene change from a frame and recognizes a scene of a corresponding frame according to an exemplary embodiment.

일 실시예에 따르면, 하이라이트 추출 장치는 경기 정보뿐만 아니라 장면 정보를 인식하여, 해당 프레임에 태깅할 수 있다. 이때, 장면 정보는 장면 전환 여부 및 장면 인식을 포함할 수 있다. According to an embodiment, the apparatus for extracting highlights may recognize not only game information but also scene information, and tag a corresponding frame. In this case, the scene information may include whether to change the scene and recognize the scene.

장면 전환 검출은 표시되는 야구 경기의 화면이 전환된 것을 나타낸다. 예를 들면, 표시(610) 이전의 프레임은 투수와 관련된 장면을 나타내며, 표시(610)과 표시(620) 사이의 프레임은 주자의 도루와 관련된 장면을 나타내며, 표시(620) 이후의 프레임은 주자를 보여주는 장면을 나타낸다. 따라서, 하이라이트 추출 장치는 표시(610, 620)에서 프레임 간의 장면이 전환되었음을 검출할 수 있다. 즉, 하이라이트 추출 장치는 연속된 프레임으로부터 장면이 전환되는지 여부를 검출할 수 있고, 검출된 장면 전환 여부에 대한 정보를 해당 프레임에 태깅할 수 있다. 장면 전환 검출에 대해 자세한 설명은 이하 도 7을 참조한다.The scene change detection indicates that the screen of a displayed baseball game has been changed. For example, a frame before the mark 610 indicates a scene related to a pitcher, a frame between the mark 610 and the mark 620 indicates a scene related to a runner stealing, and the frame after the mark 620 indicates a runner Shows the scene showing. Accordingly, the highlight extraction apparatus may detect that a scene is switched between frames in the displays 610 and 620. That is, the highlight extraction apparatus may detect whether a scene is changed from a continuous frame, and tag information on whether or not the detected scene is changed to a corresponding frame. For a detailed description of the scene change detection, refer to FIG. 7 below.

하이라이트 추출 장치는 미리 설정된 기준에 따라 야구 경기 동영상의 장면을 구분할 수 있다. 이때, 장면 인식은 현재 프레임과 매칭되는 기준을 인식하는 것을 나타낸다. 구체적으로, 하이라이트 추출 장치는 투구/투구 확대/클로즈업/필드(타구추적)/광고/해설/관중석/덕아웃/경기스케치/구장전경/이중화면(PIP)와 같이 미리 설정된 기준을 설정할 수 있고, 해당 프레임이 어떠한 기준에 해당하는지 인식할 수 있다. 예를 들면, 하이라이트 추출 장치는 그림(630)은 투구에 해당하는 장면으로 인식할 수 있고, 그림(640)은 클로즈업에 해당하는 장면으로 인식할 수 있고, 그림(650)은 필드에 해당하는 장면으로 인식할 수 있고, 그림(660)은 해설에 해당하는 장면으로 인식할 수 있고, 그림(670)은 광고에 해당하는 장면으로 인식할 수 있다. 따라서, 하이라이트 추출 장치는 해당 프레임의 장면을 인식하여, 인식된 정보를 프레임에 태깅할 수 있다. 장면 인식에 대해 자세한 설명은 이하 도 8을 참조한다. The highlight extraction device may classify scenes of a baseball game video according to a preset criterion. In this case, scene recognition refers to recognizing a criterion matching the current frame. Specifically, the highlight extraction device can set preset criteria such as pitching / pitching enlargement / close-up / field (ball tracking) / advertisement / commentary / spectator seat / dugout / game sketch / ballpark view / double screen (PIP), and It is possible to recognize which criterion the frame corresponds to. For example, the highlight extraction device can recognize the picture 630 as a scene corresponding to a pitch, the picture 640 can be recognized as a scene corresponding to a close-up, and the picture 650 is a scene corresponding to a field. It can be recognized as, the picture 660 can be recognized as a scene corresponding to the commentary, and the picture 670 can be recognized as a scene corresponding to an advertisement. Accordingly, the highlight extraction device may recognize a scene of a corresponding frame and tag the recognized information on the frame. For a detailed description of scene recognition, refer to FIG. 8 below.

도 7은 일 실시예에 따른, 장면 전환 검출의 그래프를 나타낸다. 7 shows a graph of scene change detection according to an embodiment.

하이라이트 추출 장치는 RGB를 HSV(Hue, Saturation, Value)로 컬러 변환할 수 있다. 하이라이트 추출 장치는 변환된 HSV에 대해 HSV Pixel Quantization을 수행할 수 있다. 예를 들면, 하이라이트 추출 장치는 24 bit를 10 bit로 HSV Pixel Quantization을 수행할 수 있다. 여기서, 10 bit는 일례로서, 장면 전환을 검출할 정도에 대응하는 해당 프레임의 bit를 나타낸다. The highlight extraction device may color convert RGB to HSV (Hue, Saturation, Value). The highlight extraction device may perform HSV Pixel Quantization on the converted HSV. For example, the highlight extraction device may perform HSV Pixel Quantization from 24 bits to 10 bits. Here, 10 bits is an example and represents a bit of a corresponding frame corresponding to the degree to which a scene change is detected.

하이라이트 추출 장치는 HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정할 수 있다. 이때, 하이라이트 추출 장치는 모든 bin(히스토그램의 한 구간)과 관련하여, 히스토그램 차이의 평균을 결정할 수 있다. 여기서, 하이라이트 추출 장치는 히스토그램 차이의 평균을 미리 설정된 기준과 비교하여, 장면 전환 여부를 검출할 수 있다. 구체적으로, 히스토그램 차이의 평균이 미리 설정된 기준인 임계치(예를 들면, 7000)보다 높은 경우, 현재 프레임은 이전 프레임에서 장면이 전환되었음을 나타낸다. 또는, 히스토그램 차이의 평균이 임계치보다 낮은 경우, 현재 프레임과 이전 프레임은 장면이 전환되지 않았음을 나타낸다. 예를 들면, 도 6에서 표시(610) 이전의 프레임은 히스토그램 차이의 평균이 임계치보다 낮은 경우이다. 다른 예를 들면, 도 6에서 표시(610) 이전과 이후의 프레임은 히스토그램 차이의 평균이 임계치보다 높은 경우이다.The highlight extraction apparatus may determine a histogram difference between the previous frame and the current frame for each channel of the HSV. In this case, the highlight extraction apparatus may determine an average of the histogram differences in relation to all bins (one section of the histogram). Here, the highlight extraction apparatus may detect whether a scene is changed by comparing the average of the histogram difference with a preset reference. Specifically, when the average of the histogram differences is higher than a threshold (eg, 7000) that is a preset reference, the current frame indicates that the scene has been switched from the previous frame. Alternatively, when the average of the histogram difference is lower than the threshold, the current frame and the previous frame indicate that the scene has not been switched. For example, a frame before display 610 in FIG. 6 is a case in which the average of the histogram differences is lower than a threshold value. For another example, frames before and after the display 610 in FIG. 6 are cases in which the average of the histogram difference is higher than the threshold value.

도 8은 일 실시예에 따른, 딥러닝에 기반한 장면 인식을 나타낸다.8 illustrates scene recognition based on deep learning, according to an embodiment.

하이라이트 추출 장치는 딥러닝의 일례로서 ResNet v2 구조를 갖는 딥러닝을 적용하여, 스포츠 경기를 포함하는 동영상이 출력하는 화면의 유형을 인식할 수 있다. 구체적으로, 하이라이트 추출 장치는 동영상이 출력하는 화면의 유형을 일정한 기준으로 분류하여, 표시되는 화면이 어떠한 기준에 해당하는지 인식할 수 있다. 이때, 일정한 기준은 각각의 스포츠 경기마다 상이할 수 있다. 예를 들면, 야구 경기의 경우, 하이라이트 추출 장치는 투구/투구 확대/클로즈업/필드(타구추적)/광고/해설/관중석/덕아웃/경기스케치/구장전경/이중화면(PIP)와 같이 일정한 기준을 미리 설정할 수 있다. As an example of deep learning, the highlight extraction device may recognize the type of a screen displayed by a video including a sports event by applying deep learning having a ResNet v2 structure. Specifically, the highlight extraction device may classify the type of screen output from the moving picture according to a certain criterion, and recognize which criterion the displayed screen corresponds to. In this case, a certain criterion may be different for each sporting event. For example, in the case of a baseball game, the highlight extraction device uses certain criteria such as pitching / pitching enlargement / close-up / field (ball tracking) / advertisement / commentary / spectator seat / dugout / game sketch / ballpark view / double screen (PIP). Can be set in advance.

하이라이트 추출 장치는 프레임에 대해 ResNet v2 구조를 갖는 딥러닝을 적용하여, 일정한 기준 중에서 가장 매칭되는 기준으로 해당 프레임의 장면을 인식할 수 있다. 이때, 하이라이트 추출 장치는 프레임에 대해 장면 인식기 스코어를 이용하여, 가장 높은 스코어를 갖는 기준으로 해당 프레임을 인식할 수 있다.The highlight extraction apparatus may recognize the scene of the frame as the most matching criterion among certain criteria by applying deep learning having a ResNet v2 structure to the frame. In this case, the highlight extraction apparatus may recognize a corresponding frame as a criterion having the highest score by using the scene recognizer score for the frame.

도 9는 일 실시예에 따른, 키워드에 대응하는 로그 정보를 추출하는 과정을 나타낸다.9 illustrates a process of extracting log information corresponding to a keyword according to an embodiment.

하이라이트 추출 장치는 키워드를 식별할 수 있다. 이때, 키워드는 스포츠 경기의 일례로서, 야구 경기인 경우 이닝, 아웃, 주자상황, 타자, 투수, 이벤트(홈런등)등을 포함할 수 있다. 키워드는 사용자로부터 입력받거나, 또는 별도의 키워드 생성 모듈에 의해 자동적으로 생성될 수 있다.The highlight extraction device may identify a keyword. In this case, the keyword is an example of a sports game, and in the case of a baseball game, it may include innings, outs, runner situations, batters, pitchers, events (home runs, etc.). The keyword may be input from the user or may be automatically generated by a separate keyword generation module.

하이라이트 추출 장치는 키워드에 대응하는 로그 정보를 검색할 수 있다. 그림(910)은 키워드를 나타내고, 그림(920)은 키워드에 대응하는 검색된 로그 정보를 나타낸다. 이때, 하이라이트 추출 장치는 키워드에 포함된 정보에 대응하는 로그 정보를 추출하며, 키워드에 포함되지 않은 정보는 고려하지 않을 수 있다. The highlight extraction device may search log information corresponding to a keyword. A picture 910 represents a keyword, and a picture 920 represents searched log information corresponding to the keyword. In this case, the highlight extraction device extracts log information corresponding to information included in the keyword, and may not consider information not included in the keyword.

예를 들면, eID 3002에 대한 키워드(911)에 대한 로그 정보는 복수의 로그 정보(예를 들면, 630개) 중에서 7개(921-a, 921-b, 921-c, ~, 921-g)가 검색될 수 있다. 검색된 7개의 로그 정보(921)는 한 경기 동안 생성된 총 630개의 로그 정보 중에서 eID 3002를 포함하는 로그 정보를 나타낸다. 이때, eID 3002는 일례로서, 홈런/득점 상황과 같은 스포츠 경기중 발생한 이벤트를 나타낼 수 있다. For example, log information for the keyword 911 for eID 3002 is 7 (921-a, 921-b, 921-c, ~, 921-g) out of a plurality of log information (eg, 630). ) Can be searched. The searched 7 log information 921 represents log information including eID 3002 among a total of 630 log information generated during one game. In this case, eID 3002 is an example, and may represent an event occurring during a sports game such as a home run/scoring situation.

구체적으로, 로그 정보(921-a)는 3회말 2아웃 2루에 주자가 있는 상황에서, 투수 박세웅이 타자 강백호를 상대로 던진 50번째 투구에서 eID 3002가 발생하였음에 대응하며, 로그 정보(921-b)는 5회말 2아웃 2루에 주자가 있는 상황에서, 투수 박세웅이 타자 황재균을 상대로 던진 94번째 투구에서 eID 3002가 발생하였음에 대응하며, 로그 정보(921-g)는 10회말 2아웃 2루에 주자가 있는 상황에서, 투수 윤길현이 타자 오태곤을 상태로 던진 21번째 투구에서 eID 3002가 발생하였음에 대응할 수 있다. Specifically, the log information (921-a) corresponds to the occurrence of eID 3002 in the 50th pitch thrown by pitcher Park Se-woong against batter Kang Baek-ho, in a situation where a runner is on second out and second base at the end of the third inning, and log information (921- b) corresponds to the occurrence of eID 3002 in the 94th pitch thrown by pitcher Park Se-woong against batter Hwang Jae-gyun, in the situation where there is a runner on second base at the end of the 5th inning, and the log information (921-g) is 2 out of the 10th inning In the situation where there is a runner on the base, it is possible to respond to the occurrence of eID 3002 in the 21st pitch thrown by pitcher Yoon Gil-hyun with the batter Otaegon.

다른 예를 들면, 8회초/eID 1005에 대한 키워드(912)에 대한 로그 정보는 복수의 로그 정보(예를 들면, 630개) 중에서 2개(922-a, 922-b)가 검색될 수 있다. 검색된 2개의 로그 정보(922)는 한 경기 동안 생성된 총 630개의 로그 정보 중에서 8회초/eID 1005를 포함하는 로그 정보를 나타낸다. 이때, eID 1005는 일례로서, 삼진과 같은 스포츠 경기중 발생한 이벤트를 나타낼 수 있다.For another example, log information about the keyword 912 for the 8th second/eID 1005 may be searched for two (922-a, 922-b) of a plurality of log information (eg, 630). . The searched two log information 922 represents log information including 8 seconds/eID 1005 out of a total of 630 log information generated during one game. In this case, eID 1005 is an example, and may indicate an event occurring during a sports event such as strikeout.

구체적으로, 로그 정보(922-a)는 8회초에 6개의 투구수를 던진 투수가 2명 있으며, 그 중에서 1번째 투수 윤근영, 타자 이병규, 노아웃 주자가 없는 상황에서 eID 1005에 대응하며, 로그 정보(922-b)는 8회초에 2개의 투구수를 던진 투수가 2명 있으며, 그 중에서 2번째 투수 주권, 타자 이대호, 1아웃 주자가 없는 상황에서 eID 1005에 대응할 수 있다.Specifically, the log information (922-a) corresponds to eID 1005 in a situation where there are 2 pitchers who threw 6 pitchers in the beginning of the 8th, of which the first pitcher Yoon Geun-young, batter Lee Byeong-gyu, and no-out runners are not present. (922-b) has two pitchers who threw two pitchers at the beginning of the 8th inning and can respond to eID 1005 in the absence of the second pitcher Sovereignty, batter Lee Dae-ho, and one-out runner.

일 실시예에 따르면, 하이라이트 추출 장치는 검색된 로그 정보에 대응하는 적어도 하나의 프레임을 결정할 수 있다. 여기서, 하이라이트 추출 장치는 프레임에 태깅된 경기 정보를 이용하여, 로그 정보에 대응하는지 여부를 판단할 수 있다. 구체적으로, 하이라이트 추출 장치는 중계판을 이용하여 식별된 경기 정보를 이용하여, 검색된 로그 정보와 매칭을 통해 대응하는지 여부를 판단할 수 있다. According to an embodiment, the highlight extraction apparatus may determine at least one frame corresponding to the searched log information. Here, the highlight extraction device may determine whether to correspond to the log information by using the game information tagged to the frame. Specifically, the highlight extraction device may determine whether to correspond through matching with the searched log information, using the game information identified using the relay board.

이때, 하이라이트 추출 장치는 검색된 로그 정보가 발생한 타겟 투구수를 기준으로, 하이라이트 동영상을 생성하기 위한 적어도 하나의 프레임을 결정할 수 있다. 이때, 하이라이트 동영상을 생성하기 위한 적어도 하나의 프레임은 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임을 포함할 수 있다. In this case, the highlight extraction device may determine at least one frame for generating the highlight video based on the number of target pitches in which the searched log information is generated. In this case, at least one frame for generating the highlight video may include a start frame of the target pitch number -1 to a last frame of the target pitch number.

구체적으로, 키워드 나성범 30호 홈런으로서 로그 정보가 검색된 경우, 로그 정보는 나성범 30호 홈런에 대응하는 타겟 투구수 및 투수를 포함할 수 있다. 하이라이트 추출 장치는 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임까지 프레임을 추출할 수 있고, 추출된 프레임을 조합하여 나성범 30호 홈런에 대응하는 하이라이트 동영상을 생성할 수 있다. 만약, 동일한 이닝(inning)에 동일한 타겟 투구수를 던진 투수가 중복될 경우, 투수의 이름 또는 몇 번째 투수인지를 이용하여 타겟 투구수를 결정할 수 있다.Specifically, when log information is searched as the keyword Na Seong-beom No. 30 home run, the log information may include target pitchers and pitchers corresponding to Na Seong-beom No. 30 home run. The highlight extraction device may extract frames from the start frame of the target pitch number-1 to the last frame of the target pitch number, and may generate a highlight video corresponding to the Na Sung-beom No. 30 home run by combining the extracted frames. If the number of pitchers throwing the same target pitcher in the same inning overlaps, the number of pitchers may be determined using the pitcher's name or the number of pitchers.

예를 들면, 8회초 50구를 던진 투수 중에서 1번째 투수에게 나성범 30호 홈런이 발생한 경우, 하이라이트 추출 장치는 키워드 나성범 30호 홈런에 대응하는 로그 정보를 식별할 수 있다. 하이라이트 추출 장치는 로그 정보에 포함된 타겟 투구수 50구 및 1번째 투수 정보를 이용하여, 나성범 30호 홈런에 대응하는 프레임을 결정할 수 있고, 해당 프레임을 조합하여 나성범 30호 홈런에 대응하는 하이라이트 영상을 생성할 수 있다.For example, if the first pitcher who threw 50 pitches at the beginning of the 8th inning has a home run No. 30 to the first pitcher, the highlight extraction device may identify log information corresponding to the keyword Na Seong-beom No. 30 home run. The highlight extraction device may determine a frame corresponding to the No. 30 home run by using the target pitching number 50 and the first pitcher information included in the log information, and combine the frames to correspond to the No. 30 home run of Na Seong-beom. You can create a highlight image.

도 10은 일 실시예에 따른, 생성된 하이라이트 동영상을 처리하는 것을 나타낸다.10 illustrates processing a generated highlight video according to an embodiment.

전술한 바와 같이, 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임에 기반하여 생성된 하이라이트 동영상은 노이즈를 포함할 수 있다. 여기서, 노이즈는 키워드에 대응하지 않는 프레임으로서, 하이라이트 추출 장치는 로그 정보를 이용하여 추출된 프레임에서 노이즈에 해당하는 프레임을 제거할 수 있다. As described above, the highlight video generated based on the last frame of the target pitch number from the start frame of the target pitch number-1 may include noise. Here, the noise is a frame that does not correspond to the keyword, and the highlight extraction apparatus may remove the frame corresponding to the noise from the frame extracted using log information.

예를 들면, 키워드 나성범 30호 홈런에 대응하는 타겟 투구수가 50구인 경우, 49구의 시작 프레임부터 50구의 마지막 프레임 사이에는 투수/타자뿐만 아니라 관중석/해설/덕아웃/리플레이 장면구간과 같은 프레임을 포함할 수 있다. 여기서, 노이즈는 키워드(예를 들면, 나성범 30호 홈런)에 대응하지 않는 장면으로서, 관중석/리플레이 장면구간이 노이즈로 포함될 수 있다. 따라서, 하이라이트 추출 장치는 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임 중에서, 노이즈에 대응하는 프레임을 제거하여 하이라이트 동영상을 생성할 수 있다. For example, if the target pitching number corresponding to the keyword Na Seong-beom 30 home run is 50 pitches, frames such as the pitcher/batter as well as the spectator/commentary/dugout/replay scene section are included between the start frame of 49 pitches and the last frame of 50 pitches. can do. Here, the noise is a scene that does not correspond to a keyword (for example, Na Seongbeom No. 30 home run), and the audience seat/replay scene section may be included as noise. Accordingly, the highlight extraction apparatus may generate a highlight video by removing a frame corresponding to noise from among the start frame of the target pitch number-1 to the last frame of the target pitch number.

예를 들면, 키워드 나성범 30호 홈런에 대응하는 타겟 투구수-1의 시작 프레임 1부터 타겟 투구수의 마지막 프레임 30중에서, 프레임 3~5는 리플레이 프레임에 해당하며, 프레임 13~17은 관중석 프레임에 해당하며, 프레임 21~22는 해설 프레임에 해당할 경우, 하이라이트 추출 장치는 30개의 프레임 중에서 3~5/13~17/21~22 프레임을 제외한 프레임을 조합하여 나성범 30호 홈런에 대응하는 영상을 생성할 수 있다.For example, from the start frame 1 of the target pitcher-1 to the last frame 30 of the target pitcher corresponding to the keyword Na Seong-beom No. 30 home run, frames 3 to 5 correspond to the replay frame, and frames 13 to 17 correspond to the spectator frame. If frames 21 to 22 correspond to the commentary frames, the highlight extraction device combines frames excluding frames from 3 to 5/13 to 17/21 to 22 out of 30 frames to respond to Na Sung-beom No. 30 home run. You can create an image.

도 11은 일 실시예에 따른, 하이라이트 추출 장치가 수행하는 하이라이트 추출 방법을 나타낸다.11 illustrates a highlight extraction method performed by a highlight extraction apparatus according to an exemplary embodiment.

동작(1110)에서, 하이라이트 추출 장치는 스포츠 경기를 포함하는 동영상, 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 동영상에 관련된 키워드를 식별할 수 있다.In operation 1110, the highlight extraction device may identify a video including a sports event, log information sequentially recording an event occurring in the sports event, and a keyword related to the video.

동작(1120)에서, 하이라이트 추출 장치는 동영상과 관련된 경기 정보를 동영상에 태깅할 수 있다. 이때, 하이라이트 추출 장치는 중계판을 이용하여 식별된 경기 정보를 동영상에 태깅할 수 있다. 중계판은 동영상의 미리 설정된 영역에 위치할 수 있으며, 중계판은 이닝/점수/볼카운트/주자상황/투구수를 포함할 수 있다. In operation 1120, the highlight extraction device may tag the video game information related to the video. In this case, the highlight extraction device may tag the video with the game information identified by using the relay board. The relay board may be located in a preset area of the video, and the relay board may include innings/scores/ball counts/runner status/number of pitches.

이때, 중계판이 동영상에 표시된 경우, 하이라이트 추출 장치는 중계판에 나타난 경기 정보를 인식하여 경기 정보를 동영상의 대응하는 프레임에 태깅할 수 있다. 또는, 중계판이 동영상에 표시되지 않은 경우, 하이라이트 추출 장치는 중계판에 대응하는 경기 정보가 존재하지 않음을 동영상의 대응하는 프레임에 태깅할 수 있다.In this case, when the relay board is displayed on the video, the highlight extraction device may recognize the game information displayed on the relay board and tag the game information to a corresponding frame of the video. Alternatively, when the relay board is not displayed on the video, the highlight extraction device may tag the corresponding frame of the video that there is no game information corresponding to the relay board.

하이라이트 추출 장치는 경기 정보뿐만 아니라 장면 정보를 동영상의 대응하는 프레임에 태깅할 수 있다. 구체적으로, 하이라이트 추출 장치는 장면 전환을 검출하여 프레임에 태깅하거나, 또는 일정한 기준에 따라 장면 인식하여 프레임에 태깅할 수 있다.The highlight extraction device may tag not only game information but also scene information to a corresponding frame of a video. Specifically, the highlight extraction apparatus may detect a scene change and tag the frame, or may recognize the scene according to a certain criterion and tag the frame.

이때, 장면 전환은 RGB를 HSV로 변환하고, HSV의 히스토그램 차이를 이용하여 검출될 수 있다. 또한, HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정하고, 결정된 히스토그램 차이와 미리 설정된 기준을 비교하여 장면 전환 여부가 결정될 수 있다. 또한, 장면 인식은 하이라이트 추출 장치에 의해 설정된 일정한 기준 중에서, 해당 프레임에 매칭되는 기준으로 설정될 수 있다. In this case, the scene change may be detected by converting RGB to HSV and using a histogram difference of HSV. In addition, a difference in histogram between the previous frame and the current frame may be determined for each channel of the HSV, and whether to change the scene may be determined by comparing the determined histogram difference with a preset reference. In addition, scene recognition may be set as a criterion matching a corresponding frame among certain criteria set by the highlight extraction device.

동작(1130)에서, 하이라이트 추출 장치는 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 태깅된 동영상으로부터 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정할 수 있다.In operation 1130, the highlight extraction apparatus may extract at least one log information corresponding to the keyword and determine at least one frame corresponding to the log information extracted from the tagged video.

만약, 스포츠 경기를 포함하는 동영상으로부터 키워드에 대응하는 적어도 하나의 로그 정보를 추출할 수 없는 경우, 키워드에 대응하는 하이라이트 동영상은 해당 스포츠 경기를 포함하는 동영상으로부터 생성될 수 없다. 예를 들면, 키워드로 홈런이 입력된 경우, 야구경기에서 홈런이 발생하지 않았다면 해당 야구경기에서 홈런에 대응하는 하이라이트 동영상은 생성될 수 없다.If at least one log information corresponding to the keyword cannot be extracted from the video including the sports event, the highlight video corresponding to the keyword cannot be generated from the video including the corresponding sports event. For example, when a home run is input as a keyword, a highlight video corresponding to the home run in the baseball game cannot be generated if a home run does not occur in a baseball game.

여기서, 적어도 하나의 프레임은 키워드에 포함된 상황에 대응하는 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임까지 포함할 수 있다. 이때, 하이라이트 추출 장치는 타겟 투구수-1의 시작 프레임부터 타겟 투구수의 마지막 프레임 중에서 키워드에 대응하지 않는 프레임을 제외할 수 있다. Here, the at least one frame may include from the start frame of the target pitch number-1 corresponding to the situation included in the keyword to the last frame of the target pitch number. In this case, the highlight extraction apparatus may exclude a frame that does not correspond to the keyword from the start frame of the target pitch number-1 to the last frame of the target pitch number.

동작(1140)에서, 하이라이트 추출 장치는 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성할 수 있다. In operation 1140, the highlight extraction device may generate a highlight video by combining at least one determined frame.

일 실시예에 따르면, 하이라이트 추출 장치는 키워드가 하나인 경우, 단일 키워드에 대응하는 하나의 하이라이트 동영상을 생성할 수 있다. 예를 들면, 나성범 30호 홈런인 경우, 하이라이트 추출 장치는 나성범 30호 홈런에 대응하는 하나의 하이라이트 동영상을 생성할 수 있다.According to an embodiment, when there is only one keyword, the highlight extraction apparatus may generate one highlight video corresponding to the single keyword. For example, in the case of the Na Seong-beom No. 30 home run, the highlight extraction device may generate one highlight video corresponding to the Na’s No.

일 실시예에 따르면, 하이라이트 추출 장치는 키워드가 복수인 경우, 복수 키워드에 대응하는 적어도 하나의 하이라이트 동영상을 조합하여 하이라이트 동영상을 생성할 수 있다. 예를 들면, 키워드가 나성범 1호 홈런부터 30호 홈런인 경우, 하이라이트 추출 장치는 나성범 1호 홈런에 대응하는 야구 경기에서 추출된 하이라이트 동영상 1 부터 나성범 30호 홈런에 대응하는 야구 경기에서 추출된 하이라이트 동영상 30을 조합하여, 하이라이트 동영상을 생성할 수 있다.According to an embodiment, when there are a plurality of keywords, the highlight extraction apparatus may generate a highlight video by combining at least one highlight video corresponding to the plurality of keywords. For example, if the keyword is Na Seong-beom No. 1 home run to No. 30 home run, the highlight extraction device is from a baseball game corresponding to Na Seong-beom No. By combining the extracted highlight video 30, a highlight video may be generated.

이상에서 설명된 실시예들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치, 방법 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The embodiments described above may be implemented as a hardware component, a software component, and/or a combination of a hardware component and a software component. For example, the devices, methods, and components described in the embodiments are, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate (FPGA). array), programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications executed on the operating system. Further, the processing device may access, store, manipulate, process, and generate data in response to the execution of software. For the convenience of understanding, although it is sometimes described that one processing device is used, one of ordinary skill in the art, the processing device is a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of these, configuring the processing unit to operate as desired or processed independently or collectively. You can command the device. Software and/or data may be interpreted by a processing device or, to provide instructions or data to a processing device, of any type of machine, component, physical device, virtual equipment, computer storage medium or device. , Or may be permanently or temporarily embodyed in a transmitted signal wave. The software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. -A hardware device specially configured to store and execute program instructions such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operation of the embodiment, and vice versa.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described by the limited drawings, a person of ordinary skill in the art can apply various technical modifications and variations based on the above. For example, the described techniques are performed in a different order from the described method, and/or components such as systems, structures, devices, circuits, etc. described are combined or combined in a form different from the described method, or other components Alternatively, even if substituted or substituted by an equivalent, an appropriate result can be achieved.

Claims (21)

스포츠 경기를 포함하는 동영상, 상기 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 상기 동영상에 관련된 키워드를 식별하는 동작;
상기 동영상과 관련된 경기 정보를 상기 동영상에 태깅하는 동작;
상기 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 상기 태깅된 동영상으로부터 상기 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정하는 동작;
상기 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성하는 동작; 및
장면 전환을 검출하고 딥러닝을 적용하여 일정한 기준에 따라 장면 인식함으로써 상기 하이라이트 동영상에 포함된 노이즈에 해당하는 프레임을 제거하는 동작을 포함하는, 하이라이트 추출 방법.
An operation of identifying a video including a sports event, log information sequentially recording an event occurring in the sports event, and a keyword related to the video;
Tagging game information related to the video to the video;
Extracting at least one log information corresponding to the keyword and determining at least one frame corresponding to the extracted log information from the tagged video;
Generating a highlight video by combining the determined at least one frame; And
And removing a frame corresponding to noise included in the highlight video by detecting a scene change and recognizing the scene according to a predetermined criterion by applying deep learning.
제1항에 있어서,
상기 하이라이트 동영상을 생성하는 동작은,
상기 키워드가 하나인 경우, 단일 키워드에 대응하는 하나의 하이라이트 동영상을 생성하거나, 또는
상기 키워드가 복수인 경우, 복수 키워드에 대응하는 적어도 하나의 하이라이트 동영상을 조합하여 하이라이트 동영상을 생성하는, 하이라이트 추출 방법.
The method of claim 1,
The operation of generating the highlight video,
When there is one keyword, one highlight video corresponding to the single keyword is generated, or
When there are a plurality of keywords, a highlight extraction method for generating a highlight video by combining at least one highlight video corresponding to the plurality of keywords.
제1항에 있어서,
상기 동영상에 태깅하는 동작은,
중계판이 상기 동영상에 표시된 경우, 상기 중계판에 나타난 경기 정보를 인식하여, 상기 경기 정보를 상기 동영상의 대응하는 프레임에 태깅하거나, 또는
중계판이 상기 동영상에 표시되지 않은 경우, 상기 중계판에 대응하는 상기 경기 정보가 존재하지 않음을, 상기 동영상의 대응하는 프레임에 태깅하는 것을 포함하는, 하이라이트 추출 방법.
The method of claim 1,
The operation of tagging the video,
When the relay board is displayed on the video, by recognizing the game information displayed on the relay board, the game information is tagged to the corresponding frame of the video, or
When the relay board is not displayed on the video, tagging a corresponding frame of the video indicating that the match information corresponding to the relay board does not exist.
제3항에 있어서,
상기 동영상에서 미리 설정된 영역에 표시된 상기 중계판으로부터 특징을 추출하고, 사전에 학습된 데이터를 이용하여 상기 추출된 특징을 분류하는 동작
을 더 포함하는, 하이라이트 추출 방법.
The method of claim 3,
Extracting features from the relay board displayed in a preset area in the video, and classifying the extracted features using previously learned data
Further comprising a, highlight extraction method.
제3항에 있어서,
상기 중계판에 나타난 경기 정보는, 점수, 볼 카운트, 이닝을 포함하는, 하이라이트 추출 방법.
The method of claim 3,
The game information displayed on the relay board includes scores, ball counts, and innings.
제5항에 있어서,
상기 중계판에 나타난 경기 정보가 주자 상황을 더 포함하는 경우, 상기 주자 상황이 상기 동영상의 대응하는 프레임에 태깅되며,
상기 중계판에 나타난 경기 정보가 투구수를 더 포함하는 경우, 상기 투구수가 상기 동영상의 대응하는 프레임에 태깅되는, 하이라이트 추출 방법.
The method of claim 5,
When the game information displayed on the relay board further includes a runner situation, the runner situation is tagged to a corresponding frame of the video,
When the game information displayed on the relay board further includes the number of pitches, the number of pitches is tagged to a corresponding frame of the video.
제1항에 있어서,
상기 장면 전환은,
RGB를 HSV로 변환하고, 상기 HSV의 히스토그램 차이를 이용하여 검출되는, 하이라이트 추출 방법.
The method of claim 1,
The above scene change,
Converting RGB to HSV, and detecting using a histogram difference of the HSV, highlight extraction method.
제7항에 있어서,
상기 장면 전환은,
상기 HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정하고, 상기 결정된 히스토그램 차이와 미리 설정된 기준을 비교하여 판단되는, 하이라이트 추출 방법.
The method of claim 7,
The above scene change,
And determining a histogram difference between a previous frame and a current frame for each channel of the HSV, and comparing the determined histogram difference with a preset reference to determine the highlight extraction method.
제1항에 있어서,
상기 장면 인식은,
하이라이트 추출 장치에 의해 설정된 일정한 기준 중에서, 해당 프레임이 매칭되는 기준으로 설정되는, 하이라이트 추출 방법.
The method of claim 1,
The scene recognition,
Among certain criteria set by the highlight extraction device, a method for extracting a highlight is set as a reference to which a corresponding frame is matched.
제1항에 있어서,
상기 적어도 하나의 프레임은,
상기 키워드에 포함된 상황에 대응하는 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임까지 포함하는, 하이라이트 추출 방법.
The method of claim 1,
The at least one frame,
A method for extracting highlights, including from the start frame of the target pitches-1 corresponding to the situation included in the keyword to the last frame of the target pitches.
제1항 내지 제10항 중 어느 한 항의 방법을 실행하기 위한 프로그램이 기록되어 있는 컴퓨터에서 판독 가능한 기록 매체.A computer-readable recording medium in which a program for executing the method of any one of claims 1 to 10 is recorded. 프로세서 및 컴퓨터에서 읽을 수 있는 명령어를 포함하는 메모리
를 포함하고,
상기 명령어가 상기 프로세서에서 실행되면, 상기 프로세서는 스포츠 경기를 포함하는 동영상, 상기 스포츠 경기에서 발생한 이벤트를 순차적으로 기록한 로그 정보 및 상기 동영상에 관련된 키워드를 식별하고,
상기 동영상과 관련된 경기 정보를 상기 동영상에 태깅하고,
상기 키워드에 대응하는 적어도 하나의 로그 정보를 추출하고, 상기 태깅된 동영상으로부터 상기 추출된 로그 정보에 대응하는 적어도 하나의 프레임을 결정하고,
상기 결정된 적어도 하나의 프레임을 조합하여, 하이라이트 동영상을 생성하며,
장면 전환을 검출하고 딥러닝을 적용하여 일정한 기준에 따라 장면 인식함으로써 상기 하이라이트 동영상에 포함된 노이즈에 해당하는 프레임을 제거하는, 하이라이트 추출 장치.
Processor and memory containing computer-readable instructions
Including,
When the command is executed by the processor, the processor identifies a video including a sports game, log information sequentially recording an event occurring in the sports game, and a keyword related to the video,
Tagging game information related to the video to the video,
Extracting at least one log information corresponding to the keyword, determining at least one frame corresponding to the extracted log information from the tagged video,
By combining the determined at least one frame, generating a highlight video,
A highlight extraction device for removing a frame corresponding to noise included in the highlight video by detecting a scene change and recognizing a scene according to a certain criterion by applying deep learning.
제12항에 있어서,
상기 프로세서는,
상기 하이라이트 동영상을 생성할 때, 상기 키워드가 하나인 경우 단일 키워드에 대응하는 하나의 하이라이트 동영상을 생성하거나, 또는 상기 키워드가 복수인 경우 복수 키워드에 대응하는 적어도 하나의 하이라이트 동영상을 조합하여 하이라이트 동영상을 생성하는, 하이라이트 추출 장치.
The method of claim 12,
The processor,
When generating the highlight video, when the keyword is one, one highlight video corresponding to a single keyword is generated, or when the keyword is plural, at least one highlight video corresponding to a plurality of keywords is combined to create a Generating, highlight extraction device.
제12항에 있어서,
상기 프로세서는,
상기 동영상에 태깅할 때, 중계판이 상기 동영상에 표시된 경우 상기 중계판에 나타난 경기 정보를 인식하여 상기 경기 정보를 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 중계판이 상기 동영상에 표시되지 않은 경우 상기 중계판에 대응하는 상기 경기 정보가 존재하지 않음을 상기 동영상의 대응하는 프레임에 태깅하는, 하이라이트 추출 장치.
The method of claim 12,
The processor,
When tagging the video, when the relay board is displayed on the video, the game information displayed on the relay board is recognized and the game information is tagged to the corresponding frame of the video, or when the relay board is not displayed on the video, the relay A highlight extraction device for tagging a corresponding frame of the moving picture that the game information corresponding to the plate does not exist.
제14항에 있어서,
상기 프로세서는,
상기 동영상에서 미리 설정된 영역에 표시된 상기 중계판으로부터 특징을 추출하고, 사전에 학습된 데이터를 이용하여 상기 추출된 특징을 분류하는, 하이라이트 추출 장치.
The method of claim 14,
The processor,
A highlight extraction device for extracting features from the relay board displayed in a preset area in the video, and classifying the extracted features using previously learned data.
제14항에 있어서,
상기 중계판에 나타난 경기 정보는, 점수, 볼 카운트, 이닝을 포함하는, 하이라이트 추출 장치.
The method of claim 14,
The game information displayed on the relay board includes scores, ball counts, and innings.
제16항에 있어서,
상기 프로세서는,
상기 중계판에 나타난 경기 정보가 주자 상황을 더 포함하는 경우 상기 주자 상황을 상기 동영상의 대응하는 프레임에 태깅하거나, 또는 상기 중계판에 나타난 경기 정보가 투구수를 더 포함하는 경우 상기 투구수를 상기 동영상의 대응하는 프레임에 태깅하는, 하이라이트 추출 장치.
The method of claim 16,
The processor,
When the game information displayed on the relay board further includes a runner situation, the runner situation is tagged to a corresponding frame of the video, or when the game information displayed on the relay board further includes the number of pitches, the number of pitches is indicated. A highlight extraction device for tagging the corresponding frame of the video.
제12항에 있어서,
상기 프로세서는,
RGB를 HSV로 변환하고, 상기 HSV의 히스토그램 차이를 이용하여 상기 장면 전환을 검출하는, 하이라이트 추출 장치.
The method of claim 12,
The processor,
A highlight extraction device for converting RGB to HSV and detecting the scene change using a histogram difference of the HSV.
제18항에 있어서,
상기 프로세서는,
상기 HSV 각각의 채널 별로 이전 프레임과 현재 프레임의 히스토그램 차이를 결정하고, 상기 결정된 히스토그램 차이와 미리 설정된 기준을 비교하여 상기 장면 전환 여부를 판단하는, 하이라이트 추출 장치.
The method of claim 18,
The processor,
A highlight extraction apparatus for determining whether to change the scene by determining a histogram difference between a previous frame and a current frame for each channel of the HSV, and comparing the determined histogram difference with a preset reference.
제12항에 있어서,
상기 장면 인식은,
하이라이트 추출 장치에 의해 설정된 일정한 기준 중에서, 해당 프레임이 매칭되는 기준으로 설정되는, 하이라이트 추출 장치.
The method of claim 12,
The scene recognition,
A highlight extraction device that is set as a reference to which a corresponding frame is matched from among certain criteria set by the highlight extraction device.
제12항에 있어서,
상기 적어도 하나의 프레임은,
상기 키워드에 포함된 상황에 대응하는 타겟 투구수-1의 시작 프레임부터 상기 타겟 투구수의 마지막 프레임까지 포함하는, 하이라이트 추출 장치.
The method of claim 12,
The at least one frame,
A highlight extraction device comprising from the start frame of the target pitch number-1 corresponding to the situation included in the keyword to the last frame of the target pitch number.
KR1020200093406A 2020-07-27 2020-07-27 Method and apparatus for highlight extraction of sports game KR102248456B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200093406A KR102248456B1 (en) 2020-07-27 2020-07-27 Method and apparatus for highlight extraction of sports game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200093406A KR102248456B1 (en) 2020-07-27 2020-07-27 Method and apparatus for highlight extraction of sports game

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020180118147A Division KR102187208B1 (en) 2018-10-04 2018-10-04 Method and apparatus for highlight extraction of sports game

Publications (2)

Publication Number Publication Date
KR20200095437A KR20200095437A (en) 2020-08-10
KR102248456B1 true KR102248456B1 (en) 2021-05-06

Family

ID=72049171

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200093406A KR102248456B1 (en) 2020-07-27 2020-07-27 Method and apparatus for highlight extraction of sports game

Country Status (1)

Country Link
KR (1) KR102248456B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230126829A (en) 2022-02-24 2023-08-31 서강대학교산학협력단 Apparatus for generating a highlight image using scroll velocity and method thereof
KR20230126907A (en) 2022-02-24 2023-08-31 명지대학교 산학협력단 Method and system for extracting a specific section of video image using federated learning

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220015208A (en) 2020-07-30 2022-02-08 삼성전자주식회사 Internet of things based clothing processing apparatus, and control method thereof
KR102550305B1 (en) * 2021-04-06 2023-07-03 주식회사 에스엠시스템즈 Video automatic editing method and syste based on machine learning

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176538A (en) * 2007-01-18 2008-07-31 Toshiba Corp Video attribute information output apparatus, video summarizing device, program, and method for outputting video attribute information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101265960B1 (en) * 2007-08-21 2013-05-22 삼성전자주식회사 Apparatus of extracting highlight and method of the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176538A (en) * 2007-01-18 2008-07-31 Toshiba Corp Video attribute information output apparatus, video summarizing device, program, and method for outputting video attribute information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230126829A (en) 2022-02-24 2023-08-31 서강대학교산학협력단 Apparatus for generating a highlight image using scroll velocity and method thereof
KR20230126907A (en) 2022-02-24 2023-08-31 명지대학교 산학협력단 Method and system for extracting a specific section of video image using federated learning

Also Published As

Publication number Publication date
KR20200095437A (en) 2020-08-10

Similar Documents

Publication Publication Date Title
KR102187208B1 (en) Method and apparatus for highlight extraction of sports game
KR102248456B1 (en) Method and apparatus for highlight extraction of sports game
US11783585B2 (en) Detection of demarcating segments in video
US10642892B2 (en) Video search method and apparatus
US9510044B1 (en) TV content segmentation, categorization and identification and time-aligned applications
US7653131B2 (en) Identification of replay segments
US20140169663A1 (en) System and Method for Video Detection and Tracking
CN113574866A (en) System and method for calibrating a mobile camera for capturing broadcast video
Bhalla et al. A multimodal approach for automatic cricket video summarization
US8300894B2 (en) Method for decomposition and rendering of video content and user interface for operating the method thereof
Valand et al. Automated clipping of soccer events using machine learning
Kapela et al. Real-time event detection in field sport videos
Ghosh et al. SmartTennisTV: Automatic indexing of tennis videos
Carbonneau et al. Real-time visual play-break detection in sport events using a context descriptor
Kumar et al. Automatic summarization of broadcast cricket videos
Mei et al. Sports video mining with mosaic
KR20180066474A (en) Apparatus and method for soccer event detection based on motion
Agarwal et al. Automatic Annotation of Events and Highlights Generation of Cricket Match Videos
EP1671246A1 (en) Method and apparatus for identifying the high level structure of a program
US11417100B2 (en) Device and method of generating video synopsis of sports game
CN113537052B (en) Video clip extraction method, device, equipment and storage medium
Shah et al. Distantly Supervised Semantic Text Detection and Recognition for Broadcast Sports Videos Understanding
KR20210061641A (en) Apparatus and method for information detecting of sports game
KR20220141185A (en) Device and method for video tagging
Abduraman et al. TV Program Structuring Techniques

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant