Artistic Neural Style Transfer

Artistic neural style transfer with magenta.js

Artistic 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.

Live Demo

https://bensonruan.com/when-ai-meets-art-neural-style-transfer-with-magenta-js/

style-transfer

Installing

Clone this repository to your local computer

git https://github.com/bensonruan/Neural-Style-Transfer.git

Point your localhost to the cloned root directory

Browse to http://localhost/index.html

Library

  • jquery - JQuery
  • jQuery.Keyframes - This library allows dynamic generation of CSS keyframes with callback events and other niceness.
  • magenta.js - JavaScript implementation of Magenta's image models uses TensorFlow.js for GPU-accelerated inference