Photographing method and electronic device
AssigneeHonor Device Co., Ltd.
InventorsJie Yi, Yufei Huang, Mian Xiong
Life of this patent
Estimating the term…
Abstract
This application provides a photographing method and an electronic device. The electronic device can display a photographing preview interface, where the photographing preview interface includes a first image collected by a first camera and a second image collected by a second camera. If the first camera detects a first gesture, the electronic device displays a first identifier; and if the first camera detects a second gesture within a preset time after the first identifier is displayed, the electronic device continues to display the first image in the photographing preview interface, and stops displaying the second image.
Claims17
A photographing method, comprising:
- displaying, by an electronic device, a photographing preview interface, wherein the electronic device comprises a display screen, a first camera, and a second camera, wherein the first camera and the second camera are located on different sides of the display screen, wherein the first camera and the display screen are located on a same side of the electronic device, wherein a first region of the photographing preview interface displays a first image collected by the first camera in real time, and wherein a second region of the photographing preview interface displays a second image collected by the second camera in real time;
- in response to the first camera detecting a first mid-air gesture, entering, by the electronic device, a ready state in which the electronic device is ready to capture a subsequently detected mid-air gesture, and displaying, by the electronic device, a first identifier in the photographing preview interface;
- and
- based on the first camera detecting completion of a second mid-air gesture within a preset time after the first identifier is displayed, continuing, by the electronic device, to display the first image in the photographing preview interface and stopping, by the electronic device, displaying the second image;
- wherein the stopping displaying the second image comprises the second image gradually decreasing during performance of the second mid-air gesture until the second image disappears from the photographing preview interface based on the completion of the second mid-air gesture.
An electronic device, comprising:
- a display screen;
- a first camera;
- a second camera;
- a processor;
- and
- a memory, wherein the processor is coupled to the memory, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the electronic device is configured to perform operations comprising:
- displaying a photographing preview interface, wherein a first region of the photographing preview interface displays a first image collected by the first camera in real time, and wherein a second region of the photographing preview interface displays a second image collected by the second camera in real time;
- in response to the first camera detecting a first mid-air gesture, entering a ready state in which the electronic device is ready to capture a subsequently detected mid-air gesture, and displaying a first identifier in the photographing preview interface;
- and
- based on the first camera detecting completion of a second mid-air gesture within a preset time after the first identifier is displayed, continuing to display the first image in the photographing preview interface and stopping displaying the second image;
- wherein the stopping displaying the second image comprises the second image gradually decreasing during performance of the second mid-air gesture until the second image disappears from the photographing preview interface based on the completion of the second mid-air gesture.
A non-transitory computer-readable storage medium storing computer instructions, wherein when the computer instructions are run on an electronic device, the electronic device performs:
- displaying a photographing preview interface, wherein a first region of the photographing preview interface displays a first image collected by the first camera in real time, and wherein a second region of the photographing preview interface displays a second image collected by the second camera in real time;
- in response to the first camera detecting a first mid-air gesture, entering a ready state in which the electronic device is ready to capture a subsequently detected mid-air gesture, and displaying a first identifier in the photographing preview interface;
- and
- based on the first camera detecting completion of a second mid-air gesture within a preset time after the first identifier is displayed, continuing to display the first image in the photographing preview interface and stopping displaying the second image;
- wherein the stopping displaying the second image comprises the second image gradually decreasing during performance of the second mid-air gesture until the second image disappears from the photographing preview interface based on the completion of the second mid-air gesture.
Dependencies are inferred from the claim text.