-
公开(公告)号:US20190208131A1
公开(公告)日:2019-07-04
申请号:US16090444
申请日:2016-03-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: Cheng Du , Wei Luo , Xin Guo , Huaiyang Rong , Jin Wu
IPC: H04N5/232
CPC classification number: H04N5/232123 , H04N5/232 , H04N5/232127 , H04N5/23219
Abstract: A method includes determining to set a face area as a current focus window when a face is detected in a to-be-photographed image, detecting a preset location in the face area, adjusting a width of the current focus window according to the preset location in the face area, stretching a length of the current focus window according to at least a first preset ratio and a second preset ratio, calculating at least a contrast value of an image in the first focus window and a contrast value of an image in the second focus window, and determining a final focus window according to the at least two contrast values. Therefore, the width of the focus window is reduced, so that such that the focus window is without background content.
-
公开(公告)号:US20190320120A1
公开(公告)日:2019-10-17
申请号:US16087926
申请日:2016-03-23
Applicant: Huawei Technologies Co., Ltd.
Inventor: Cheng Du , Wei Luo , Xin Guo , Huaiyang Rong , Jin Wu
Abstract: A camera focusing method, apparatus, and device for a terminal, and relate to the field of electronic device technologies to improve focusing precision of a terminal in a camera focusing process. The method includes obtaining a first confidence and a second confidence, determining a target ranging manner and a target object distance when the first confidence and the second confidence meet a preset condition, and determining a target position in a lens position interval to help a first camera and a second camera complete focusing.
-