# US 2019/0377957 A1 · Method, system and apparatus for selecting frames of a video sequence

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377957 A1
- Document ID: US20190377957A1
- Status: Published application
- Kind: A1
- Application number: 16/406,955
- Filed: 2019-05-08
- Published: 2019-12-12
- Earliest claimed: 2018-06-06
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: DAVID IAN JOHNSTON; MARK RONALD TAINSH; SAMMY CHAN
- Web page: https://patentgrep.com/patent/US20190377957A1

## CPC

- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06F 18/2431: Multiple classes
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- G06V 20/49: {Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes}
- G06N 3/045: Combinations of networks
- G06V 20/44: {Event detection}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method of selecting a frame capturing a short duration action from a video. The method including receiving a sequence of frames of the video; and determining a reference frame in the sequence of frames by detecting a predetermined action captured in one of a first plurality of frames from the sequence of video frames, the first plurality of frames being sampled from the sequence of frames at a first sampling rate lower than that of the sequence of frames. The method further comprises selecting a second plurality of frames from the sequence of frames, the second plurality of frames having a location associated with the reference frame in the sequence and being selected at a second sampling rate, the second sampling rate being higher than the first sampling rate; and selecting the frame capturing the short duration action from the second plurality of frames.

## Claims

### Claim 1

A method of selecting at least one frame capturing a short duration action from a video, the method comprising:
receiving a sequence of frames of the video;
determining a reference frame in the sequence of frames by detecting a predetermined action captured in one of a first plurality of frames from the sequence of video frames, the first plurality of frames being sampled from the sequence of frames at a first sampling rate lower than that of the sequence of frames;
selecting a second plurality of frames from the sequence of frames, the second plurality of frames having a location associated with the reference frame in the sequence and being selected at a second sampling rate, the second sampling rate being higher than the first sampling rate; and
selecting the at least one frame capturing the short duration action from the second plurality of frames.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first sampling rate is according to a duration of the predetermined action.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the first sampling rate is determined based on a duration of the short duration action.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
receiving a processing budget for the sequence of video data and a plurality of predetermined actions, each of the predetermined actions having a corresponding first sampling rate; and
selecting one or more predetermined actions from the plurality of predetermined actions according to a comparison of the processing budget and an estimate of processing time of the sequence of frames, the processing time determined using the corresponding first sampling rate of the selected one or more predetermined actions.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
matching the predetermined action in the reference frame to one of a plurality of predetermined actions, each of the predetermined actions having a corresponding search direction and second sampling rate; and
selecting the second plurality of frames from the sequence of video frames using the corresponding search direction and second sampling rate of the matched predetermined action.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the reference frame and the frame capturing the short duration action are classified using different thresholds wherein the threshold for the reference frame is lower than the threshold for the frame capturing the short duration action; and
wherein determining the reference frame comprises determining if a confidence score associated with detection of the predetermined action meets a threshold.

### Claim 7 (depends on 1)

The method according to claim 1, wherein frames adjacent to the reference frame are used to determine a classification of the reference frame; and
a classification matching threshold for the reference frame is varied according to a classification for the adjacent frames.

### Claim 8 (depends on 1)

The method according to claim 1, wherein selecting the frame capturing the short duration action comprises prioritising and filtering the second plurality of frames based on image quality and to avoid duplication.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the reference frame is located using a first convolutional neural network and the frame capturing the short duration action is selected using a second neural network, the second convolutional neural network having higher accuracy than the first neural network.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the reference frame is located using a first convolutional neural network and the frame capturing the short duration action is selected using a second neural network, the second convolutional neural network having higher accuracy than the first neural network, and the reference frame and the frame capturing the short duration action are decoded at a resolution matching an input dimension of a first convolutional neural network and a second convolutional neural network respectively.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the second sampling rate is determined based on a type of the predetermined action detected in the reference frame.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the steps of determining a reference frame, selecting the second plurality of frames and selecting the frame capturing the short duration action are implemented in real-time as the video is captured.

### Claim 13 (depends on 1)

The method according to claim 1, further comprising receiving a required processing time for the video via an interface of an electronic device, wherein the first sampling rate is determined according to the duration of the predetermined action and the required processing time.

### Claim 14 (depends on 1)

The method according to claim 1, further comprising determining a required processing time for the video if a user is interacting with an interface of an electronic device reproducing the video, the required processing time being a proportion of a length of the video.

### Claim 15 (depends on 1)

The method according to claim 1, further comprising determining a short duration action unlikely to be detected by operation of the method, and displaying indication that the short duration action is unlikely to be detected on an electronic device capturing or reproducing the video.

### Claim 16 (depends on 1)

The method according to claim 1, further comprising determining a short duration action unlikely to be detected by operation of the method, and displaying indication that the short duration action is unlikely to be detected on an electronic device capturing or reproducing the video, and wherein the short duration action unlikely to be detected by operation of the method is determined based upon a processing budget and a first sampling rate corresponding to a predetermined action associated with the short duration action.

### Claim 17 (depends on 1)

The method according to claim 1, further comprising receiving indication of a theme associated with the video sequence, wherein the first sampling rate is determined based upon duration of predetermined actions relevant to the theme.

### Claim 18 (depends on 1)

The method according to claim 1, further comprising receiving indication of a theme associated with the video sequence, wherein the first sampling rate is determined based upon duration of predetermined actions relevant to the theme, wherein the theme is received by user input at an interface of an electronic device executing the method.

### Claim 19 (depends on 1)

The method according to claim 1, further comprising receiving indication of a theme associated with the video sequence, wherein the first sampling rate is determined based upon duration of predetermined actions relevant to the theme, wherein the theme is determined by inputting the video to a classifier.

### Claim 20

A non-transitory computer-readable medium storing a program to implement a method of selecting at least one frame capturing a short duration action from a video, the program comprising:
code for receiving a sequence of frames of the video;
code for determining a reference frame in the sequence of frames by detecting a predetermined action captured in one of a first plurality of frames from the sequence of video frames, the first plurality of frames being sampled from the sequence of frames at a first sampling rate lower than that of the sequence of frames;
code for selecting a second plurality of frames from the sequence of frames, the second plurality of frames having a location associated with the reference frame in the sequence and being selected at a second sampling rate, the second sampling rate being higher than the first sampling rate; and
code for selecting the at least one frame capturing the short duration action from the second plurality of frames.

### Claim 21

An image capture device, comprising:
capture a sequence of frames of a video; and
one or more processors that, when executing a software program, operates to:
determine a reference frame in the sequence of frames by detecting a predetermined action captured in one of a first plurality of frames from the sequence of frames, the first plurality of frames being sampled from the sequence of frames at a first sampling rate lower than that of the sequence of frames;
select a second plurality of frames from the sequence of frames, the second plurality of frames having a location associated with the reference frame in the sequence and being selected at a second sampling rate, the second sampling rate being higher than the first sampling rate; and
select at least one frame capturing the short duration action from the second plurality of frames.

### Claim 22

A system comprising:
a processor; and
a memory device storing a software program for directing the processor to perform a method comprising the steps of:
receiving a sequence of frames of a video;
determining a reference frame in the sequence of frames by detecting a predetermined action captured in one of a first plurality of frames from the sequence of frames, the first plurality frames being sampled from the sequence of frames at a first sampling rate lower than that of the sequence of frames;
selecting a second plurality of frames from the sequence of frames, the second plurality of frames having a location associated with the reference frame in the sequence and being selected at a second sampling rate, the second sampling rate being higher than the first sampling rate; and
selecting at least one frame capturing the short duration action from the second plurality of frames.
