发明名称 ELECTRONIC DEVICE WITH DISTANCE MEASURING FUNCTION AND METHOD THEREOF
摘要 A method for measuring distance includes: obtaining an image of an object and detecting whether the image of the object is clear when a camera module is initialed to capture the image of the object; controlling a lens to move along a center axis of the lens barrel when detecting the image of the object is not clear, and controlling the lens to stop moving when detecting the image of the object is clear; obtaining an image distance variation, and calculates a current image distance according to the image distance variation and a initial image distance; calculating a current object distance according to the current image distance, a focal distance, and a formula 1/u=1/f-1/v, wherein, u is the current objection distance, f is the focal distance, v is the current image distance.
申请公布号 US2013321619(A1) 申请公布日期 2013.12.05
申请号 US201213584770 申请日期 2012.08.13
申请人 LEE MING-JU;HON HAI PRECISION INDUSTRY CO., LTD. 发明人 LEE MING-JU
分类号 H04N7/18 主分类号 H04N7/18
代理机构 代理人
主权项
地址