A simple python script to automate downloading any number of pictures from This Person Does Not Exist.
- Clone the repository to your computer
git clone [email protected]:djb000m/tpdne-downloader.git
- Create a new python virtual environment:
python -m venv {environment_location}
- Activate the virtual environment and Use pip to install the script:
cd {script_directory}
source {environment_location}/bin/activate
pip install .
- Run the script:
Usage: download-new-face [OPTIONS]
A tool to download a number of generated images from
https://thispersondoesnotexist.com
Options:
-n, --number INTEGER The number of images you wish to save
-l, --save-location PATH The directory in which to save the images - this
can be absolute or relative
--help Show this message and exit.
If --number is not specified then one image will be downloaded.
If --save-location is not specified then a directory images will be created in the current working directory
Downloaded files will be named person_00n.jpg