There are some problems in traditional classroom attendances, such as complex interaction, masquerading, waste of time and information out of sync. A novel class attendance scheme is proposed based on face recognition and the service of location for these problems. The proposed scheme has the functions of face detection, altitude detection and position location, which is better for saving the time of attendance, reducing student impostor, convenient for teachers to check on work attendance and improve the effective feedback of information. Experimental results show the convenience and effectiveness of the proposed scheme.