DiscoverThe Coding TrainCoding Challenge #153: Interactive Drawing with Machine Learning Model (SketchRNN)
Coding Challenge #153: Interactive Drawing with Machine Learning Model (SketchRNN)

Coding Challenge #153: Interactive Drawing with Machine Learning Model (SketchRNN)

Update: 2019-10-31
Share

Description

This challenge uses the pre-trained SketchRNN machine learning model (available with the ml5.js library) to create a p5.js sketch that finishes a person’s drawing.

πŸ’» https://thecodingtrain.com/CodingChallenges/153-interactive-sketchrnn.html
πŸ’» https://editor.p5js.org/codingtrain/sketches/hcumr-aua

πŸ”— ml5.js: https://ml5js.org
πŸ”— Draw Together with a Neural Network - Magenta TensorFlow: https://magenta.tensorflow.org/assets/sketch_rnn_demo/index.html
πŸ”— Ramer–Douglas–Peucker algorithm on Wikipedia: https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm
πŸ”— A Neural Representation of Sketch Drawings: https://arxiv.org/abs/1704.03477
πŸ”— Quick, Draw!: https://quickdraw.withgoogle.com/#
πŸ”— Recurrent Neural Networks & LSTMs: https://ayearofai.com/rohan-lenny-3-recurrent-neural-networks-10300100899b

πŸŽ₯ Coding Challenge #128: Sketch-RNN Snowflakes with ml5.js: https://youtu.be/pdaNttb7Mr8
πŸŽ₯ Coding Challenge #152: RDP Line Simplification Algorithm: https://youtu.be/nSYw9GrakjY

πŸš‚ Website: http://thecodingtrain.com/
πŸ’– Patreon: https://patreon.com/codingtrain
πŸ›’ Store: https://www.designbyhumans.com/shop/codingtrain/
πŸ“š Books: https://www.amazon.com/shop/thecodingtrain

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— Processing: https://processing.org
CommentsΒ 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Coding Challenge #153: Interactive Drawing with Machine Learning Model (SketchRNN)

Coding Challenge #153: Interactive Drawing with Machine Learning Model (SketchRNN)

The Coding Train