Metadata-Version: 2.1
Name: imfun
Version: 0.1.0
Summary: Convert an image to cartoon
Home-page: https://github.com/matyama/imfun
License: MIT
Keywords: image-processing,opencv,for-fun
Author: Martin Matyášek
Author-email: martin.matyasek@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Multimedia
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Classifier: Topic :: Utilities
Requires-Dist: click (>=7.1.2,<8.0.0)
Requires-Dist: numpy (>=1.19.4,<2.0.0)
Requires-Dist: opencv-python (>=4.5.1,<5.0.0)
Project-URL: Repository, https://github.com/matyama/imfun
Description-Content-Type: text/markdown

![ImFun](https://github.com/matyama/imfun/workflows/ImFun/badge.svg)

# ImFun
Convert an image to cartoon!

## Setup
Curently both the installation and development setup require [Poetry](https://python-poetry.org/)
to be installed. Once the repository is cloned, one can setup everything with
```bash
make setup
```

## Usage
In an active environment, one can run the `imfun` app to convert an image to a cartoon like this
```
$ imfun -i examples/prague-castle.png -o examples/prague-castle-cartoon.png
Converting image 'examples/prague-castle.png'
Cartoon image saved as 'examples/prague-castle-cartoon.png'
```

## Examples
<img src="./examples/prague.jpg" alt="Prague castle (original)" title="Original Image" width="300">
<img src="./examples/prague-cartoon.jpg" alt="Prague castle (cartoon)" title="Cartoon Image" width="300">

