Skip to content

everfor/Neural_Artistic_Style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural_Artistic_Style

Dependecies

  • Python 3+ (Might work with Python 2.7+, only tested in Python 3.5)
  • Tensorflow
  • Numpy
  • Scipy
  • A pretrained VGG19 convnet. The program uses imagenet pretrained vgg19. By default, the program assume the convnet lies within the same folder as paint_style.py

Example Usage

python3 paint_style.py --content CONTENT_IMAGE --styles STYLE_IMAGE(s) --output OUTPUT_IMAGE

or

python3 paint_style.py -c CONTENT_IMAGE -s STYLE_IMAGE(s) -o OUTPUT_IMAGE

Run with --preserve-colors True to preserve the original color schemes

More options exists. Run python3 paint_style.py --help for a decriptions of all available options.

Demo

The program was tested converting the following image into different artistic styles: content

  • The Starry Night, Vincent Van Gogh, 1989, Expressionism

out-1

  • Impression, Sunrise, Claude Monet, 1872, Impressionism

out-3

  • The Shipwreck of the Minotaur, Joseph Mallord William Turner, 1805, Romantism

out-2

  • Bottle and Fishes, Georges Braque, 1912, Cubism

out-4

  • Color Scheme Preserving

Preserve the original colr scheme while using the art style of "The Shipwreck of the Minotaur"

content out-5

About

Neural algorithm to draw images in different art styles in Tensorflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages