基于树莓派的人脸识别门禁系统
2021-08-05高明康晓凤孙典张一凡丁乾张百川
高明 康晓凤 孙典 张一凡 丁乾 张百川



摘 要:随着智能安防的发展,人脸识别技术已成为智能安防的技术重点。与此同时,树莓派以其价格低廉和高扩展性的特点被广泛使用。本文将人脸识别技术与树莓派相结合设计实现了人脸识别门禁系统。本系统使用Flask框架进行前后端交互,使用MySQL存储数据,使用Face_Recognition模块进行人脸识别。本系统包含视频显示及运算、硬件控制、后台数据管理、数据存储四大模块。使用本系统不仅可以对出入人员进行身份鉴别,还可以与其他系统进行联动。本系统扩展性强,可移植性好,具有广阔的发展前景。
关键词:树莓派;人脸识别;门禁
中图分类号:TP315 文献标识码:A
Face Recognition Access Control System based on Raspberry Pi
GAO Ming, KANG Xiaofeng, SUN Dian, ZHANG Yifan, DING Qian, ZHANG Baichuan
(College of Information Engineering, Xuzhou University of Technology, Xuzhou 221018, China)
2249858875@qq.com; kxfeng07@163.com; dsil3nce@foxmail.com;
2475313260@qq.com; 1617978168@qq.com; 2936937335@qq.com
Abstract: With the development of smart security, face recognition technology has become the focus of smart security technology. At the same time, Raspberry Pi is widely used due to its low price and high scalability. This paper proposes to design a face recognition access control system by combining face recognition technology and Raspberry Pi. This system uses the Flask framework for front-end and back-end interaction, MySQL for data storage, and Face_Recognition module for face recognition. The system includes four modules: video display and calculation, hardware control, background data management, and data storage. This system can be used not only to identify people entering and exiting, but also to be linked with other systems. This system has strong expansibility, good portability and broad development prospects.
Keywords: Raspberry Pi; face recognition; access control
1 引言(Introduction)
隨着当前国内外门禁系统的快速发展,门禁系统早已不是简单的门锁管理,而是已经逐渐发展成了一套完整的出入管理系统,在统计员工出勤率和维护工作环境安全等方面发挥着巨大的作用[1]。而且随着互联网技术的疾速发展,现代人工智能在安防领域有了极大的发展,其中被关注最多的就是人脸识别技术了[2]。
本文设计实现了基于树莓派的人脸识别门禁系统,本系统使用的Flask框架、MySQL数据库均是轻量级框架,减少了性能开销。本系统使用的Face_Recognition与树莓派兼容性高,且能利用树莓派多核运算,充分发掘树莓派性能。同时,为了最大程度满足用户安全需求,本系统与Web服务相结合,用户可根据需求自定义设置门禁参数,使用简单方便,便于用户对门禁系统进行管理[3]。……
