Giter Site home page Giter Site logo

alessiopremoli / mean-colour-capture Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

Little processing app that reads the average color of an image, displays it and, if desired, send the (r, g, b) values using OSC

Processing 100.00%
processing processing3 osc opensoundcontrol average-color open-sound-control

mean-colour-capture's Introduction

mean-colour-capture

DESCRIPTION:

This processing tool will connect to your webcam and analyze its the mean color. It generates three values (r, g, b) that will be displayed on the box below and can be sent to Wekinator via OSC clicking on the start button. The three values are remapped to 0 and 1 for simplicity. This feature extractor will map different frames to different colors and can be used to control synthesizers or similar sound generators when parameters should be controlled by a value that can describe an image in its wholeness.

HOW TO COMPILE / RUN IT:

This processing is developed using processing 3.5.4 and should run easily on every 3.x version. You'll need to install the two libraries processing.video and oscP5 by clicking Tools > Add Tool... > Libraries and searching for them. Once everything is set up you can run it. Well, you'll need a webcam, that goes without saying.

HOW TO RUN / USE IT:

Open it, your webcam will start capturing images and the corresponding block will be filled with the mean color. Click on START OSC and the osc messages stream will start. STOP OSC will end it.

mean-colour-capture's People

Contributors

alessiopremoli avatar

Stargazers

 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.