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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pastafy, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pastafy-0.1.0-py3.7.egg (13.2 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size pastafy-0.1.0.tar.gz (4.2 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page