-
公开(公告)号:US20220020165A1
公开(公告)日:2022-01-20
申请号:US17290660
申请日:2019-10-21
Applicant: Honor Device Co., Ltd.
Inventor: Guoqiao Chen , Mengyou Yuan , Jiangfeng Yuan
Abstract: Embodiments of this application provide a method for obtaining depth information and an electronic device. The method is applied to the field of image processing technologies and can help an electronic device improve accuracy of obtaining depth information. A specific solution includes: The electronic device includes a first camera, a second camera, and an infrared projector. The electronic device receives a first instruction used to trigger the electronic device to obtain depth information of a target object; in response to the first instruction, transmits infrared light with a light spot by using an infrared projector; collects first image information of the target object by using the first camera; collects second image information of the target object by using the second camera, where the first image information and the second image information include a feature of the target object and a texture feature formed when infrared light with a light spot is irradiated onto the target object; and calculates depth information of the target object based on the first image information, the second image information, the first length, a lens focal length of the first camera, and a lens focal length of the second camera.
-
公开(公告)号:US12205312B2
公开(公告)日:2025-01-21
申请号:US17290660
申请日:2019-10-21
Applicant: Honor Device Co., Ltd.
Inventor: Guoqiao Chen , Mengyou Yuan , Jiangfeng Yuan
Abstract: Embodiments of this application provide a method for obtaining depth information and an electronic device, which is applied to the field of image processing technologies and can help an electronic device improve accuracy of obtaining depth information. The electronic device includes a first camera, a second camera, and an infrared projector. The electronic device receives a instruction to obtain depth information of a target object; transmits infrared light with a light spot by an infrared projector; collects first image information of the target object by using the first camera; collects second image information by using the second camera, where the first and second image information include a feature of the target object and a texture feature formed by infrared light; and calculates depth information of the target object based on the first and second image information, the first length, lens focal lengths of the first camera and the second camera.
-