说明书
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# 简单的人脸识别
|
||||
|
||||
## 玩法
|
||||
|
||||
### 配置环境
|
||||
|
||||
#### 1.安装requirements.txt
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
#### 2.下载dlib模型
|
||||
|
||||
只需执行我的自动下载脚本即可,需`魔法上网`
|
||||
|
||||
```bash
|
||||
./init_enviorment.sh
|
||||
```
|
||||
|
||||
```powershell
|
||||
.\init_enviorment.ps1
|
||||
```
|
||||
|
||||
### 替换数据集
|
||||
|
||||
- 替换`cache\dataset.mp4`
|
||||
|
||||
- 录一段你想要识别为True的人脸的视频
|
||||
|
||||
- 然后训练
|
||||
|
||||
### 测试图片路径
|
||||
|
||||
测试图片在`cache`文件夹内,一个`positive.jpg`,一个`negative.jpg`,分别是正负样本
|
||||
Reference in New Issue
Block a user