Skip to main content

Python Package to compose one image in the style of another image

Project description

Style Transfer Art Package to compose one image in the style of another image (ever wish you could paint like Picasso or Van Gogh?

Neural style transfer is an optimization technique used to take two images 
a content image and a style reference image (such as an artwork by a famous painter)
and blend them together so the output image looks like the content image,
 but “paintedâ€‌ in the style of the style reference image.

about

Python Package to compose one image in the style of another image

Installation

pip install StyleTransferArt
or in colab google cloud
!pip install StyleTransferArt

use this example for get composed image

from StyleTransferArt import style_transfer

original_image='/content/o1.jpg'
style_image='/content/s1.jpg'
num_iterations=3000
out_image='new2.jpg'
style_transfer.style_transfer(original_image,style_image,num_iterations,out_image)

Tutorial

u can see tutorial in colab

https://colab.research.google.com/drive/13YpB8LaSIhEES7D9zzOVj9JtJtJ5Oam2?usp=sharing

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

StyleTransferArt-1.0.3.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

StyleTransferArt-1.0.3-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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