DavidCai1111 / style-transfer.js

πŸ‘¨β€πŸŽ¨οΈ Generate novel artistic images in Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

style-transfer.js

js-standard-style Build Status

Generate novel artistic images in Node.js, using TensorFlow.js.

Some Examples

style-transfer.png

How To Use It

Clone This Repository

git clone https://github.com/DavidCai1993/style-transfer.js.git

cd ./style-transfer.js

Download The VGG-19 Model

npm run model

Install Dependences

npm install

Start Making Some Great Art

node ./transfer.js transfer -c <contentImagePath> -s <styleImagePath> -o <outputImagePath> [--gpu]

// Example: node ./transfer.js transfer -c ./images/louvre.jpg -s ./images/Francis_Picabia.jpg -o output.jpg --gpu

About

πŸ‘¨β€πŸŽ¨οΈ Generate novel artistic images in Node.js

License:MIT License


Languages

Language:JavaScript 100.0%