- Clone this repo wherever you'd like it to run.
git clone https://github.com/AEAMcNett/ukr.git
- Create a virtual environment using your favorite method. To do so using the
venv
module and create a virtual environment within your project directory:
python3 -m venv venv
- Activate your virtual environment. If you followed the instructions above using the
venv
module, execute the following command in your project directory:
source venv/bin/activate
- Install the requirements:
pip install -r requirements.txt
- Mark the script as executable:
chmod +x ukr.py
- Run the script from its directory, supplying the filename (including extension) for the image you want to alter as the sole argument. The image file must be in the script directory.
./ukr.py <filename.jpg>