Patent ID: 8743192

Claim:
A method for controlling an image capture device using an electronic device, the method comprising: obtaining an image captured by a camera of the electronic device; detecting an eye area of an eye of a user in the obtained image using an eye detection method, and determining a matching subject template that matches the detected eye area, the determining of the matching subject template according to comparison of the detected eye area with a plurality of subject templates according to a height of the detected eye area and coordinates of the eye in the detected eye area, the plurality of subject templates comprising subject templates of different subject status and subject templates of different eye positions; the subject templates of different subject status comprising: a subject template under a normal status, a subject template under a large status, and a subject template under a small status of the eye of the user, a height of an eye area of the subject template under the normal status is greater than or equal to the first preset value and less than or equal to the second preset value, a height of an eye area of the subject template under the large status is greater than the second preset value, and a height of an eye area of the subject template under the small status is less than the first preset value; the subject templates of different eye positions comprising: when one of the eyes is still, when one of the eyes moves upward, when one of the eyes moves downward, when one of the eyes moves left, when one of the eyes moves right, when one of the eyes moves upper-left, when one of the eves moves down-left, when one of the eves moves upper-right, and when one of the eyes moves down-right; the matching subject template being obtained from the subject templates of different subject status according to the height of the detected eye area when the height of the detected eye area is less than a first preset value or greater than a second preset value; the matching subject template being obtained from the subject templates of different eye positions according to the coordinate of the eye in the detected eye area when the height of the detected eye area is greater than or equal to the first preset value and less than or equal to the second preset value; determining a control command corresponding to the matching subject template; and adjusting at least one of a position of the image capture device, an angle or a focal length of a lens of the image capture device according to the control command.