https://github.com/bitmap/cambro
webcam lightness sensor
https://github.com/bitmap/cambro
Last synced: 4 months ago
JSON representation
webcam lightness sensor
- Host: GitHub
- URL: https://github.com/bitmap/cambro
- Owner: bitmap
- Created: 2017-05-03T23:04:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T16:27:59.000Z (over 7 years ago)
- Last Synced: 2025-09-24T06:33:02.471Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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:

# 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.