Patent ID: 8786761

Claim:
A method to implement a continuous autofocus mechanism for an image capturing device, the method comprising: performing an autofocus scan that positions a lens of the image capturing device in a plurality of positions; obtaining a plurality of focus scores with each focus score being associated with a respective lens position of the autofocus scan; and determining an acceptable band of focus scores based on the obtained plurality of focus scores, wherein determining the acceptable band of focus scores comprises determining a lower limit and an upper limit of the acceptable band of focus scores, wherein determining the acceptable band of focus scores comprises determining a first derivative of a peak focus score value with respect to a first focus score value that is adjacent to the peak focus score value and determining a first derivative of the peak focus score value with respect to a second focus score value that is adjacent to the peak focus score value, wherein the first focus score value is associated with a different lens position than the second focus score value.