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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file StyleTransferArt-1.0.3.tar.gz.

File metadata

  • Download URL: StyleTransferArt-1.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for StyleTransferArt-1.0.3.tar.gz
Algorithm Hash digest
SHA256 67b91f2dc525d520161d5c4ea38915fe6142a2feea926ae5924af1eed754d31f
MD5 f87473b7e351b0eb7a274e92847e153b
BLAKE2b-256 0ad08bec4629365743a6bf6d0d85c2d63a5affcb05eee68f3da1d944352e1122

See more details on using hashes here.

File details

Details for the file StyleTransferArt-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: StyleTransferArt-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for StyleTransferArt-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3557fbcd796fa1ca0823ed048dd51340f1121aa5d9e245715dd0c21610212cf7
MD5 bc87ba93d411f6fb68a3df6908c8f8cf
BLAKE2b-256 98610bcf695b9884f613698689d7266a7190dd8aa2feb1db2a3f297861c6c5b9

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