CPC H04N 23/675 (2023.01) [H04N 13/128 (2018.05); H04N 13/239 (2018.05); H04N 13/296 (2018.05); H04N 23/672 (2023.01)] | 20 Claims |
1. A method of predictive autofocus on an object, the method comprising:
capturing an image of a target object to be tracked by a user of camera of a predictive autofocus device;
selecting a region of interest (ROI) corresponding to a user-selected target point of the captured image of the target object;
initializing a target object tracker via input defining (xi,yi) coordinates of the selected ROI at an i-th frame, where i=1, and updating the target object tracker based on data received at the tracker at a previous (i−1)th frame of the i-th frame, where i>1;
determining a current camera lens position for the tracked target object at a current frame, when the target object is out of a camera focus;
determining disparity (Di) for the selected ROI at the i-th frame from previously collected data defining a dependence of distance between the target object and a lens surface on the camera lens position;
determining a delta lens position to focus the camera on the target object as a function of disparity (Di) and a current lens position or target object position in the frame by a computing unit of the predictive autofocus device; and
calculating a predicted target object position and delta lens position of the camera for N future frames from (xi,yi) coordinates of current ROI and current delta lens position for the target object and providing predicted autofocus in real time by the computing unit.
|