摘要 |
The present disclosure relates to an automatic focusing method and device. The method comprises: after a user clicks on a target object in a viewfinder to complete the manual focusing, acquiring first spatial data of the target object; when it is detected that viewing content in the viewfinder has changed, acquiring position change data; according to the first spatial data and the position change data, calculating second spatial data of the target object; and according to the second spatial data, automatically focusing the target object. By utilizing the embodiments of the present disclosure, in the photography process of the user, if the viewfinder moves but the target object does not move out of the viewfinder, the target object can be automatically focused, thereby avoiding a manual focusing operation when the viewing content has changed, simplifying the focusing operation flow, increasing the focusing speed, and correspondingly improving the photography experience of the user. |