rougho / pi-cam

A pure-JS Raspberry Pi webcam

Home Page:https://github.com/pimterry/pi-cam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pi-cam

This is a simple pure-JS raspberry pi web-accessible webcam, using Resin.io for deployment.

Tested with:

Getting started

  • Set up your device and camera
  • Sign up for free on resin.io, 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).

About

A pure-JS Raspberry Pi webcam

https://github.com/pimterry/pi-cam

License:MIT License


Languages

Language:JavaScript 74.2%Language:HTML 25.8%