Skip to content

Minium learns to play with Google AI experiment 'Quick, Draw!'

Notifications You must be signed in to change notification settings

viltgroup/minium-quickdraw-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minium Demo - 'Quick, Draw!'

Overview

This is a simple Minium demo project, where it plays with Google AI experiment 'Quick, Draw!'. Where is a video of Minium drawing a penguin:

<iframe src="https://player.vimeo.com/video/194549806" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Minium uses use some auxiliary sites to "learn" how to draw a penguin:

  • First, it searches for line drawing images in Google images and picks the first one
  • It uses that image to get its contours using Contour by José Manuel Pérez
  • That service converts an image into SVG with polyline elements, from which Minium can easily extract all lines and corresponding points
  • Minium then simplifies lines so that they have less points and therefore are quickier to draw. For that, it uses the javascript library Simplify.js by Vladimir Agafonkin
  • Minium can now go back into 'Quick, Draw' and draw points using mouse interactions with offsets based on line points

Quick Start

  • Download the latest release of Minium Developer (version 1.5 or later is required)
  • Get this project code, for instance:
git clone https://github.com/viltgroup/minium-quickdraw-demo.git
  • Run Minium Developer and open the project in it
  • Open scripts/quickdraw-test.js and evaluate it

About

Minium learns to play with Google AI experiment 'Quick, Draw!'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published