Erfaniaa / thatcher-effect-dataset-generator

Apply Thatcher illusion on a set of face photos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thatcher Effect Dataset Generator

Using OpenCV to apply Thatcher effect on a set of face images

Example

Input:

input 1input 2

Output:

output 1output 2

Turn the output images upside-down to notice changes.

Run

  1. Put some image files inside input_images directory (some samples from CelebA dataset are already there).
  2. You can change main.py constants if you want.
  3. Use Python 3 to run the program:
python3 main.py

It reads input_files directory files and writes to output_files directory.

See Also

About

Apply Thatcher illusion on a set of face photos

License:GNU General Public License v3.0


Languages

Language:Python 100.0%