US2025328990A1PendingUtilityA1
Video processing method and apparatus, electronic device, and storage medium
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO LTDPriority: May 23, 2022Filed: May 15, 2023Published: Oct 23, 2025
Est. expiryMay 23, 2042(~15.8 yrs left)· nominal 20-yr term from priority
G06T 3/60G06T 3/4038G06V 10/16G06V 20/46G06T 7/64H04N 5/2628H04N 5/262H04N 5/2621G06T 5/50H04N 5/272G11B 27/031H04N 23/60
51
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
A video processing method and apparatus, an electronic device, and a storage medium. The video processing method comprises: in response to an effect triggering operation, extracting a target object in a video frame to be processed; and fusing the target object with an image background plate comprising at least one image to be displayed, so as to obtain an effect video frame and display the effect video frame, wherein at least one of display content and a display angle of the image background plate relative to the target object dynamically changes.
Claims
exact text as granted — not AI-modified1 . A video processing method, comprising:
extracting a target object in a video frame to be processed, in response to an effect triggering operation; generating an image background plate comprising at least one image to be displayed; and fusing the target object with the image background plate, to obtain an effect video frame and display the effect video frame; wherein at least one of display content and a display angle of the image background plate relative to the target object dynamically changes.
2 . The method according to claim 1 , wherein generating the image background plate comprising the at least one image to be displayed comprises:
performing layout processing on the at least one image to be displayed based on at least one image layout, to obtain at least one background plate to be displayed, wherein the at least one image layout is preset and/or pre-uploaded, and the image to be displayed is determined from an image resource library; and determining the image background plate based on the at least one background plate to be displayed.
3 . The method according to claim 2 , wherein the image layout comprises a horizontal grid and a vertical grid for placing the image to be displayed, and
wherein performing the layout processing on the at least one image to be displayed based on the at least one image layout, to obtain the at least one background plate to be displayed comprises:
determining at least one image to be laid out corresponding to the at least one image to be displayed according to a cropping ratio corresponding to a shooting mode; and
placing the at least one image to be laid out in a corresponding vertical grid or horizontal grid respectively, to obtain a background plate to be displayed corresponding to the image layout.
4 . The method according to claim 2 , wherein determining the image background plate based on the at least one background plate to be displayed comprises:
determining a display interface size for displaying the at least one background plate to be displayed, to determine the image background plate based on the display interface size; or performing circular stitching on the at least one background plate to be displayed, to obtain the image background plate.
5 . The method according to claim 1 , further comprising prior to extracting the target object in the video frame to be processed:
shooting the video frame to be processed corresponding to a current scene; and shooting continuously the video frame to be processed to extract the target object in the video frame to be processed, in response to detecting that an effect display condition is met.
6 . The method according to claim 1 , wherein fusing the target object with the image background plate, to obtain the effect video frame comprises:
updating, based on information about relative distance between the target object and a display interface, a display size of the image background plate in the display interface; and fusing the target object with the image background plate of the updated display size, to obtain the effect video frame.
7 . The method according to claim 1 , wherein fusing the target object with the image background plate, to obtain the effect video frame comprises:
determining a scaling ratio of the target object according to a display size of the image background plate; and fusing the target object with the image background plate according to the scaling ratio, to obtain the effect video frame.
8 . The method according to claim 1 , further comprising in a process of fusing the target object with the image background plate:
cyclically displaying the image background plate according to a cyclic display duration of the image background plate.
9 . The method according to claim 8 , further comprising in a process of cyclically displaying the image background plate:
displaying a transition effect when switching the image background plate, to display a next image background plate based on the transition effect.
10 . The method according to claim 1 , further comprising:
freezing and displaying the target object in the image background plate in response to detecting that the target object meets a freeze-display condition, to obtain the effect video frame.
11 . The method according to claim 1 , wherein the image background plate is a surround background plate obtained by stitching a plurality of background plates to be displayed, and
wherein fusing the target object with the image background plate, to obtain the effect video frame comprises:
determining curvature information of the surround background plate, and determining a scaling ratio of the target object based on the curvature information; and
fusing the target object with the surround background plate based on the scaling ratio, to obtain the effect video frame.
12 . The method according to claim 1 , further comprising:
determining a target enlarged display image in the image background plate, in a process of displaying the image background plate, to enlarge and display the target enlarged display image.
13 . The method according to claim 1 , further comprising:
determining a mirror plane corresponding to the image background plate in the display interface, to display a mirror image of the image background plate based on the mirror plane.
14 . The method according to claim 1 , further comprising:
acquiring a current video shooting mode, in response to the display content of the image background plate being determined based on a camera shooting angle; determining a scene angle to be adjusted corresponding to the image background plate based on a current shooting mode and a current shooting angle of a shooting device; and determining a target scene angle based on the scene angle to be adjusted and an initial scene angle, to determine a display angle of the image background based on the target scene angle.
15 . The method according to claim 14 , wherein determining the scene angle to be adjusted corresponding to the image background plate based on the current shooting mode and the current shooting angle of the shooting device comprises:
inverting a first direction angle and a second direction angle of the current shooting angle, in response to the current shooting mode being a front shooting mode, to obtain the scene angle to be adjusted corresponding to the image background plate.
16 . The method according to claim 14 , wherein determining the scene angle to be adjusted corresponding to the image background plate based on the current shooting mode and the current shooting angle of the shooting device comprises:
determining an angle range of a first direction angle of the current shooting angle, in response to the current shooting mode being a rear shooting mode; determining a first angle to be adjusted based on an objective function corresponding to the angle range; and determining the scene angle to be adjusted based on the first angle to be adjusted and another direction angle of the current shooting angle.
17 . The method according to claim 14 , wherein determining the target scene angle based on the scene angle to be adjusted and the initial scene angle comprises:
determining, based on the initial scene angle, an ideal scene angle and a second angle to be adjusted of the scene angle to be adjusted, a target angle corresponding to the second angle to be adjusted; and determining the target scene angle based on another angle to be adjusted and the target angle.
18 . (canceled)
19 . An electronic device, comprising:
one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors is caused to: extract a target object in a video frame to be processed, in response to an effect triggering operation; generate an image background plate comprising at least one image to be displayed; and fuse the target object with the image background plate, to obtain an effect video frame and display the effect video frame; wherein at least one of display content and a display angle of the image background plate relative to the target object dynamically changes.
20 . A non-transitory storage medium containing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, cause the computer processor to:
extract a target object in a video frame to be processed, in response to an effect triggering operation; generate an image background plate comprising at least one image to be displayed; and fuse the target object with the image background plate, to obtain an effect video frame and display the effect video frame; wherein at least one of display content and a display angle of the image background plate relative to the target object dynamically changes.
21 . The electronic device according to claim 19 , wherein the one or more programs causing the one or more processors to generate the image background plate comprising the at least one image to be displayed further causes the one or more processors to:
perform layout processing on the at least one image to be displayed based on at least one image layout, to obtain at least one background plate to be displayed, wherein the at least one image layout is preset and/or pre-uploaded, and the image to be displayed is determined from an image resource library; and determine the image background plate based on the at least one background plate to be displayed.Join the waitlist — get patent alerts
Track US2025328990A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.