This document introduces an algorithm for detecting and locating faces. The algorithm extracts features from face images and uses the feature matching method to detect and locate faces. The algorithm has high accuracy and robustness, and has good performance in practical applications.