A Python script to make video from selfies
- Python 3.9
python -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install -r requirements.txt
Configure
--extra-index-url
if CUDA is available, e.g.pip install --trusted-host download.pytorch.org --extra-index-url https://download.pytorch.org/whl/cu118 -r requirements.txt
.Use
requirements-dev.txt
for development.
-
Create a
.env
file and specify theselfies
path# .env selfies="..."
-
Run Script
python prepare.py python get_faces.py python make_timeline.py