Installation

The packages requires at least Python 3.10. You may also want to set up PyTorch in advance from here.

To install the package via pip, simply run:

pip install face-crop-plus

Or, to install it from source, run:

git clone https://github.com/mantasu/face-crop-plus
cd face-crop-plus && pip install .

Note

By default, the required models will be automatically downloaded and saved under Torch Hub directory, which by default is ~/.cache/torch/hub/checkpoints. For more information and how to change it, see Torch Hub documentation.