用Python实现基于人脸识别的门禁管理系统(附源码)
恋习Python
共 852字,需浏览 2分钟
·
2022-07-31 06:21
来源丨网络
项目介绍
基于人脸识别的门禁管理系统
(Python+Django+RESTframework+JsonWebToken+Redis+Dlib)
该项目为宿舍门禁系统管理,并额外加入宿舍管理、水电费管理、在线充值、报修管理、系统日志等多项功能,详细见下方截图等。
Django为后端、H5/CSS/JS为前端、MySQL为后端数据库、Redis为缓存、Dlib为人脸识别程序库。
食用方法
1、首先下载项目源码文件(获取方法在本文结尾处)
![](https://filescdn.proginn.com/97c19a3ac9ec6dcc7a3d71d807fb2b00/d5696b38c6780c00e1bea8c8784083c4.webp)
MySQL数据库使用5.7.27开发,建议使用相同版本(应该mysqlclient有向上兼容 项目自带Windows系统调试用Redis-x64-3.2.100,默认监听127.0.0.1,6379端口,requirepass为Qq111111
SMTP(邮箱SMTP功能,用于账户登录提示、邮箱发送验证码等功能) ALiCloud_AFS(阿里云AFS人机验证,用于前端登录滑动验证) CodePay(码支付,用户水电费充值时的在线支付) QQConnect(QQ互联,用于前端QQ登录绑定)
python manage.py makemigrations
python manage.py migrate
python manage.py runserver 127.0.0.1:8080
系统运行截图
1. 前端-后台[ PC端 ]
![](https://filescdn.proginn.com/0b9f04159fc99eb05506285a12741b00/257c1ae2a7b3cb643b1a9a59cc360117.webp)
![](https://filescdn.proginn.com/4451f39fb6626df890d85d3d2b450837/7cc750069d18e6f8878db6d43a7fb0ec.webp)
![](https://filescdn.proginn.com/3f1c07e6952835063e03fc9d1fe32433/926bbe1ebe87403e33672301c93cb7e9.webp)
![](https://filescdn.proginn.com/acfa0824a8c6ac04f965f08e8c168124/bbcd62046bcdcb186ab582634c62b477.webp)
![](https://filescdn.proginn.com/91f8038487f5d52bd137af34342dbf9a/5d9362b1350f2c8b21b1a5036c01593e.webp)
![](https://filescdn.proginn.com/c882e40462949a1c085a22f9b256ecd3/48898891f98c34ff684b39dacb83f489.webp)
![](https://filescdn.proginn.com/298543d956b0d04814ca6effea28febd/372ca7c8ff4051bc35c78ee714630292.webp)
![](https://filescdn.proginn.com/04f317144c5941354a5d1d3935efca39/3990ac6dc092db629302be16f9b8ccec.webp)
![](https://filescdn.proginn.com/abcea01a6ce21d3062d77e28b3b7eb8b/8011011894476bc514f993e4bf847fc0.webp)
![](https://filescdn.proginn.com/0e640f370be51f1b47ed0b7120641f70/ecc755e9095673a9f933a0ae01e76dbd.webp)
![](https://filescdn.proginn.com/e6ce4e0cde676eb2cea946373fbfeca0/84bd44c68446d0ca0e374d57e5efb9a2.webp)
2. 前端-前台[ 移动端 ]
![](https://filescdn.proginn.com/c832050fffd3ea397afcfacd16ceec75/0503ccedda06768dec5fce11447bdea1.webp)
![](https://filescdn.proginn.com/3181ba1732e6b442ef7804aded308002/38437788bc3b3c8d76fb43cc5f1ed3e5.webp)
![](https://filescdn.proginn.com/03995e6ccbb930098e1dec43bf0094a8/bbff936eb11708eadc95aaf4f15842c7.webp)
![](https://filescdn.proginn.com/989f35d9075b4528685a185166d3ef05/43db17a99646f908271689b4ff1c8829.webp)
![](https://filescdn.proginn.com/43d6a6605ef12d290fec763211d2074b/d872909aba3e7f3853f18f26fe5485e0.webp)
![](https://filescdn.proginn.com/7d1312c051a4bb95470d0fbb3afe46d5/a460446fa5c4dd60303b7fb8dd68ec33.webp)
![](https://filescdn.proginn.com/9441d7fd859e95b14a8f76c6a8647373/4130399b3c9c224dbc838ccd2e8cf7fb.webp)
![](https://filescdn.proginn.com/158f7650c47c40dca9821616f500f517/f99bfeafa40ffa93157c42e7f11cbd26.webp)
![](https://filescdn.proginn.com/ff48184e7a62d0bc0eb17d795b9dc847/902f23de9d069db6bd0a6732e7219c5f.webp)
![](https://filescdn.proginn.com/a6d726d97bead0abd244b9a92b4ef7d5/212624059d1c76391b125b022c360f02.webp)
![](https://filescdn.proginn.com/49e71cde1a20ccbe5ad886f0149b7af2/7d8a6794f26c260d70eb53dabadaba4a.webp)
3. 前端-摄像头端
![](https://filescdn.proginn.com/f7c963b43ae36307cb50770e98b91327/c5e695f3ed993a060dc6bc4f2becda60.webp)
评论