# US 2020/0394414 A1 · Keyframe scheduling method and apparatus, electronic device, program and medium

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

- Number: US 2020/0394414 A1
- Document ID: US20200394414A1
- Status: Published application
- Kind: A1
- Application number: 16/633,341
- Filed: 2018-12-25
- Published: 2020-12-17
- Earliest claimed: 2017-12-27
- Assignees: Beijing Sensetime Technology Development Co., Ltd.
- Applicants: Beijing Sensetime Technology Development Co., Ltd.
- Inventors: Jianping SHI; Yule LI; Dahua LIN
- Web page: https://patentgrep.com/patent/US20200394414A1

## CPC

- G06V 20/47: {Detecting features for summarising video content}
- G06F 18/21: Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- 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}
- G06V 30/274: {Syntactic or semantic context, e.g. balancing}
- 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 key frame scheduling method and apparatus include: performing feature extraction on a current frame through a first network layer of a neural network to obtain low-layer features of the current frame acquiring a scheduling probability of the current frame according to low-level features of a previous key frame adjacent to the current frame and the low-level features of the current frame; determining whether the current frame is scheduled as a key frame according to the scheduling probability value of the current frame; and when determining that the current frame is scheduled as a key frame, performing feature extraction on low-level features of a current key frame via a second network layer of the neural network to obtain high-level features of the current key frame, where the network depth of the first network layer is less than the network depth of the second network layer.

## Claims

### Claim 1

A key frame scheduling method, comprising:
performing feature extraction on a current frame via a first network layer of a neural network to obtain a low-level feature of the current frame;
obtaining a scheduling probability of the current frame according to a low-level feature of a previous key frame adjacent to the current frame and the low-level feature of the current frame, wherein the low-level feature of the previous key frame is obtained by performing feature extraction on the previous key frame via the first network layer, and the scheduling probability is a probability that the current frame is scheduled as a key frame;
determining whether the current frame is scheduled as a key frame according to the scheduling probability of the current frame; and
responsive to determining that the current frame is scheduled as a key frame, determining the current frame to be a current key frame, and performing feature extraction on a low-level feature of the current key frame via a second network layer of the neural network to obtain a high-level feature of the current key frame, wherein a network depth of the first network layer is less than a network depth of the second network layer.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
determining an initial key frame;
performing feature extraction on the initial key frame via the first network layer to obtain a low-level feature of the initial key frame and buffer the low-level feature of the initial key frame; and
performing feature extraction on the low-level feature of the initial key frame via the second network layer to obtain a high-level feature of the initial key frame.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
performing semantic segmentation on the initial key frame to output a semantic label of the initial key frame.

### Claim 4 (depends on 1)

The method according to claim 1, after determining that the current frame is scheduled as a key frame, the method further comprising:
buffering the low-level feature of the current key frame.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the obtaining a scheduling probability of the current frame according to a low-level feature of a previous key frame adjacent to the current frame and the low-level feature of the current frame comprises:
splicing the low-level feature of the previous key frame and the low-level feature of the current frame to obtain a spliced feature; and
obtaining, via a key frame scheduling network, a scheduling probability of the current frame based on the spliced feature.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
performing semantic segmentation on the current key frame to output a semantic label of the current key frame.

### Claim 7

A key frame scheduling apparatus, comprising:
a processor; and
a memory for storing instructions executed by the processor,
wherein the processor is configure to:
perform feature extraction on a current frame via a first network layer of a neural network to obtain a low-level feature of the current frame;
obtain a scheduling probability of the current frame according to a low-level feature of a previous key frame adjacent to the current frame and the low-level feature of the current frame, wherein the low-level feature of the previous key frame is obtained by performing feature extraction on the previous key frame via the first network layer, and the scheduling probability is a probability that the current frame is scheduled as a key frame;
determine whether the current frame is scheduled as a key frame according to the scheduling probability of the current frame; and
responsive to determining that the current frame is scheduled as a key frame, determine the current frame to be a current key frame, and perform feature extraction on a low-level feature of the current key frame to obtain a high-level feature of the current key frame, wherein a network depth of the first network layer is less than a network depth of the second network layer.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the previous key frame comprises a predetermined initial key frame; and
the processor is further configured to:
buffer a low-level feature of the initial key frame.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the processor is further configured to buffer the low-level feature of the current key frame.

### Claim 10 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to:
splice the low-level feature of the previous key frame and the low-level feature of the current frame to obtain a spliced feature; and
obtain a scheduling probability of the current frame based on the spliced feature.

### Claim 11 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to:
perform semantic segmentation on the key frame to output a semantic label of the key frame, the key frame comprising at least one of: the initial key frame, the previous key frame, or the current key frame.

### Claim 12 (depends on 7)

An electronic device, comprising the key frame scheduling apparatus according to claim 7.

### Claim at position 13

-15. (canceled)

### Claim 16

A non-transitory computer readable medium, having stored thereon computer readable instructions that, when being executed, implement a key frame scheduling method comprising:
performing feature extraction on a current frame via a first network layer of a neural network to obtain a low-level feature of the current frame;
obtaining a scheduling probability of the current frame according to a low-level feature of a previous key frame adjacent to the current frame and the low-level feature of the current frame, wherein the low-level feature of the previous key frame is obtained by performing feature extraction on the previous key frame via the first network layer, and the scheduling probability is a probability that the current frame is scheduled as a key frame;
determining whether the current frame is scheduled as a key frame according to the scheduling probability of the current frame; and
responsive to determining that the current frame is scheduled as a key frame, determining the current frame to be a current key frame, and performing feature extraction on a low-level feature of the current key frame via a second network layer of the neural network to obtain a high-level feature of the current key frame, wherein a network depth of the first network layer is less than a network depth of the second network layer.

### Claim 17 (depends on 16)

The non-transitory computer readable medium according to claim 16, wherein the method further comprises:
determining an initial key frame;
performing feature extraction on the initial key frame via the first network layer to obtain a low-level feature of the initial key frame and buffer the low-level feature of the initial key frame; and
performing feature extraction on the low-level feature of the initial key frame via the second network layer to obtain a high-level feature of the initial key frame.

### Claim 18 (depends on 17)

The non-transitory computer readable medium according to claim 17, wherein the method further comprises:
performing semantic segmentation on the initial key frame to output a semantic label of the initial key frame.

### Claim 19 (depends on 16)

The non-transitory computer readable medium according to claim 16, wherein after determining that the current frame is scheduled as a key frame, the method further comprises: buffering the low-level feature of the current key frame.

### Claim 20 (depends on 16)

The non-transitory computer readable medium according to claim 16, wherein the obtaining a scheduling probability of the current frame according to a low-level feature of a previous key frame adjacent to the current frame and the low-level feature of the current frame comprises:
splicing the low-level feature of the previous key frame and the low-level feature of the current frame to obtain a spliced feature; and
obtaining, via a key frame scheduling network, a scheduling probability of the current frame based on the spliced feature.

### Claim 21 (depends on 16)

The non-transitory computer readable medium according to claim 16, wherein the method further comprises:
performing semantic segmentation on the current key frame to output a semantic label of the current key frame.
