Patent Document ID: 9530045
Application ID: 14497191
Patent Status: 1

Claim One:
1. A method for detecting a face, comprising: preprocessing an image; extracting corners from the preprocessed image, and filtering and combining the corners, to obtain a connected component of the corners; extracting centroids from the connected component of the corners; and matching the centroids with a facial template, calculating a matching probability of the centroids with the facial template, and identifying regions formed by centroids having a matching probability greater than or equal to a predetermined value as candidate face regions; wherein extracting the centroids from the connected component of the corners comprises: selecting a connected component having an area greater than or equal to a third threshold and/or having an aspect ratio within a preset range; extracting a center of the selected connected component as a centroid; and calculating a direction of the extracted centroid, and removing the centroid when the perpendicularity of the direction is within a set perpendicularity range.