Fast Neural Style Transfer
Neural Style Transfer is the process of using Deep Neural Networks to migrate the semantic content of one image to different styles. Fast Neural Style Transfer (FST) can finish this process in the order of seconds.
#zoo "f937ce439c8adcaea23d42753f487299" FST.list_styles ();; (* show all supported styles *) FST.run ~style:1 "path/to/content_img.png" "path/to/output_img.jpg"
run function mainly takes one content image and output to a new image file, the name of which is designated by the user. The image chould be of any popular formats: jpeg, png, etc. This gist contains exemplar content images for you to use.
Current we support six art styles:
- "Udnie" by Francis Picabia
- "The Great Wave off Kanagawa" by Hokusai
- "Rain Princess" by Leonid Afremov
- "La Muse" by Picasso
- "The Scream" by Edvard Munch
- "The shipwreck of the Minotaur" by J. M. W. Turner
This application relies on the tool
ImageMagick to manipulate image format conversion and resizing. Please make sure it is installed. E.g. on Ubuntu:
sudo apt-get install imagemagick
FST is limited in styles. If you want to try some styles that are not listed here, please refer to our Neural Style Transfer gist.