Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pimterry/pi-cam
A pure-JS Raspberry Pi webcam
https://github.com/pimterry/pi-cam
hardware iot raspberry-pi raspberrypi resin-io webcam
Last synced: about 5 hours ago
JSON representation
A pure-JS Raspberry Pi webcam
- Host: GitHub
- URL: https://github.com/pimterry/pi-cam
- Owner: pimterry
- License: mit
- Created: 2017-04-13T20:38:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-24T23:29:30.000Z (about 7 years ago)
- Last Synced: 2025-01-03T17:38:16.698Z (3 days ago)
- Topics: hardware, iot, raspberry-pi, raspberrypi, resin-io, webcam
- Language: JavaScript
- Homepage: https://github.com/pimterry/pi-cam
- Size: 40 KB
- Stars: 20
- Watchers: 4
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pi-cam
This is a simple pure-JS raspberry pi web-accessible webcam, using [Resin.io](https://resin.io) for deployment.
Tested with:
* Raspberry Pi 3B
* [Pi cam v2.1](https://shop.pimoroni.com/products/raspberry-pi-camera-module-v2-1-with-mount)## Getting started
- Set up your device and camera
- Sign up for free on [resin.io](https://dashboard.resin.io/signup), create an application for your device, and provision it. You should see the new device appear on the dashboard after a couple of minutes.
- Set the following environmental variables for your Resin application:
* RESIN_HOST_CONFIG_gpu_mem: 128 // Sets the GPU memory for the device
* RESIN_HOST_CONFIG_start_x: 1 // Enable the camera
- Push the contents of this repo to your Resin.io application
- Enable the device URL on your dashboard (it's the chain icon in the top right on the device's page)
- Open the devices URL (it's in the dropdown under the previous button).