# US 2022/0292824 A1 · Movie detection system and movie detection method

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

- Number: US 2022/0292824 A1
- Document ID: US20220292824A1
- Status: Published application
- Kind: A1
- Application number: 17/551,355
- Filed: 2021-12-15
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corp.
- Inventors: YEN-HSUN CHU
- Web page: https://patentgrep.com/patent/US20220292824A1

## CPC

- 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)}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06V 10/26: Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- 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: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A movie detection system and a movie detection method are provided. The method includes: capturing a current image of an input video source; performing a pre-processing process and an image scaling on the current image, cutting and retaining a top and a bottom of the current image, and joining the top and bottom to generate a joined current image; inputting the joined current image into a trained machine learning model to classify the joined current image as a movie image or a non-movie image. The trained machine learning model is generated by performing a training process on a machine learning model, and the training process is performed based on a plurality of joined training images. The joined training images are generated by performing the pre-processing process on a plurality of movie images with black bars and a plurality of non-movie images without black bars.

## Claims

### Claim 1

A movie detection method, comprising:
configuring an electronic device to play an input video source;
configuring a processor of the electronic device to capture a current image of the input video source and store the current image in a memory, wherein the current image has a first image scale;
performing a pre-processing process on the current image, wherein the pre-processing process includes configuring the processor to:
perform an image scaling process on the current image to generate a zoomed current image having a second image scale, wherein the second image scale is smaller than the first image scale;
perform a cutting process on the zoomed current image, and only retain a top and a bottom of the zoomed current image; and
join the top and the bottom to generate a joined current image; and
configuring the processor to input the joined current image into a trained machine learning model to classify the joined current image as a movie image or a non-movie image,
wherein the trained machine learning model is generated by performing a training process on a machine learning model, and the training process is performed based on a plurality of joined training images,
wherein the plurality of joined training images are generated by performing the pre-processing process on a plurality of movie images with black bars and a plurality of non-movie images without black bars, and the plurality of joined training images are respectively marked as the movie images and the non-movie images to be used as expected outputs of the machine learning model in the training process.

### Claim 2 (depends on 1)

The movie detection method according to claim 1, wherein the training process further includes:
performing a data augment process on the plurality of joined training images; and
inputting the plurality of joined training images processed by the data augment process to the machine learning model, evaluating performance of the machine learning model, and using the machine learning model that has passed a performance test as the trained machine learning model.

### Claim 3 (depends on 2)

The movie detection method according to claim 2, wherein the data augment process includes randomly adjusting RGB values of the plurality of joined training images within a predetermined range.

### Claim 4 (depends on 1)

The movie detection method according to claim 1, wherein the first image scale includes 4K, 2K, 1080P, and 720P, and the second image scale is smaller than 1/16 of the first image scale.

### Claim 5 (depends on 1)

The movie detection method according to claim 1, wherein the image scaling process includes a nearest neighbor interpolation, a bilinear interpolation, a bicubic interpolation, and a bitmap scaling algorithm

### Claim 6 (depends on 1)

The movie detection method according to claim 1, wherein the machine learning model is a convolutional neural network.

### Claim 7 (depends on 6)

The movie detection method according to claim 6, wherein the convolutional neural network includes:
an input convolutional layer;
a plurality of depthwise separable convolutional layers; and
a linear output layer,
wherein the plurality of depthwise separable convolutional layers each include a depthwise convolution architecture and a pointwise convolution architecture.

### Claim 8

A movie detection system, comprising:
an input video source; and
an electronic device configured to receive and play the input video source, wherein the electronic device includes:
a memory storing a trained machine learning model; and
a processor configured to capture a current image of the input video source and store the current image in the memory, wherein the current image has a first image scale,
wherein the processor is configured to perform a pre-processing process on the current image, and the pre-processing process includes:
performing an image scaling process on the current image to generate a zoomed current image having a second image scale, wherein the second image scale is smaller than the first image scale;
performing a cutting process on the zoomed current image, and only retaining a top and a bottom of the zoomed current image; and
joining the top and the bottom to generate a joined current image; and
wherein the processor is configured to input the joined current image into a trained machine learning model to classify the joined current image as a movie image or a non-movie image,
wherein the trained machine learning model is generated by performing a training process on a machine learning model, and the training process is performed based on a plurality of joined training images,
wherein the plurality of joined training images are generated by performing the pre-processing process on a plurality of movie images with black bars and a plurality of non-movie images without black bars, and the plurality of joined training images are respectively marked as the movie images and the non-movie images to be used as expected outputs of the machine learning model in the training process.

### Claim 9 (depends on 8)

The movie detection system according to claim 8, wherein the training process further includes:
performing a data augment process on the plurality of joined training images; and
inputting the plurality of joined training images processed by the data augment to the machine learning model, evaluating performance of the machine learning model, and using the machine learning model that has passed a performance test as the trained machine learning model.

### Claim 10 (depends on 9)

The movie detection system according to claim 9, wherein the data augment process includes randomly adjusting the RGB values of the joined training images within a predetermined range.

### Claim 11 (depends on 8)

The movie detection system according to claim 8, wherein the first image scale includes 4K, 2K, 1080P, and 720P, and the second image scale is smaller than 1/16 of the first image scale.

### Claim 12 (depends on 8)

The movie detection system according to claim 8, wherein the image scaling process includes a nearest neighbor interpolation, a bilinear interpolation method, a bicubic interpolation method, and a bitmap scaling algorithm

### Claim 13 (depends on 8)

The movie detection system according to claim 8, wherein the machine learning model is a convolutional neural network.

### Claim 14 (depends on 13)

The movie detection system according to claim 13, wherein the convolutional neural network includes:
an input convolutional layer;
a plurality of depthwise separable convolutional layers; and
a linear output layer,
wherein the plurality of depthwise separable convolutional layers each include a depthwise convolution architecture and a pointwise convolution architecture.
