# US 2025/0220264 A1 · Method, apparatus, electronic device and storage medium for camera function page switching

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

- Number: US 2025/0220264 A1
- Document ID: US20250220264A1
- Status: Published application
- Kind: A1
- Application number: 18/852,383
- Filed: 2023-03-29
- Published: 2025-07-03
- Earliest claimed: 2022-03-30
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Qingdong CHENG
- Web page: https://patentgrep.com/patent/US20250220264A1

## CPC

- H04N 21/4318: {by altering the content in the rendering process, e.g. blanking, blurring or masking an image region (image enhancement or restoration in general G06T5/00)}
- G06T 5/70: Denoising; Smoothing
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B 27/34: Indicating arrangements {(indicating means incorporated in magazine or cassette G11B23/046 and G11B23/0875; indicating measured values in general G01D)}
- H04N 21/4312: {involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations}
- H04N 23/60: Control of cameras or camera modules
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- G06T 2207/30244: Camera pose
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium, computer program product, and computer program for camera function page switching. A video editing page is started based on a selected first video. The video editing page is used to edit the first video based on an editing instruction input by the user. In response to a shooting trigger instruction for the video editing page, the video editing page is closed, and a video shooting page is started. A preview image is obtained based on the first video, and the preview image is displayed in the video shooting page, wherein the preview image includes at least one video frame generated based on the first video. A second video is collected through the camera unit after initialization of the camera unit is completed. The video editing page is jumped to, and a synthesized video is played through the video editing page, where the synthesized video is generated after processing the first video and the second video based on a target editing operation. The video shooting page is avoided to be in a black screen state, thereby improving the smoothness and visual experience of generating synthesized videos and improving the user experience.

## Claims

### Claim 1

A method of camera function page switching, applied to a terminal device with a camera unit, the method comprising:
starting, based on a selected first video, a video editing page for editing the first video based on an editing instruction input by a user;
in response to a shooting trigger instruction for the video editing page, closing the video editing page and starting a video shooting page;
obtaining a preview image based on the first video, and displaying the preview image in the video shooting page, wherein the preview image comprises at least one video frame generated based on the first video;
collecting a second video through the camera unit after initialization of the camera unit is completed; and
jumping to the video editing page and playing a synthesized video through the video editing page, wherein the synthesized video is generated after processing the first video and the second video based on a target editing operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein obtaining the preview image based on the first video comprises:
obtaining first pose information and second pose information, wherein the first pose information characterizes a body angle of the terminal device when shooting the first video, and the second pose information characterizes a current body angle of the terminal device;
obtaining a target frame in the first video based on the first pose information and the second pose information, wherein an angle difference between a body angle corresponding to the target frame and a body angle corresponding to the preview image is less than an angle threshold value; and
generating the preview image based on the target frame.

### Claim 3 (depends on 2)

The method of claim 2, wherein the target frame comprises a plurality of continuous frames of pictures; the first pose information comprises a pose sequence and a corresponding timestamp sequence, the pose sequence comprises at least one pose value characterizing a body angle of the terminal device during the shooting of the first video, the timestamp sequence comprises at least one timestamp corresponding to the at least one pose value, respectively;
wherein obtaining the target frame in the first video based on the first pose information and the second pose information comprises:
determining a first body angle based on the second pose information;
determining a target pose value and a corresponding target timestamp based on the first body angle and the first pose information; and
determining the plurality of continuous frames of pictures based on the target timestamp corresponding to the target pose value and at least one timestamp subsequent to the target timestamp.

### Claim 4 (depends on 1)

The method of any of claim 1, wherein the preview image comprises a plurality of continuous frames of pictures; and displaying the preview image in the video shooting page comprises:
displaying the plurality of continuous frames of pictures sequentially in the video shooting page within a predetermined duration, wherein the predetermined duration characterizes an initialization duration of the camera unit.

### Claim 5 (depends on 1)

The method of claim 1, wherein before displaying the preview image in the video shooting page, the method further comprises:
performing Gaussian blurring on the preview image to obtain an image to be displayed;
wherein displaying the preview image in the video shooting page comprises:
displaying the image to be displayed in the video shooting page.

### Claim 6 (depends on 1)

The method of claim 1, wherein the terminal device has a display interface, and displaying the preview image in the video shooting page comprises:
drawing a page sticker corresponding to the video shooting page in a first area of the display interface; and
drawing the preview image in a second area of the display interface.

### Claim 7 (depends on 6)

The method of claim 6, wherein after closing the video editing page, the method further comprises:
setting a rendering environment as an initialized rendering environment, wherein the initialized rendering environment is used for drawing the video shooting page and the preview image in the display interface.

### Claim 8 (depends on 1)

The method of claim 1, wherein starting the video shooting page comprises:
initializing the camera unit through a first process to start the video shooting page;
wherein displaying the preview image in the video shooting page comprises:
displaying the preview image in the video shooting page through a second process.

### Claim 9

(canceled)

### Claim 10

(canceled)

### Claim 11

(canceled)

### Claim 12

(canceled)

### Claim 13

(canceled)

### Claim 14

An electronic device, comprising: a processor, and a memory in communication connection with the processor;
the memory storing computer execution instructions;
the processor executing the computer execution instructions stored in the memory to implement acts of camera function page switching, the acts comprising:
starting, based on a selected first video, a video editing page for editing the first video based on an editing instruction input by a user;
in response to a shooting trigger instruction for the video editing page, closing the video editing page and starting a video shooting page;
obtaining a preview image based on the first video, and displaying the preview image in the video shooting page, wherein the preview image comprises at least one video frame generated based on the first video;
collecting a second video through the camera unit after initialization of the camera unit is completed; and
jumping to the video editing page and playing a synthesized video through the video editing page, wherein the synthesized video is generated after processing the first video and the second video based on a target editing operation.

### Claim 15 (depends on 14)

The device of claim 14, wherein obtaining the preview image based on the first video comprises:
obtaining first pose information and second pose information, wherein the first pose information characterizes a body angle of the terminal device when shooting the first video, and the second pose information characterizes a current body angle of the terminal device;
obtaining a target frame in the first video based on the first pose information and the second pose information, wherein an angle difference between a body angle corresponding to the target frame and a body angle corresponding to the preview image is less than an angle threshold value; and
generating the preview image based on the target frame.

### Claim 16 (depends on 15)

The device of claim 15, wherein the target frame comprises a plurality of continuous frames of pictures; the first pose information comprises a pose sequence and a corresponding timestamp sequence, the pose sequence comprises at least one pose value characterizing a body angle of the terminal device during the shooting of the first video, the timestamp sequence comprises at least one timestamp corresponding to the at least one pose value, respectively;
wherein obtaining the target frame in the first video based on the first pose information and the second pose information comprises:
determining a first body angle based on the second pose information;
determining a target pose value and a corresponding target timestamp based on the first body angle and the first pose information; and
determining the plurality of continuous frames of pictures based on the target timestamp corresponding to the target pose value and at least one timestamp subsequent to the target timestamp.

### Claim 17 (depends on 14)

The device of claim 14, wherein the preview image comprises a plurality of continuous frames of pictures; and displaying the preview image in the video shooting page comprises:
displaying the plurality of continuous frames of pictures sequentially in the video shooting page within a predetermined duration, wherein the predetermined duration characterizes an initialization duration of the camera unit.

### Claim 18 (depends on 14)

The device of claim 14, wherein before displaying the preview image in the video shooting page, the acts further comprise:
performing Gaussian blurring on the preview image to obtain an image to be displayed;
wherein displaying the preview image in the video shooting page comprises:
displaying the image to be displayed in the video shooting page.

### Claim 19 (depends on 14)

The device of claim 14, wherein the terminal device has a display interface, and displaying the preview image in the video shooting page comprises:
drawing a page sticker corresponding to the video shooting page in a first area of the display interface; and
drawing the preview image in a second area of the display interface.

### Claim 20 (depends on 19)

The device of claim 19, wherein after closing the video editing page, the acts further comprise:
setting a rendering environment as an initialized rendering environment, wherein the initialized rendering environment is used for drawing the video shooting page and the preview image in the display interface.

### Claim 21 (depends on 14)

The device of claim 14, wherein starting the video shooting page comprises:
initializing the camera unit through a first process to start the video shooting page;
wherein displaying the preview image in the video shooting page comprises:
displaying the preview image in the video shooting page through a second process.

### Claim 22

A non-transitory computer readable storage medium storing a computer execution instruction, the computer execution instruction, when a processor executes the computer execution instruction, implementing acts of camera function page switching, the acts comprising:
starting, based on a selected first video, a video editing page for editing the first video based on an editing instruction input by a user;
in response to a shooting trigger instruction for the video editing page, closing the video editing page and starting a video shooting page;
obtaining a preview image based on the first video, and displaying the preview image in the video shooting page, wherein the preview image comprises at least one video frame generated based on the first video;
collecting a second video through the camera unit after initialization of the camera unit is completed; and
jumping to the video editing page and playing a synthesized video through the video editing page, wherein the synthesized video is generated after processing the first video and the second video based on a target editing operation.

### Claim 23 (depends on 22)

The medium of claim 22, wherein obtaining the preview image based on the first video comprises:
obtaining first pose information and second pose information, wherein the first pose information characterizes a body angle of the terminal device when shooting the first video, and the second pose information characterizes a current body angle of the terminal device;
obtaining a target frame in the first video based on the first pose information and the second pose information, wherein an angle difference between a body angle corresponding to the target frame and a body angle corresponding to the preview image is less than an angle threshold value; and
generating the preview image based on the target frame.

### Claim 24 (depends on 23)

The medium of claim 23, wherein the target frame comprises a plurality of continuous frames of pictures; the first pose information comprises a pose sequence and a corresponding timestamp sequence, the pose sequence comprises at least one pose value characterizing a body angle of the terminal device during the shooting of the first video, the timestamp sequence comprises at least one timestamp corresponding to the at least one pose value, respectively;
wherein obtaining the target frame in the first video based on the first pose information and the second pose information comprises:
determining a first body angle based on the second pose information;
determining a target pose value and a corresponding target timestamp based on the first body angle and the first pose information; and
determining the plurality of continuous frames of pictures based on the target timestamp corresponding to the target pose value and at least one timestamp subsequent to the target timestamp.

### Claim 25 (depends on 22)

The medium of claim 22, wherein the preview image comprises a plurality of continuous frames of pictures; and displaying the preview image in the video shooting page comprises:
displaying the plurality of continuous frames of pictures sequentially in the video shooting page within a predetermined duration, wherein the predetermined duration characterizes an initialization duration of the camera unit.
