Coder Social home page Coder Social logo

sketchingai's Introduction

SketchingAI

Sketching AI, based on a convolutional neural network and genetic algorithm

Quick explanation: Drawings are generated and the neural network looks at them and chooses the ones that are most like the object it was asked for. The genetic algorithm takes care of combining the best ones and within a few generations (a couple hundreds), it produces (sometimes) recognizable sketches.

Not really intended for distribution yet, but it works if you install a few things (all free and working under Linux):

  1. Install Anaconda https://store.continuum.io/cshop/anaconda/
  2. Install Caffe http://caffe.berkeleyvision.org/
  3. Download the sketch dataset http://cybertron.cg.tu-berlin.de/eitz/projects/classifysketch/

Nothing is really optimized (either in speed or "accuracy") and the code is a bit of a mess for now, I just meant to put it out there while I work on other things.

An album of a few images produced by the AI are here: http://imgur.com/a/0ag4u You can guess what they are, read on to know the actual categories: brain, butterfly, alarm clock, hourglass, and trousers (the hourglass was a color experiment with real pictures, not the sketch database). Here's a video of the process in action, when asked for a snowman: http://gfycat.com/ComplexMelodicLacewing (200 generations)

sketchingai's People

Contributors

zebreu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.