Device and method for predicted autofocus on an object

    公开(公告)号:US11985421B2

    公开(公告)日:2024-05-14

    申请号:US17964449

    申请日:2022-10-12

    摘要: A method and device for predictive autofocus on an object are provided. The method includes capturing an image of a target object to be tracked by a user of camera of a device, selecting a region of interest (ROI) corresponding to a target point of the captured image of the target object, initializing a target object tracker via input of the selected ROI at i-th frame, where i=1, updating the target object tracker based on data at previous (i−1)th frame for i-th frame, where i>1, determining current camera lens position for the tracked target object at current frame, when the target object is out of the camera focus, determining disparity for the selected ROI at i-th frame from previously collected data defining dependence of distance between the target object and lens surface on the camera lens position, determining delta lens position to focus the camera on the target object as a function of disparity and current lens position or target object position in the frame by a computing unit, calculating predicted target object position and delta lens position for N future frames from coordinates of current ROI and current delta lens position, and providing predicted autofocus in real time.