Skip to main content

Pastafy anyone.

Project description

Pastafy

https://img.shields.io/pypi/v/pastafy.svg https://img.shields.io/travis/sfp932705/pastafy.svg Documentation Status

Pastafy anyone.

Ever pictured yourself in a pasta version? Maybe your puppy? Well now you can! Simply select a picture of yourself and a pasta style you may wish to apply.

Features

Pastafy brings artificial neural network style transfer from one image to another one as described in A Neural Algorithm of Artistic Style.

Use

After installation process is complete, call pastafy from the command line. To see a list of available options type:

pastafy -h

-h, –help show this help message and exit

-g GPU, –gpu GPU Whether to use GPU or not. Defaults to False.

-i IMG IMG, –images IMG IMG Images to be used. First one should be the content image (you) and second one the style (kitty). Alternatively, you could specify any desired content and style.

-n ITERS, –number ITERS Number of iterations. Defaults to 10.

-l LAYER, –layer LAYER Feature layer to be extracted. Defaults to 4.

-o OUTPUT, –output OUTPUT Name of output image. Defaults to a concatenation of style image name and content image name.

-r RATIO, –ratio RATIO Ratio of the weights assigned to the style and content image (Alpha Beta ratio). Defaults to 0.01.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Inspired by the Data Science Group.

History

0.1.0 (2020-09-14)

  • First release on PyPI.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page