https://github.com/erfaniaa/thatcher-effect-dataset-generator
Apply Thatcher illusion on a set of face photos
https://github.com/erfaniaa/thatcher-effect-dataset-generator
celeba celeba-dataset computer-vision dataset image-processing thatcher-effect thatcher-effect-maker thatcher-illusion thatcher-illusion-maker
Last synced: 2 months ago
JSON representation
Apply Thatcher illusion on a set of face photos
- Host: GitHub
- URL: https://github.com/erfaniaa/thatcher-effect-dataset-generator
- Owner: Erfaniaa
- License: gpl-3.0
- Created: 2019-11-24T12:28:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T16:49:16.000Z (11 months ago)
- Last Synced: 2025-03-18T11:03:54.391Z (2 months ago)
- Topics: celeba, celeba-dataset, computer-vision, dataset, image-processing, thatcher-effect, thatcher-effect-maker, thatcher-illusion, thatcher-illusion-maker
- Language: Python
- Homepage:
- Size: 11.5 MB
- Stars: 40
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thatcher Effect Dataset Generator
Using OpenCV to apply [Thatcher effect](https://en.wikipedia.org/wiki/Thatcher_effect) on a set of face images
## Example
### Input:

### Output:

Turn the output images upside-down to notice changes.
## Run
1. Put some image files inside _input_images_ directory (some samples from [CelebA dataset](https://www.kaggle.com/jessicali9530/celeba-dataset) are already there).
2. You can change _main.py_ constants if you want.
3. Use Python 3 to run the program:```bash
python3 main.py
```It reads _input_files_ directory files and writes to _output_files_ directory.
## See Also
- [Large-scale CelebFaces Attributes (CelebA) Dataset](http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html)
- [Thatcher Effect Illusion](http://thatchereffect.com/)