IP Library Granted Patent US 12666133
Granted Patent B2
US 12666133 · App. 18/660,615 · Granted Jun 23, 2026

Photographing method and apparatus

Inventor: Yuchen Shi (Guangdong, CN)
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
H04N23/632H04N23/611
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 12666133
App. No.
18/660,615
Granted
Jun 23, 2026
Kind
B2
Abstract

This application discloses a photographing method and apparatus. The photographing method includes: obtaining an eyeball gaze position of a user when a front-facing camera is activated to shoot an image; and performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration; where the preset processing operation includes displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen; where the target position is within a first preset region range of the front-facing camera.

Claims (64)

1 . A photographing method, wherein the method comprises:

obtaining an eyeball gaze position of a user when a front-facing camera is activated to shoot an image; and

performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration; wherein

the preset processing operation comprises displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen; wherein the target position is within a first preset region range of the front-facing camera;

wherein before the performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration, the method further comprises:

obtaining a preset number of gaze position coordinates of the user's eyeballs on the screen within the first preset duration; and

in a case that the number of second gaze position coordinates within a second preset region range of each first gaze position coordinate is less than a first preset value, determining that the gaze position is not concentrated in a fixed region within the first preset duration; wherein the first gaze position coordinate is one of the gaze position coordinates obtained within the first preset duration, and the second gaze position coordinates are gaze position coordinates obtained within the first preset duration, excluding the first gaze position coordinate.

2 . The photographing method according to claim 1 , wherein the displaying the facial image of the first user at a target position on the screen comprises:

displaying the facial images of the first users at the target positions on the screen according to a relative positional relationship between the first users in a case that the number of the first users is at least two.

3 . The photographing method according to claim 1 , wherein the displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen comprises:

obtaining the facial image of the first user;

obtaining a target distance between the first user and the front-facing camera;

obtaining a target proportion corresponding to the target distance based on a preset corresponding relationship between the distance and the proportion; wherein the distance is a distance between the user and the front-facing camera, and the proportion is a proportion of the resized facial image to the preview image;

adjusting a size of the facial image of the first user based on the target proportion; and

displaying the resized facial image of the first user at the gaze position or at the target position on the screen.

4 . A chip, wherein the chip comprises a processor of an electronic device and a communications interface, wherein the communications interface is coupled to the processor, and the processor is configured to run a program or an instruction to perform the steps of the photographing method according to claim 1 .

5 . The chip according to claim 4 , wherein when displaying the facial image of the first user at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

displaying the facial images of the first users at the target positions on the screen according to a relative positional relationship between the first users in a case that the number of the first users is at least two.

6 . The chip according to claim 4 , wherein when displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

obtaining the facial image of the first user;

obtaining a target distance between the first user and the front-facing camera;

obtaining a target proportion corresponding to the target distance based on a preset corresponding relationship between the distance and the proportion; wherein the distance is a distance between the user and the front-facing camera, and the proportion is a proportion of the resized facial image to the preview image;

adjusting a size of the facial image of the first user based on the target proportion; and

displaying the resized facial image of the first user at the gaze position or at the target position on the screen.

7 . A computer program product, wherein the program product is stored on a non-volatile storage medium, wherein the program product is executed by at least one processor of an electronic device to perform the steps of the photographing method according to claim 1 .

8 . The computer program product according to claim 7 , wherein when displaying the facial image of the first user at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

displaying the facial images of the first users at the target positions on the screen according to a relative positional relationship between the first users in a case that the number of the first users is at least two.

9 . The computer program product according to claim 7 , wherein when displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

obtaining the facial image of the first user;

obtaining a target distance between the first user and the front-facing camera;

obtaining a target proportion corresponding to the target distance based on a preset corresponding relationship between the distance and the proportion; wherein the distance is a distance between the user and the front-facing camera, and the proportion is a proportion of the resized facial image to the preview image;

adjusting a size of the facial image of the first user based on the target proportion; and

displaying the resized facial image of the first user at the gaze position or at the target position on the screen.

10 . An electronic device comprising a processor, a memory, and a program or an instruction stored on the memory and capable of running on the processor, wherein the program or instruction, when executed by the processor, causes the electronic device to perform:

obtaining an eyeball gaze position of a user when a front-facing camera is activated to shoot an image; and

performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration; wherein

the preset processing operation comprises displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen; wherein the target position is within a first preset region range of the front-facing camera;

wherein before performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration, the program or instruction, when executed by the processor, causes the electronic device to further perform:

obtaining a preset number of gaze position coordinates of the user's eyeballs on the screen within the first preset duration; and

in a case that the number of second gaze position coordinates within a second preset region range of each first gaze position coordinate is less than a first preset value, determining that the gaze position is not concentrated in a fixed region within the first preset duration;

wherein the first gaze position coordinate is one of the gaze position coordinates obtained within the first preset duration, and the second gaze position coordinates are gaze position coordinates obtained within the first preset duration, excluding the first gaze position coordinate.

11 . The electronic device according to claim 10 , wherein when displaying the facial image of the first user at a target position on the screen, the program or instruction, when executed by the processor, causes the electronic device to perform:

displaying the facial images of the first users at the target positions on the screen according to a relative positional relationship between the first users in a case that the number of the first users is at least two.

12 . The electronic device according to claim 10 , wherein when displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen, the program or instruction, when executed by the processor, causes the electronic device to perform:

obtaining the facial image of the first user;

obtaining a target distance between the first user and the front-facing camera;

obtaining a target proportion corresponding to the target distance based on a preset corresponding relationship between the distance and the proportion; wherein the distance is a distance between the user and the front-facing camera, and the proportion is a proportion of the resized facial image to the preview image;

adjusting a size of the facial image of the first user based on the target proportion; and

displaying the resized facial image of the first user at the gaze position or at the target position on the screen.

13 . A non-transitory readable storage medium, wherein the non-transitory readable storage medium stores a program or an instruction, wherein the program or instruction, when executed by a processor of an electronic device, causes the electronic device to perform:

obtaining an eyeball gaze position of a user when a front-facing camera is activated to shoot an image; and

performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration; wherein

the preset processing operation comprises displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen; wherein the target position is within a first preset region range of the front-facing camera;

wherein before performing a preset processing operation when the gaze position is not concentrated in a fixed region within a first preset duration, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to further perform:

obtaining a preset number of gaze position coordinates of the user's eyeballs on the screen within the first preset duration; and

in a case that the number of second gaze position coordinates within a second preset region range of each first gaze position coordinate is less than a first preset value, determining that the gaze position is not concentrated in a fixed region within the first preset duration; wherein the first gaze position coordinate is one of the gaze position coordinates obtained within the first preset duration, and the second gaze position coordinates are gaze position coordinates obtained within the first preset duration, excluding the first gaze position coordinate.

14 . The non-transitory readable storage medium according to claim 13 , wherein when displaying the facial image of the first user at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

displaying the facial images of the first users at the target positions on the screen according to a relative positional relationship between the first users in a case that the number of the first users is at least two.

15 . The non-transitory readable storage medium according to claim 13 , wherein when displaying a facial image of a first user in a preview image at the gaze position or displaying the facial image of the first user in the preview image at a target position on the screen, the program or instruction, when executed by the processor of the electronic device, causes the electronic device to perform:

obtaining the facial image of the first user;

obtaining a target distance between the first user and the front-facing camera;

obtaining a target proportion corresponding to the target distance based on a preset corresponding relationship between the distance and the proportion; wherein the distance is a distance between the user and the front-facing camera, and the proportion is a proportion of the resized facial image to the preview image;

adjusting a size of the facial image of the first user based on the target proportion; and

displaying the resized facial image of the first user at the gaze position or at the target position on the screen.