IP Library › Granted Patent US 12,250,490
Granted Patent B2
US 12,250,490 · App. 17/629,245 · Granted Mar 11, 2025

Method for processing video, terminal, and storage medium

Inventor: Zhongjian Feng (Zhejiang, CN)
Assignee: Hangzhou Hikvision Digital Technology Co., Ltd.
H04N5/2628
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 12,250,490
App. No.
17/629,245
Granted
Mar 11, 2025
Kind
B2
Abstract

Provided is a method for processing a video. The method includes: superimposing a transparent image layer on a video playback window; acquiring a first image by capturing images from a video played in the video playback window in response to acquiring a specified region to be enlarged and displayed in the video playback window; acquiring a second image by clipping the first image based on the specified region, wherein the second image comprises the specified region; and enlarging and displaying the second image on the transparent image layer.

Claims (68)

1. A method for processing a video, comprising:

superimposing a transparent image layer on a video playback window, wherein the video playback window is a window corresponding to a video player of a browser;

acquiring a first image by capturing images from a video played in the video playback window in response to acquiring a drawn specified region to be enlarged and displayed in the video playback window;

acquiring a second image by clipping the first image based on the specified region, wherein the second image comprises the specified region; and

enlarging and displaying the second image on the transparent image layer; and

wherein

acquiring the first image by capturing images from the video played in the video playback window comprises:

acquiring one first image by capturing images from the video for every preset time period;

acquiring the second image by clipping the first image based on the specified region comprises:

acquiring, each time one first image is acquired, one second image by clipping the one first image currently acquired based on the specified region; and

enlarging and displaying the second image on the transparent image layer comprises:

updating, each time one second image is acquired, the second image currently displayed on the transparent image layer to the one second image currently acquired or keeping the second image currently displayed unchanged, based on the one second image currently acquired.

2. The method according to claim 1 , wherein updating the second image currently displayed on the transparent image layer to the second image currently acquired or keeping the second image currently displayed unchanged, based on the second image currently acquired comprises:

acquiring a similarity degree between the second image currently acquired and the second image currently displayed; and

updating the second image currently displayed to the second image currently acquired in the case that the similarity degree is less than a preset threshold; or

keeping the second image currently displayed unchanged in the case that the similarity degree is greater than or equal to the preset threshold.

3. The method according to claim 1 , wherein prior to superimposing the transparent image layer on the video playback window, the method further comprises:

enabling an enlarging function in response to receiving an enabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window.

4. The method according to claim 1 , wherein upon enlarging and displaying the second image on the transparent image layer, the method further comprises:

disabling an enlarging function in response to receiving a disabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window; and

deleting the transparent image layer.

5. The method according to claim 1 , wherein prior to superimposing the transparent image layer on the video playback window, the method further comprises:

playing the video in the video playback window over the video player of the browser.

6. The method according to claim 1 , wherein a size of the transparent image layer is equal to a size of the video playback window, and a displayed size of the second image is equal to the size of the transparent image layer.

7. A terminal, comprising: a processor and a memory configured to store at least one instruction, wherein the processor, when executing the at least one instruction, is caused to perform a method for processing a video comprising:

superimposing a transparent image layer on a video playback window, wherein the video playback window is a window corresponding to a video player of a browser;

acquiring a first image by capturing images from a video played in the video playback window in response to acquiring a drawn specified region to be enlarged and displayed in the video playback window;

acquiring a second image by clipping the first image based on the specified region, wherein the second image comprises the specified region; and

enlarging and displaying the second image on the transparent image layer; and

wherein the processor is configured to:

acquire one first image by capturing images from the video for every preset time period;

acquire, each time one first image is acquired, one second image by clipping the one first image currently acquired based on the specified region; and

update, each time one second image is acquired, the second image currently displayed on the transparent image layer to the one second image currently acquired or keep the second image currently displayed unchanged, based on the one second image currently acquired.

8. The terminal according to claim 7 , wherein the processor is configured to:

acquire a similarity degree between the second image currently acquired and the second image currently displayed; and

update the second image currently displayed to the second image currently acquired in the case that the similarity degree is less than a preset threshold; or

keep the second image currently displayed unchanged in the case that the similarity degree is greater than or equal to the preset threshold.

9. The terminal according to claim 7 , wherein the processor is configured to:

enable an enlarging function in response to receiving an enabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window.

10. The terminal according to claim 7 , wherein the processor is configured to:

disable an enlarging function in response to receiving a disabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window; and

delete the transparent image layer.

11. The terminal according to claim 7 , wherein the processor is configured to:

play the video in the video playback window by the video player of the browser.

12. The terminal according to claim 7 , wherein a size of the transparent image layer is equal to a size of the video playback window, and a displayed size of the second image is equal to the size of the transparent image layer.

13. A non-transitory storage medium storing at least one instruction, wherein the at least one instruction, when executed by a processor, causes the processor to perform a method for processing a video, wherein the method comprises:

superimposing a transparent image layer on a video playback window, wherein the video playback window is a window corresponding to a video player of a browser;

acquiring a first image by capturing images from a video played in the video playback window in response to acquiring a drawn specified region to be enlarged and displayed in the video playback window;

acquiring a second image by clipping the first image based on the specified region, wherein the second image comprises the specified region; and

enlarging and displaying the second image on the transparent image layer; and

wherein

acquiring the first image by capturing images from the video played in the video playback window comprises:

acquiring one first image by capturing images from the video for every preset time period;

acquiring the second image by clipping the first image based on the specified region comprises:

acquiring, each time one first image is acquired, one second image by clipping the one first image currently acquired based on the specified region; and

enlarging and displaying the second image on the transparent image layer comprises:

updating, each time one second image is acquired, the second image currently displayed on the transparent image layer to the one second image currently acquired or keeping the second image currently displayed unchanged, based on the one second image currently acquired.

14. The non-transitory storage medium according to claim 13 , wherein updating the second image currently displayed on the transparent image layer to the second image currently acquired or keeping the second image currently displayed unchanged, based on the second image currently acquired comprises:

acquiring a similarity degree between the second image currently acquired and the second image currently displayed; and

updating the second image currently displayed to the second image currently acquired in the case that the similarity degree is less than a preset threshold; or

keeping the second image currently displayed unchanged in the case that the similarity degree is greater than or equal to the preset threshold.

15. The non-transitory storage medium according to claim 13 , wherein prior to superimposing the transparent image layer on the video playback window, the method further comprises:

enabling an enlarging function in response to receiving an enabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window.

16. The non-transitory storage medium according to claim 13 , wherein upon enlarging and displaying the second image on the transparent image layer, the method further comprises:

disabling an enlarging function in response to receiving a disabling instruction of the enlarging function, wherein the enlarging function is configured to enlarge and display any region of the video in the video playback window; and

deleting the transparent image layer.

17. The non-transitory storage medium according to claim 13 , wherein prior to superimposing the transparent image layer on the video playback window, the method further comprises:

playing the video in the video playback window over the video player of the browser.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 21, 2022
From: FENG, ZHONGJIAN
To: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Reel/Frame 058730/0891 →
Priority Claims (1)
CN 201910668099.5 · Jul 23, 2019 · national
Continuity (1)
Related Publication 20220256099A1 · Aug 11, 2022
References Cited (26)
US 20040012621A1 · Kaneko · 2004 [cited by examiner]
US 20050151885A1 · Choi · 2005 [cited by applicant]
US 20100313129A1 · Hyman · 2010 [cited by examiner]
US 20120017142A1 · Nagao · 2012 [cited by applicant]
US 20160269677A1 · Lee et al. · 2016 [cited by applicant]
US 20170178289A1 · Zhang et al. · 2017 [cited by applicant]
US 20180018079A1 · Monastyrshyn · 2018 [cited by examiner]
CN 1627790A · 2005 [cited by applicant]
CN 102984595A · 2013 [cited by applicant]
CN 105578275A · 2016 [cited by applicant]
CN 106504280A · 2017 [cited by applicant]
CN 107465953A · 2017 [cited by applicant]
CN 107665139A · 2018 [cited by applicant]
CN 108008991A · 2018 [cited by applicant]
CN 109005446A · 2018 [cited by applicant]
CN 109963200A · 2019 [cited by applicant]
CN 111355998A · 2020 [cited by applicant]
JP H06350892A · 1994 [cited by applicant]
JP H1070303A · 1998 [cited by applicant]
TW 281741B · 1996 [cited by applicant]
WO 2012021246A2 · 2012 [cited by applicant]
WO 2014183348A1 · 2014 [cited by applicant]
Extended European search report of counterpart European application No. 20842927.4 issued on Aug. 8, 2022. [cited by applicant]
International search report of PCT application No. PCT/CN2020/103257 issued on Oct. 13, 2020. [cited by applicant]
First office action of Chinese application No. 201910668099.5 issued on Mar. 3, 2021. [cited by applicant]
Second office action of Chinese application No. 201910668099.5 issued on Oct. 11, 2021. [cited by applicant]