The photobooth app has a bunch of different effects tailored to spookify some photos!
- brew
- cmake
brew install cmake
- Install dlib for MacOS with pytho3 extensions
- python3
- Install opencv
brew install opencv
- pipenv
pipenv install
This script is used to test individual effects, as well as different combinations of effects.
pipenv run python photobomb.py --input-file ./resources/input/test-image.jpg --effects swirl
pipenv run python photobomb.py --input-file ./resources/input/test-image.jpg --effects identify-face
pipenv run python3 photobomb.py --input-file ./resources/input/test-image.jpg --effects ghost
photobooth
now has support for running multiple effects on top of each other! You can do this by putting a list of filters after the --effects
flag. These effects are run in the order the are written. For example:
pipenv run python3 photobomb.py --input-file ./resources/input/test-image.jpg --effects identify-face swirl ghost
This script is used to test out the photobooth workflow
pipenv run python3 photobooth.py --input-files ./resources/input/test-image.jpg ./resources/input/test-image.jpg --border-size 5 --output-file photo_booth_result.png
This is runs the server that listens for key presses, to start the photobooth workflow
pipenv run python3 photobooth_server.py