Patent ID: 9729775
Date: 2017-08-08
CPC Classifications: H04N

Claim:
1. An auto-focusing method for use in a device, comprising: after performing a manual focusing on a target object through receiving a user operation on the target object in a viewfinder of the device, acquiring first spatial data of the target object; when detecting a change of contents of a view in the viewfinder, acquiring position variation data of the target object; acquiring second spatial data of the target object according to the first spatial data and the position variation data; and performing an auto-focusing on the target object according to the second spatial data; wherein the acquiring of the first spatial data of the target object includes: calculating a first perpendicular distance from a focal point to an image sensor, wherein an image of the target object is formed on the image sensor when the manual focusing is finished; acquiring first spatial coordinates of a first position on the image sensor where the image of the target object is located according to the first perpendicular distance, with the focal point as an origin of a three-dimensional rectangular coordinate system; and calculating first space vector angles of a first vector between the focal point and the first position.