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.

Source Distribution

pastafy-0.1.0.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

pastafy-0.1.0-py3.7.egg (13.2 kB view details)

Uploaded Source

File details

Details for the file pastafy-0.1.0.tar.gz.

File metadata

  • Download URL: pastafy-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for pastafy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b8af8a11ffe6d21c68594ec788a06278a1b40bec9f36cbfe169a3d4ee4c66a4
MD5 97fec81d45445f54895e9c7265bd8efb
BLAKE2b-256 42897a92033bb3715ceb10725d3f03a3f7e88df9c3db75beebc4805f17a34c6e

See more details on using hashes here.

File details

Details for the file pastafy-0.1.0-py3.7.egg.

File metadata

  • Download URL: pastafy-0.1.0-py3.7.egg
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

File hashes

Hashes for pastafy-0.1.0-py3.7.egg
Algorithm Hash digest
SHA256 5ce267e2890c8f8328de21cc69f68ce8eda1569cd1d9791051e1b4b8cc99ad42
MD5 f24779d250afbdc5cfb033ce03cad271
BLAKE2b-256 b2cf99f5ec6db0270d59bb32771ef03195c7cb49c6e3331613e0a9a6771900e1

See more details on using hashes here.

Supported by

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