[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
项目介绍
基于人脸识别的门禁管理系统
(Python+Django+RESTframework+JsonWebToken+Redis+Dlib)
该项目为宿舍门禁系统管理,并额外加入宿舍管理、水电费管理、在线充值、报修管理、系统日志等多项功能,详细见下方截图等。
Django为后端、H5/CSS/JS为前端、MySQL为后端数据库、Redis为缓存、Dlib为人脸识别程序库。
该项目可作为个人学校毕业设计使用,未考虑生产环境,后续开发随心。
食用方法
1、首先下载项目源码文件(获取方法在本文结尾处)
2、运行MySQL和Redis,并在setting.py文件中配置数据库链接信息。
*
MySQL数据库使用5.7.27开发,建议使用相同版本(应该mysqlclient有向上兼容
*
项目自带Windows系统调试用Redis-x64-3.2.100,默认监听127.0.0.1,6379端口,requirepass为Qq111111
3、修改setting.py文件,进行下一步配置。
*
SMTP(邮箱SMTP功能,用于账户登录提示、邮箱发送验证码等功能)
*
ALiCloud_AFS(阿里云AFS人机验证,用于前端登录滑动验证)
*
CodePay(码支付,用户水电费充值时的在线支付)
*
QQConnect(QQ互联,用于前端QQ登录绑定)
4、生成数据表(像运行正常的Django项目一样使用指令)
python manage.py makemigrations python manage.py migrate
5、导入初始系统设置数据
数据文件位置:/数据库/system_setting_systemsetting.sql
6、启动项目(像运行正常的Django项目一样使用指令)
python manage.py runserver 127.0.0.1:8080
系统运行截图
1. 前端-后台[ PC端 ]
2. 前端-前台[ 移动端 ]
3. 前端-摄像头端
-END-
扫码添加请备注:python,进群与宋老师面对面交流:517745409