LENS CONTROL METHOD AND DEVICE AND TERMINAL
摘要:
This application provides a lens control method and apparatus and a terminal. The method is applied to a camera module with an OIS motor. The module includes a lens, an OIS motor, an OIS motor driver module, and an imaging sensor. The method includes: obtaining a first speed and a first direction of a to-be-photographed object in a moving process, an object distance between the to-be-photographed object and the lens, and an image distance between the lens and the imaging sensor; calculating a second speed and a second direction based on the first speed, the first direction, the object distance, and the image distance; and sending a control signal to the OIS motor driver module, so that the OIS motor driver module drives the OIS motor to control the lens to move at the second speed and in the second direction. In this application, the second speed and the second direction required by the lens for movement are determined by using the first speed and the first direction used for movement of the to-be-photographed object, the object distance, and the image distance, and then the lens is driven by the OIS motor to move, to track the to-be-photographed object, so that a clear image of the to-be-photographed object is photographed.
公开/授权文献
信息查询
0/0