/MagicPy

A Magic Eye autostereogram generator

Primary LanguagePythonMIT LicenseMIT

GitHub stars GitHub license GitHub issues

MagicPy

A Magic Eye autostereogrm generator

Installation

pip install -r requirements.txt

Or with virtual enviroment: python -m venv venv && source venv/bin/venv && pip install -r requirements.txt

Usage

python magic.py -p path-to-background-pattern.png -d path-to-depthmap.png -o result.png

Example

Background pattern:

Depthmap:

Result:

Help

python magic.py -h

License

This project is licensed under the MIT License - see the LICENSE.md file for details