Benutzer-Werkzeuge

Webseiten-Werkzeuge


zero_webcam

Dies ist eine alte Version des Dokuments!


Pi-Zero als USB-Cam

Achtung: Habe es nur mit 2020-02-05-raspbian-buster auf zero-w hinbekommen. Aber kein sudo apt-get update machen! Sonst kam unter Windows nur ein ganz kurzes Bild und dann war alles wieder weg.

Die original Anleitung ist hier.

jeffgeerling hat die Schritte in der Automatisierungssoftware ansible zusammengefasst. Dazu hat er das uvc-gadget tool erweitert. Damit habe ich es dann installiert.

sudo apt install -y python3-dev python3-pip libyaml-dev libffi-dev git 
sudo pip3 install --no-binary pyyaml ansible
git clone https://github.com/geerlingguy/pi-webcam.git
cd pi-webcam
cp inventory-local.example inventory
ansible-playbook main.yml

Da der Fehler „ ModuleNotFoundError: No module named 'yaml'“ kam, musste ich noch

sudo python3 -m pip install pyyaml

Was man so alles mit der Camera machen kann: https://www.raspberrypi.com/documentation/accessories/camera.html

Stand März 2022

zero_webcam.1648024214.txt.gz · Zuletzt geändert: 2022/03/23 08:30 von varnholt