GuldenizBektas / Neural-Style-Transfer-TF-Hub

Generated images with Neural Style Transfer model taken from TensorFlow Hub.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neural Style Transfer

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.

Model is taken from TensorFlow Hub. The link for the pre-trained model.

You can find the style, and content images in Images directory.

  • Van Gogh - Starry Nights
  • Van Gogh - Wheatfield with Crows
  • Edvard Munch - Scream

Libraries

I used Google Colab for this but if you will use your local machine install these libraries.

  1. Tensorflow
pip3 install tensorflow
  1. Tensorflow Hub
pip3 install --upgrade tensorflow_hub
  1. Numpy
pip3 install numpy
  1. OpenCV
    pip3 install opencv-python

Outputs

Sources

About

Generated images with Neural Style Transfer model taken from TensorFlow Hub.


Languages

Language:Jupyter Notebook 100.0%