Skip to content

knrdl/picam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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