This repository contains the code for the paper Learning to Anonymize Faces for Privacy Preserving Action Detection presented and demonstrated at ECCV 2018.
Zhongzheng Ren, Yong Jae Lee, Michael S. Ryoo
"Learning to Anonymize Faces for Privacy Preserving Action Detection"
in ECCV 2018
Please check the following project page for more details: [Project]
For the training code, please conatact Michael Ryoo (mryoo@egovid.com).
First of all, clone the code
git clone https://github.com/blacknwhite5/Activity-Preserving-Video-Face-Anonymization.git
Then, create a folder
cd Activity-Preserving-Video-Face-Anonymization && mkdir pretrained
- python 3.6
- pytorch 1.0.0 or higher
- CUDA 9.0 or higher
Install all the python Dependencies using pip:
pip install -r requirements.txt
torch (if you don't have CUDA 9, look for a version that fit you on PyTorch and install it)
torchvision
cython
cffi
opencv-python
scipy
easydict
matplotlib
pyyaml
Please download bellow models and place models in pretrained/
folder
- SSH-face detector: Google Drive
- Privacy Preserving : Google Drive
pretrained
├── check_point.zip
└── model_1.pth
You can use a webcam in a real-time demo by running
./scripts/run-demo.sh
The code is for non-commercial academic use and it complies with the following license: