Patent ID: 11877057
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. An electronic device, comprising:
a memory storing a computer program;
at least two cameras having respective intrinsic phase parameters, each of the at least two cameras is provided with a phase difference (PD) point pair set comprising one or more PD point pairs; and
a processor coupled to the memory and configured to execute the computer program to perform a method for focusing, the method comprising:
obtaining at least two target parameters, wherein each target parameter is a phase parameter obtained by using the PD point pair set of one camera, the one or more PD point pairs in the PD point pair set of the one camera are located in different areas of the one camera, and areas of another camera corresponding to the different areas where the one or more PD point pairs of the one camera are located do not have PD point pairs located therein, wherein the another camera is a camera other than the one camera in the at least two cameras;
determining at least two target phase differences based on the at least two target parameters and the intrinsic phase parameters of the at least two cameras, wherein each target phase difference is a phase difference in an area corresponding to one camera; and
controlling, based on the at least two target phase differences, the at least two cameras to focus separately.