-
On your Raspberry Pi, enable SSH.
-
On your laptop, copy your SSH keys to your Raspberry with
ssh-copy-id pi@<your-raspi-hostname>.local
. -
Install
fswebcam
withsudo apt-get install fswebcam
. -
From a terminal on your computer, you can issue a :
ssh pi@<your-raspi-hostname>.local 'sudo fswebcam -q --no-banner -' | imgcat
- And voila 🙌🏾 ! You should see the capture of your webcam from the comfort of your command line !
If that's not awesome, then I don't what else !!