Patent ID: 11870951
Assignee: HONOR DEVICE CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A photographing method, comprising:
starting a camera application and displaying a first interface, wherein the first interface comprises a first control for enabling a first function;
displaying a second interface in response to a first user operation acting on the first control, wherein the second interface comprises a second control and the second control is used for selecting a target template;
displaying a third interface in response to a second user operation of selecting the target template, wherein the third interface comprises a first preview;
displaying first prompt information, for prompting a user to move an electronic device or rotate the electronic device;
acquiring, by the electronic device, a plurality of first images in a process in which the user moves the electronic device or rotates the electronic device;
calculating a current position and an attitude of the electronic device based at least on the plurality of first images and the first preview;
calculating one or more of, a moving direction, a moving distance, an attitude rotation direction, or a rotation angle of the electronic device, based on the current position and the attitude of the electronic device and anchor information of the target template; and
displaying instruction information instructing the user to move the current position of the electronic device or the attitude of the electronic device based on the moving direction, the moving distance, the attitude rotation direction, or the rotation angle of the electronic device; and
displaying a fourth interface, wherein the fourth interface comprises a second preview and composition of the second preview is the same as that of the target template.