1. A computer-readable medium having software stored thereon, execution of the software by hardware causing a method to be performed, the method comprising: for each dot template of one or more dot templates corresponding to an object to be detected within an image, where each dot template is defined as a collection of points, at each position of one or more positions within the image, determining a value of the image at each point of the dot template at the position of the image, such that the dot template is effectively overlaid at the position; determining a score of the dot template at the position based on the values of the image determined at the points of the dot template; and, where the score of the dot template is greater than a predetermined threshold, concluding that the object is at least potentially located within the image at the position at which the dot template has been effectively overlaid, wherein the object to which the dot templates corresponds includes a face feature and the image is a face, and wherein the face feature is a face edge, and determining the score of the dot template at the position based on the values of the image determined at the points of the dot template comprises determining the score as ∑ pnt ⁢ ⁢ pairs ⁢ abs ⁡ ( I 1 - I 2 ) ( I 1 + I 2 ) , for a number of image value point pairs I 1 , I 2 , where I 1 of each image value point pair is a value of the image at a point corresponding to a face-side of a potential face edge of the face and I 2 of each image value point pair is a value of the image at a point corresponding to a non-face-side of the potential face edge of the face.