摘 要
课堂考勤是高校课堂的必要环节,但往往占用师生大量宝贵的课堂时间。传统的人工点名考勤方式效率较低,而自动点名考勤和手机口令考勤等方式存在容易导致假出勤、替出勤的现象。因此,开发一套识别速度快、准确率高、稳定性高的智能课堂考勤系统具有一定现实意义。
从对课堂出勤统计的实际需求出发,以人脸检测与特征识别为基础,论文实现了一套基于嵌入式AI技术的课堂考勤系统。该系统由人脸识别考勤设备与PC端上位机软件两部分组成。首先,利用IR-RGB双光谱摄像头获取出勤者人脸图像信息并送入嵌入式AI处理器K210芯片,经基于YOLO的人脸检测算法与近红外活体检测算法检测到活体人脸后,使用基于FaceNet的人脸识别算法对人脸图像进行特征向量映射,通过特征向量比对获取识别对象的身份信息,从而实现课堂出勤信息统计。利用网络通信处理器ESP32芯片实现出勤信息的实时无线传输。最终,利用PC端上位机实时接收出勤数据,并对出勤统计结果进行数据存储和实时显示。测试结果表明,该系统可准确、快速地完成课堂考勤任务,并能有效地避免假出勤、替出勤等现象。
关键词:课堂考勤系统;嵌入式AI;人脸识别;YOLO;FaceNet
Abstract
As a necessary part of college classroom, classroom attendance often takes up a lot of valuable classroom time of teachers and students. Because the efficiency of traditional manual attendance is low, and automatic attendance and mobile phone password attendance are easy to lead to false attendance and substitute attendance. Therefore, a set of intelligent classroom attendance system with fast recognition speed, high accuracy and high stability has been developed, which has certain practical significance.
Starting from the actual demand of class attendance, this paper implements a set of class attendance system based on embedded AI technology and face detection and feature recognition. The proposed system is composed of face recognition attendance equipment and PC upper computer software. Firstly, the face image information of the participants is obtained by IR-RGB dual-spectral camera and sent to the embedded AI processor K210 chip. After living face being detected by the face detection algorithm based on YOLO and the near infrared living body detection algorithm, the face recognition algorithm based on FACENET is used to implement feature vector mapping on the face image, through which the identity information of the target object is obtained according to comparison. The class attendance information statistics is realized through the steps above. The real-time wireless transmission of attendance information is achieved by using network communication processor ESP32 chip. Finally, the real-time attendance data is received, stored and displayed by the upper computer of the PC terminal. Experimental results show that the proposed system can complete the task of class attendance accurately and quickly, and avoid phenomenon of the pretended and substitute attendance effectively.
Key Words: Class attendance system; Embedded AI; Facial Recognition; You Only Look Once; FaceNet
目 录