摘要 |
Embodiments of the present invention provide a photographing method for a dual-lens device, where the dual-lens device includes a first lens and a second lens that are disposed on a same plane, and the photographing method includes: acquiring a first image collected at a first moment by a first image sensor corresponding to the first lens and a second image collected at the first moment by a second image sensor corresponding to the second lens; performing scene recognition on the first image and/or the second image, and performing depth estimation on the first image and the second image to determine a photographing environment; determining a multi-frame algorithm according to the photographing environment; and when an instruction for a photographing operation is received, generating a picture by using the multi-frame algorithm. According to the embodiments of the present invention, when photographing is performed by using a multi-frame algorithm, two frames of images can be collected at the same time by using a dual-lens device, which can reduce impact caused by a jitter of the device or a motion of a target object, so that ghost detection and an elimination algorithm are not required, thereby reducing a photographing time. |