Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Living Colours – Passive Mood Detection with a Webcam 2

Posted by Hans Scharler,

[rob myers] created a dynamic web page that changes based on the colours in his studio. Rob takes  a picture of his studio with a webcam, processes the image with Python, and uploads the colour data to a ThingSpeak channel. The web page uses jQuery to access the ThingSpeak API and dynamically update his web page inspired by the colors.

We love the combination of storing data in  a channel and using the API to update a webpage dynamically based on the current “mood” of an area. We also love the idea of using a webcam as a passive sensor since almost everybody has one.

2 CommentsOldest to Newest

ChrisJx replied on : 1 of 2
I created a chart application to detect the amount of ambient light each day. I used the image from a cam and for each image I ran through the pixels, line by line, and averaged the luminance of all the pixels. The images were taken every minute, so I could develop a daily chart of the amount of light within the cameras view. Didn't have access to a simple ambient light sensor, but this worked quite well. I am intrigued by the possibility of re-appropriating data to understand some unintended perspective. Interesting recent book from O'Reily: Data Source Handbook: A Guide to Public Data http://oreilly.com/catalog/0636920018254
Pulpoensalsa replied on : 2 of 2
The links of this article are down. I've found one of the links to the blog of the mentioned developer. http://robmyers.org/2011/04/14/logging_colours_to_thingspeak/