Face recognition is a technique used for identify identity by analyzing face images and distilling effective recognition information from face images. This article presented an arithmetic of face recognition based on eigenfaces, gave the explaination of eigenface,and made a simulation of DRL face database by using program baced on OpenCV. This method recognizes and classifies face images by computing the space distance between face image and eigenfaces,and it can recognize face image quickly and exactly.