IP Library › Granted Patent US 11,490,157
Granted Patent B2
US 11,490,157 · App. 17/331,508 · Granted Nov 1, 2022

Method for controlling video enhancement, device, electronic device and storage medium

Inventor: Deliang Peng (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N21/44008
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,490,157
App. No.
17/331,508
Granted
Nov 1, 2022
Kind
B2
Abstract

A method for controlling video enhancement, a device, an electronic device, and a storage medium are provided. The method includes acquiring video content of a played video after it is detected that the electronic device is in a video playback state; identifying a type of the played video based on the video content; determining whether the type is a target type or not; and performing video enhancement on the played video in response to determining type of the played video being a target type. The video enhancement includes performing enhancement on an image of the played video.

Claims (66)

1. A method for controlling video enhancement applied to an electronic device, the method comprising:

acquiring video content of a played video in response to detecting that the electronic device is in a video playback state, wherein the video content comprises content of multiple frames of images;

acquiring the content of the multiple frames of images;

calculating a change frequency of the content of the multiple frames of images;

determining a type of the played video based on the change frequency;

determining whether the type is a target type or not; and

performing video enhancement on the played video in response to determining type of the played video being a target type, the video enhancement comprising performing enhancement on an image of the played video.

2. The method as claimed in claim 1 , wherein the step of performing video enhancement on the played video in response to determining type of the played video being a target type comprises:

obtaining a designated parameter of the played video in response to determining type of the played video being the target type;

matching the designated parameter with a reference parameter corresponding to the type of the played video; and

performing video enhancement on the played video when matching is successful.

3. The method as claimed in claim 2 , wherein before the step of performing video enhancement on the played video in response to determining type of the played video being a target type, the method further comprises:

acquiring a designated number of videos of the type; and

performing machine learning on the designated number of videos of the type to obtain the reference parameter corresponding to the type.

4. The method as claimed in claim 1 , wherein the step of determining the type of the played video based on the change frequency comprises:

determining the played video to be a teaching video when the change frequency is lower than a set value; and

determining the played video to be a TV series video or a movie video when the change frequency is not lower than the set value.

5. The method as claimed in claim 1 , wherein the step of acquiring the content of the multiple frames of images comprises:

acquiring content of a designated area of each of the multiple frames of images, and the designated area of each frame of image of the multiple frames of images being the same.

6. The method as claimed in claim 1 , wherein the step of acquiring the content of the multiple frames of images comprises:

acquiring multiple video content stages comprised in the played video along a playback time sequence; and

acquiring content of at least one frame of image from each of the multiple video content stages to acquire the content of the multiple frames of images.

7. The method as claimed in claim 1 , further comprising:

obtaining a duration of the played video; and

determining time parameters of the multiple video content stages based on the duration, the time parameters comprising a duration of each of the video content stages, a number of the multiple video content stages, and at least one of time intervals between adjacent video content stages.

8. The method as claimed in claim 1 , wherein the step of performing video enhancement on the played video in response to determining type of the played video being the target type comprises:

displaying a trigger control for activating video enhancement in response to determining type of the played video being the target type; and

performing video enhancement on the played video when a touch operation acting on the trigger control is detected.

9. The method as claimed in claim 1 , wherein the step of performing video enhancement on the played video in response to determining type of the played video being a target type comprises:

obtaining a designated image parameter corresponding to the target type, the designated image parameter being selected from an image parameter of the played video; and

adjusting the designated image parameter to perform enhancement on the image of the played video.

10. The method as claimed in claim 9 , wherein the image parameter comprises at least one of a definition adjustment parameter, a lens stretching control parameter, a color adjustment parameter, a sharpness adjustment parameter, a brightness adjustment parameter, a contrast adjustment parameter, a color gamut control parameter, a purity control parameter, a noise reduction control parameter and a saturation adjustment parameter.

11. The method as claimed in claim 1 , further comprising:

not performing video enhancement on the played video in response to determining type of the played video being not the target type.

12. The method as claimed in claim 1 , wherein before the step of acquiring the video content of the played video after it is detected that the electronic device is in the video playback state, the method comprises:

detecting whether there is a set video playback application running or not; and

determining that the electronic device is in the video playback state when it is detected that there is the set video playback application that is running.

13. The method as claimed in claim 1 , wherein before the step of acquiring the video content of the played video after it is detected that the electronic device is in the video playback state, the method comprises:

obtaining an application currently running in a foreground;

detecting whether the application is on a pre-established list of video playback applications or not; and

determining that the electronic device is in the video playback state when it is on the pre-established list of video playback applications.

14. The method as claimed in claim 13 , wherein the step of detecting whether the application is on the pre-established list of video playback applications or not comprises:

detecting a usage frequency of the application; and

determining that the application is on the pre-established list of video playback applications when the usage frequency exceeds a set frequency.

15. The method as claimed in claim 1 , wherein before the step of acquiring the video content of the played video after it is detected that the electronic device is in the video playback state, the method comprises:

determining whether there is an audio output or not;

detecting whether there is a video playback application running or not when there is the audio output; and

determining that the electronic device is in the video playback state when there is the video playback application running.

16. An electronic device comprising one or more processors, a video coder/decoder and a memory;

one or more program instructions stored in the memory and executable by the one or more processors to perform operations comprising:

acquiring video content of a played video after it is detected that the electronic device is in a video playback state, wherein the video content comprises content of multiple frames of images;

acquiring the content of the multiple frames of images;

calculating a change frequency of the content of the multiple frames of images;

determining a type of the played video based on the change frequency;

determining whether the type is a target type or not; and

performing video enhancement on the played video in response to determining type of the played video being the target type, the video enhancement comprising performing enhancement on an image of the played video.

17. The electronic device as claimed in claim 16 , wherein the operations further comprise:

not to perform video enhancement on the played video in response to determining type of the played video being not the target type.

18. A non-transitory computer-readable storage medium storing one or more program codes executable by a processor to perform operations comprising:

acquiring video content of a played video after it is detected that the electronic device is in a video playback state, wherein the video content comprises content of multiple frames of images;

acquiring the content of the multiple frames of images;

calculating a change frequency of the content of the multiple frames of images;

determining a type of the played video based on the change frequency;

determining whether the type is a target type or not; and

performing video enhancement on the played video in response to determining type of the played video being a target type, the video enhancement comprising performing enhancement on an image of the played video.

19. The non-transitory computer-readable storage medium as claimed in claim 18 , wherein the operations further comprise: not to perform video enhancement on the played video in response to determining type of the played video being not the target type.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 3, 2021
From: PENG, DELIANG
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 056435/0376 →
Priority Claims (1)
CN 201811428168.7 · Nov 27, 2018 · national
Continuity (2)
Continuation PCTCN2019102907 · Aug 27, 2019
Related Publication 20210297734A1 · Sep 23, 2021
Cited By (1)
US 12,309,447