# face_recognition_py
本项目基于OpenCV使用Haar级联分类器实现人脸检测,与dlib库进行实时跟踪,应用LBPH算法开发了一个功能相对完整的人脸识别系统。系统采用MySQL进行数据存储,能够进行学生上课考勤人脸点名的功能,并拥有基于PyQt5设计的GUI实现。
## 系统预览
### 核心框架
![](https://github.com/kuronekonano/Face-Recognition-Based-Attendance-System/raw/master/images/CoreUI.png)
### 人脸采集
![](https://github.com/kuronekonano/Face-Recognition-Based-Attendance-System/raw/master/images/DataRecordUI.png)
### 数据管理
![](https://github.com/kuronekonano/Face-Recognition-Based-Attendance-System/raw/master/images/DataManageUI.png)
## 如何运行?
以下操作基于Anaconda3环境,并在Windows10 x64上测试。
### 克隆代码
```
$ git clone https://github.com/kuronekonano/Face-Recognition-Based-Attendance-System.git
$ cd Face-Recognition-Based-Attendance-System
```
### 创建Python虚拟环境
```
$ conda create -n opencv python=3.6
$ activate opencv
```
### 安装OpenCV
```
$ cd modules
$ pip install opencv_python-3.4.1+contrib-cp36-cp36m-win_amd64.whl
```
### 安装dlib
```
$ 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
```
## License
GPL-3.0
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Python实现基于人脸识别的上课考勤系统。 这个人脸识别考勤签到系统是基于大佬的人脸识别陌生人报警系统二次开发的。 项目使用Python实现,基于OpenCV框架进行人脸识别和摄像头硬件调用,同时也用OpenCV工具包处理图片。交互界面使用pyqt5实现。 该系统实现了从学生信息输入、人脸数据录入、人脸数据训练,学生信息多条件搜索、修改,多选删除,人脸数据训练,人脸识别、追踪、签到等完整流程的各项功能。甚至允许生成签到表格和导出Excel格式签到表。 根据功能分配,系统分为三个部分实现各部分流程, 1. 录入端负责数据导入, 2. 管理端负责数据删改查以及人脸数据训练, 3. 监控端负责人脸识别以及签到功能。
资源推荐
资源详情
资源评论
收起资源包目录
Python实现基于人脸识别的上课考勤系统.zip (52个子文件)
新建文本文档.txt 0B
Face-Recognition-Based-Attendance-System-master
pyqt5test.py 12KB
attendance_csv
2020-04-14-15h25m02s.csv 57B
login_to_system.py 10KB
qtable_test.py 12KB
shape_predictor_68_face_landmarks.dat 95.08MB
微软雅黑Bold.ttf 14.01MB
shape_predictor_5_face_landmarks.dat 8.73MB
dataManage.py 41KB
dataRecord.py 46KB
LICENSE 34KB
alarm.wav 654KB
eshop.wav 672KB
modules
dlib-19.8.1-cp36-cp36m-win_amd64.whl 2.3MB
core.py 72KB
icons
success.png 1KB
error.png 1KB
icon1.png 2KB
warning.png 772B
icon.png 11KB
requirements.txt 70B
haarcascades
haarcascade_profileface.xml 809KB
haarcascade_smile.xml 184KB
haarcascade_frontalface_alt.xml 661KB
haarcascade_russian_plate_number.xml 74KB
haarcascade_frontalcatface.xml 402KB
haarcascade_lefteye_2splits.xml 191KB
haarcascade_eye.xml 333KB
haarcascade_lowerbody.xml 386KB
haarcascade_frontalcatface_extended.xml 374KB
haarcascade_upperbody.xml 767KB
haarcascade_frontalface_default.xml 908KB
haarcascade_frontalface_alt_tree.xml 2.56MB
haarcascade_righteye_2splits.xml 192KB
haarcascade_frontalface_alt2.xml 528KB
haarcascade_eye_tree_eyeglasses.xml 588KB
haarcascade_licence_plate_rus_16stages.xml 45KB
haarcascade_fullbody.xml 466KB
.gitignore 1KB
images
CoreUI.png 55KB
DataManageUI.png 133KB
DataRecordUI.png 41KB
dlib_face_recognition_resnet_model_v1.dat 21.43MB
ui
TelegramBotDialog.ui 4KB
UserInfoDialog.ui 8KB
Core.ui 15KB
DataRecord.ui 16KB
export_excel.ui 5KB
CreateClass.ui 4KB
DataManage.ui 14KB
README.md 2KB
config
logging.cfg 380B
共 52 条
- 1
资源评论
Java徐师兄
- 粉丝: 1008
- 资源: 1982
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功