Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 572 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 572 Bytes

PiCam

Raspberry Pi Camera Web UI

Now works with picamera v2

Setup

  1. Install:
sudo apt install --no-install-recommends python3-picamera2 python3-astral python3-numpy python3-opencv ffmpeg nginx-light
  1. Copy picam folder to e.g. /home/pi/picam

  2. Copy www folder to /var/www/html

  3. Copy nginx.conf to /etc/nginx/sites-enabled/default

  4. Run

sudo systemctl enable --now nginx
sudo nginx -s reload
  1. Autostart: add to /etc/rc.local:
sudo -u pi python /home/pi/picam &

Start

python picam