本项目基于OpenCV使用Haar级联分类器实现人脸检测,与dlib库进行实时跟踪,应用LBPH算法开发了一个功能相对完整的人脸识别系统。系统采用MySQL进行数据存储,能够进行学生上课考勤人脸点名的功能,并拥有基于PyQt5设计的GUI实现。
以下操作基于Anaconda3环境,并在Windows10 x64上测试。
$ git clone https://github.com/kuronekonano/Face-Recognition-Based-Attendance-System.git
$ cd Face-Recognition-Based-Attendance-System
$ conda create -n opencv python=3.6
$ activate opencv
$ cd modules
$ pip install opencv_python-3.4.1+contrib-cp36-cp36m-win_amd64.whl
$ pip install dlib-19.8.1-cp36-cp36m-win_amd64.whl
$ cd ..
$ pip install -r requirements.txt
$ python core.py
$ python dataRecord.py
$ python dataManage.py
$ git pull
$ deactivate
GPL-3.0