Focusing method and device

The invention discloses a focusing method and device, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring a preview image displayed on a shooting preview interface; under the condition that the preview image comprises face features, face in...

Full description

Saved in:
Bibliographic Details
Main Author CHEN DIANHAO
Format Patent
LanguageChinese
English
Published 22.04.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a focusing method and device, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring a preview image displayed on a shooting preview interface; under the condition that the preview image comprises face features, face instance segmentation is carried out on the preview image to obtain a region of interest, and the shape of the region of interest changes along with the shape change of the face features in the preview image; determining a focusing position according to the region of interest; and adjusting the focusing center of the camera of the electronic equipment according to the focusing position. 本申请公开了一种对焦方法及其装置,属于电子设备技术领域。该方法包括:获取拍摄预览界面显示的预览图像;在所述预览图像包括人脸特征的情况下,对所述预览图像进行人脸实例分割,得到感兴趣区域,其中,所述感兴趣区域的形状跟随所述预览图像中人脸特征的形状变化;根据所述感兴趣区域,确定合焦位置;根据所述合焦位置,调整电子设备的摄像头的对焦中心。
Bibliography:Application Number: CN202210034270