# geerlingguy/pi-webcam

Automation to configure a Raspberry Pi as a USB OTG webcam

Repository: https://github.com/geerlingguy/pi-webcam
Canonical: https://ross.abutalabs.com/products/pi-webcam
Homepage: https://www.youtube.com/watch?v=8fcbP7lEdzY
License: MIT
License Family: permissive
Topics: raspberry-pi, webcam, video, uvc-gadget, camera, hq-camera
Last push: 2023-07-15T14:35:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2170, "days_push": 1145, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1451, forks 107 (observed 2026-08-28T04:04:45.957169+00:00)

## What it is
An Ansible playbook that automates configuring a Raspberry Pi as a USB OTG webcam using the UVC gadget kernel module. Once configured, the Pi appears as a standard webcam on Mac, Windows, or Linux when plugged in over USB.

## Use cases
- turn a raspberry pi into a usb webcam
- use a pi camera with zoom or obs
- build a diy webcam for video calls
- configure uvc gadget on raspberry pi zero
- automated pi webcam setup with ansible

## When to choose
- you have a Raspberry Pi with a camera module and want it to act as a plug-and-play USB webcam
- you want a reproducible, automated setup instead of manual boot config edits
- you need a webcam that works across Mac, Windows, and Linux without drivers

## When to avoid
- you don't have a Raspberry Pi and compatible camera hardware
- you need high frame rates or resolutions beyond what the Pi camera/USB OTG can deliver
- you can't reflash the Pi's boot volume, since the playbook modifies boot config

## Facets
- artifact type: infra-config
- maturity: maintenance
- function: video-processing, configuration-management, developer-tools
- domain: hardware, embedded-systems
- platform: embedded, cross-platform
- tags: raspberry-pi, webcam, usb-otg, uvc-gadget, ansible-playbook, camera, automation, video, linux

## Member repositories
- geerlingguy/pi-webcam (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.957169+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:51.351965+00:00, confidence not recorded.
  - readme: https://github.com/geerlingguy/pi-webcam (fetched 2026-08-28T04:04:45.957169+00:00, sha 316dca509f6b)
  - homepage: https://www.youtube.com/watch?v=8fcbP7lEdzY (fetched 2026-08-29T11:45:32.652069+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
