An open API service indexing awesome lists of open source software.

https://github.com/coolreader18/imagemapping

Map an image into a perspective transform under another one.
https://github.com/coolreader18/imagemapping

Last synced: 10 months ago
JSON representation

Map an image into a perspective transform under another one.

Awesome Lists containing this project

README

          

# imagemapping

> Map an image into a perspective transform under another one.

Useful for memes.

## Usage

```sh
python3 imagemapping.py input.png output.png \
--template tmpl.png \
--coords '[(0, 0), (256, 0), (256, 256), (0, 256)]'
```

e.g., with the template provided in the tree:

```sh
python3 imagemapping.py input.png output.png -t kid.png -f kidcoords.png
```

## License

This project is licensed under the MIT license. Please see the
[LICENSE](LICENSE) file for more details.