tripplehelix/PiCamera
1
0
Fork
You've already forked PiCamera
0
Runs Pi camera and streams to a webserver
  • Python 100%
2026年04月23日 10:55:51 +02:00
camera.py Also provide http access & Add more config to the top 2025年09月09日 13:55:55 +02:00
LICENSE Add LICENSE 2024年06月13日 13:45:00 +00:00
README.md Update README.md 2026年04月23日 10:55:51 +02:00

Raspberry Pi Camera V3 Python Script

This script will run a python web server for a Pi camera and stream video.

I built this to run via https on tailscale.

Usage

To run: sudo python3 ./camera.py

Config options can be found at the top of the .py file.

Dependancies

picamera2 astral pytz simplejpeg

Example system systemd service

/etc/systemd/system/startcam.service

[Unit]
Description=Start camera stream
[Service]
Type=simple
TimeoutStartSec=0
ExecStart=/usr/bin/python3 /home/pi/picamera/camera.py
Restart=always
RestartSec=3
[Install]
WantedBy=default.target

Project icon by: https://github.com/hfg-gmuend/openmoji