An open API service indexing awesome lists of open source software.

https://github.com/bitmap/cambro

webcam lightness sensor
https://github.com/bitmap/cambro

Last synced: 4 months ago
JSON representation

webcam lightness sensor

Awesome Lists containing this project

README

          

# cambro
`cambro` uses your webcam to detect changes in lightness. This data is then sent over websockets and you can do whatever you want with it. Like this:

cambro demo

# Install
You're gonna need Node.js. After running `npm install`, run `npm start` and hit up `http://localhost:5555` in one window and `http://localhost:5555/client` in another. Make sure you've given it permission to use your webcam.

# Customize
There's a settings object at the top of `src/cambro.js` that lets you tweak things like grid size and lightness threshold. Keep in mind `cambro` is crunching a lot of data so the more you split the grid or increase the resolution the more it's gonna chug.