With the development of technologies and the availability of internet in the present era, the human has been looking for ease and efficiency in running his business, the educational field has been affected by a radical revolution as a result of the introduction of advanced technology. This has led educational institutions to provide and utilize all methods of advanced technology. This paper suggests a simple way of taking students attendance in universities and schools by using face detection and recognition with the goal of checking student’s attendance in the classroom automatically. This operation is done with low cost because there is no need for special hardware to install the system in the classroom. It can be applied using a computer and a camera with low effort and high efficiency. Eigenfaces algorithm is applied in the proposed system for face detection and recognition utilizing OpenCV libraries and Visual C#.Net 2015 with Microsoft Access 2016.