This smol program will take an array of images (selfies) and stabilize your face :) so it is in the same position across all frames.
To build the project run:
./build.sh
To use the program run it with the following arguments:
build/sts path/to/referencePhoto.jpg path/to/inputDir/ path/to/outputDir/
where:
path/to/referencePhoto.jpg
- path to the reference photo, which will determine the position of the face.
path/to/inputDir/
- path to the directory with imges that you want to proccess.
path/to/outputDir/
- path to the directory that will store the proccessed images.
⚠️ Note that you have to have the/
in the end of your directory because the program is in early development and we haven't implemented such a nicety yet.