README.md 1.6 KB
Newer Older
Eric.Lee2021's avatar
Eric.Lee2021 已提交
1 2 3 4
# facial_landmark
人脸 98 个关键点检测   

## 项目介绍    
Eric.Lee2021's avatar
update  
Eric.Lee2021 已提交
5
注意:该项目不包括人脸检测部分,人脸检测项目地址:https://codechina.csdn.net/EricLee/yolo_v3   
Eric.Lee2021's avatar
update  
Eric.Lee2021 已提交
6

Eric.Lee2021's avatar
Eric.Lee2021 已提交
7 8
* 图片示例:  
![image](https://codechina.csdn.net/EricLee/facial_landmark/-/raw/master/samples/6.jpg)    
Eric.Lee2021's avatar
update  
Eric.Lee2021 已提交
9

Eric.Lee2021's avatar
Eric.Lee2021 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
* 视频示例:  
![video](https://codechina.csdn.net/EricLee/facial_landmark/-/raw/master/samples/sample.gif)    

## 项目配置  
* 作者开发环境:  
* Python 3.7  
* PyTorch >= 1.5.1  

## 数据集  
* 数据集官方地址:  
  https://wywu.github.io/projects/LAB/WFLW.html  

```
  @inproceedings{wayne2018lab,  
  author = {Wu, Wayne and Qian, Chen and Yang, Shuo and Wang, Quan and Cai, Yici and Zhou, Qiang},  
  title = {Look at Boundary: A Boundary-Aware Face Alignment Algorithm},  
  booktitle = {CVPR},  
  month = June,  
  year = {2018}  
  }   
```
  该数据集对于人脸的关键点定义如下图(图片如侵权请联系删除):  
Eric.Lee2021's avatar
update  
Eric.Lee2021 已提交
32

Eric.Lee2021's avatar
Eric.Lee2021 已提交
33 34 35
  ![image](https://codechina.csdn.net/EricLee/facial_landmark/-/raw/master/WFLW_annotation.png)    


Eric.Lee2021's avatar
update  
Eric.Lee2021 已提交
36 37 38
* [该项目制作的训练集的数据集下载地址(百度网盘 Password: qruc )](https://pan.baidu.com/s/1DyFDviOEtmk0gb4N0cYHEw)    


Eric.Lee2021's avatar
Eric.Lee2021 已提交
39 40 41 42 43 44 45 46 47 48
## 预训练模型   
* [预训练模型下载地址(百度网盘 Password: 5twg )](https://pan.baidu.com/s/1Psz-xsb3S07A1hnz0wQ4fw)     

## 项目使用方法   

### 模型训练     
* 根目录下运行命令: python train.py     (注意脚本内相关参数配置 )   

### 模型推理    
* 根目录下运行命令: python inference.py   (注意脚本内相关参数配置  )