人脸识别opencv代码(1)

所属分类其他
开发工具:C/C++
文件大小:48086KB
下载次数:2
上传日期:2020-12-18 17:23:14
上 传 者张牧之1995
说明:  人脸识别人脸检测源码opencv Python pyqt5做 的界面,用opencv的做的人脸检测,用face_recognition算法做的人脸识别。因为要用到Python,所以建议下载anaconda3,这个方便配置环境,或者Python3.6也行。配置好环境就可以直接运行。
(Face recognition face detection source code opencv Python pyqt5 to do the interface, using OpenCV to do face detection, using face_ Recognition algorithm for face recognition. Because Python is needed, it is recommended to download anaconda3, which is a convenient configuration environment, or Python 3.6. The environment can be configured to run directly.)

文件列表:
face_recognition (0, 2019-05-27)
face_recognition\.gitignore (1236, 2018-05-09)
face_recognition\alarm.wav (669518, 2018-05-09)
face_recognition\config (0, 2018-05-09)
face_recognition\config\logging.cfg (380, 2018-05-09)
face_recognition\config\telegramBot.cfg.bak (240, 2018-05-09)
face_recognition\core.py (32156, 2019-05-27)
face_recognition\dataManage.py (13440, 2019-05-27)
face_recognition\dataRecord.py (21190, 2019-05-27)
face_recognition\haarcascades (0, 2018-05-09)
face_recognition\haarcascades\haarcascade_eye.xml (341406, 2018-05-09)
face_recognition\haarcascades\haarcascade_eye_tree_eyeglasses.xml (601661, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalcatface.xml (411388, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalcatface_extended.xml (382918, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalface_alt.xml (676709, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalface_alt2.xml (540616, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalface_alt_tree.xml (2689040, 2018-05-09)
face_recognition\haarcascades\haarcascade_frontalface_default.xml (930127, 2018-05-09)
face_recognition\haarcascades\haarcascade_fullbody.xml (476827, 2018-05-09)
face_recognition\haarcascades\haarcascade_lefteye_2splits.xml (195369, 2018-05-09)
face_recognition\haarcascades\haarcascade_licence_plate_rus_16stages.xml (46371, 2018-05-09)
face_recognition\haarcascades\haarcascade_lowerbody.xml (395322, 2018-05-09)
face_recognition\haarcascades\haarcascade_profileface.xml (828514, 2018-05-09)
face_recognition\haarcascades\haarcascade_righteye_2splits.xml (196170, 2018-05-09)
face_recognition\haarcascades\haarcascade_russian_plate_number.xml (75482, 2018-05-09)
face_recognition\haarcascades\haarcascade_smile.xml (188506, 2018-05-09)
face_recognition\haarcascades\haarcascade_upperbody.xml (785819, 2018-05-09)
face_recognition\icons (0, 2018-05-09)
face_recognition\icons\error.png (1343, 2018-05-09)
face_recognition\icons\icon.png (1905, 2018-05-09)
face_recognition\icons\success.png (1409, 2018-05-09)
face_recognition\icons\warning.png (772, 2018-05-09)
face_recognition\images (0, 2018-05-09)
face_recognition\images\CoreUI.png (27127, 2018-05-09)
face_recognition\images\DataManageUI.png (15921, 2018-05-09)
face_recognition\images\DataRecordUI.png (14924, 2018-05-09)
face_recognition\modules (0, 2018-05-09)
** (2414737, 2018-05-09)
** (45345825, 2018-05-09)
... ...

# face_recognition_py 本项目基于OpenCV使用Haar级联与dlib库进行人脸检测及实时跟踪,应用LBPH算法开发了一个功能相对完整的人脸识别系统。系统采用sqlite3进行序列化数据存储,能够对陌生人脸闯入进行报警,并拥有基于PyQt5设计的GUI实现。 ## 如何运行? 以下操作基于Anaconda3环境,并在Windows10 x***上测试。 ### 创建Python虚拟环境 若有anaconda,则在anaconda prompt上运行,若没有则下面代码不执行,直接从安装OpenCV开始执行 ``` $ conda create -n opencv python=3.6 $ activate opencv ``` ### 安装OpenCV 进入到文件夹的modules文件夹中 ``` $ cd modules $ pip install opencv_python-3.4.1+contrib-cp36-cp36m-win_amd***.whl ``` ### 安装dlib ``` $ pip install dlib-19.8.1-cp36-cp36m-win_amd***.whl ``` ### 安装其它依赖包 ``` $ cd .. $ pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt ``` ### 运行人脸采集系统 ``` $ python dataRecord.py ``` ### 运行数据管理系统 ``` $ python dataManage.py ``` ### 运行核心框架 ``` $ python core.py ``` ### 退出虚拟环境 ``` $ deactivate ```

近期下载者

相关文件


收藏者