match_face/README.md

25 lines
531 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 人脸识别匹配
## 1.实现步骤
- 首先初始化摄像头然后,识别人脸,并抓拍十张照片
- 如果没有可以创建数据库,如果数据库已经存在,会调用已经存在数据库
- 抓拍的十张照片一次匹配,返回结果
## 2.环境部署
- 1.直接使用提供的虚拟环境.venv
- 2.独自安装软件包
``` bash
pip install -r requirements.txt
```
## 3.运行
- 直接运行scanf_face.py文件即可
- 添加人脸数据到数据库已经在scanf_face.py实现调用即可