Giter VIP home page Giter VIP logo

ml4d's Introduction

ml4d: machine learning for design

ml4d: machine learning for design is a design platform module conducted by @nkymut at the Division of Industrial Design SDE NUS during the 2017/2018 semester. Students have design&built interactive hardware prototypes to explore how the latest machine learning technologies can serve as a design tool to improve our of life.

The concept of the platform was inspired by The Wekinator and Machine Learning for Musicians and Artists by Dr. Rebecca Fiebrink and ml4a by Gene Kogan.

This repository contains a collection of sample codes used during the platform. The codes are written in Python using cross-platform modules to enable seamless development between both Windows/Mac and Raspberry Pi. This feature allows rapid-prototyping of an interactive system using machine learning techniques.

Requirements


  1. Python3
  2. RaspberryPi 2 or newer (Raspbian Stretch)
  3. OpenCV
  4. pyglet
  5. pyFirmata

Installation


  1. Install Python 3.6
  1. Install pyglet, python-osc, opencv-python, pyserial, pyFirmata modules.

[Win/Mac] start Anaconda Prompt and

pip install pyglet python-osc opencv-python pyserial pyfirmata

[Raspberry Pi]

sudo pip3 install pyglet python-osc opencv-python pyserial pyfirmata
  1. Download the repository.

[Win/Mac]

git clone https://github.com/nkymut/ml4d.git
cd ml4d/week1_pyglet
python 01helloWorld.py

[Raspberry Pi]

git clone https://github.com/nkymut/ml4d.git
cd ml4d/week1_pyglet
python3 01helloWorld.py

ToDo:


References


ml4a: http://ml4a.github.io/ Kadenze Machine Learning for Musicians and Artists: https://www.kadenze.com/courses/machine-learning-for-musicians-and-artists Wekinator: http://www.wekinator.org/ pyglet: https://bitbucket.org/pyglet/pyglet/wiki/Home python-osc: https://github.com/attwad/python-osc pyfirmata: https://github.com/tino/pyFirmata

Image Credits


These files are licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. (rock.jpg, paper.jpg, scissors.jpg): Author: Sertion

ml4d's People

Contributors

didny avatar nkymut avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

didny

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.