Overview
A built-in laptop webcam is visible to Windows but not exposed as /dev/video inside WSL. capture4wsl takes the picture on the Windows side and posts it to a receiver running in WSL.
How it works
Instead of public screens, here is how it works.
- 1Run a command in WSL
- 2Windows PowerShell + OpenCV capture
- 3Saved by a Docker receiver in WSL
- 4Optional Telegram delivery
Highlights
01
One-line capture
Run capture.sh, or capture-bg.sh in the background, and the latest frame lands in uploads/latest.jpg.
02
Motion watch
Leave a motion watcher running on Windows and get detected events on Telegram.