https://github.com/wmpscc/facedetectionwithtensorflow
tiny face detection
https://github.com/wmpscc/facedetectionwithtensorflow
Last synced: 2 months ago
JSON representation
tiny face detection
- Host: GitHub
- URL: https://github.com/wmpscc/facedetectionwithtensorflow
- Owner: wmpscc
- Created: 2019-04-03T07:09:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T07:44:08.000Z (about 6 years ago)
- Last Synced: 2025-01-21T00:16:57.923Z (4 months ago)
- Language: Python
- Homepage: https://arxiv.org/abs/1612.04402
- Size: 5.19 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 人脸检测
## 转换预训练模型
1. 从作者的厂库下载预训练模型[ResNet101-based pretrained model(hr_res101.mat)](https://www.cs.cmu.edu/~peiyunh/tiny/hr_res101.mat)
2. 运行以下代码转为pickle文件
```
python matconvnet_hr101_to_pickle.py
--matlab_model_path /path/to/pretrained_model
--weight_file_path /path/to/pickle_file
```## 预测
```
python tiny_face_eval.py
--weight_file_path /path/to/pickle_file
--data_dir /path/to/input_image_directory
--output_dir /path/to/output_directory
```
## Result








> 本项目修改自[Tiny_Faces_in_Tensorflow](https://github.com/cydonia999/Tiny_Faces_in_Tensorflow)