Files
faceswap_pytorch/tools/extract_faces.sh
2019-02-01 15:30:41 +08:00

8 lines
247 B
Bash

#!/usr/bin/env bash
# this script wille extract all faces from a directory of images
# it using alfred-py and dlib to do this
# the size of faces are does not matter, it will be resized according to faceswap networks
sudo pip3 install alfred-py