Created
July 19, 2020 21:21
-
-
Save dinkopehar/6f97dd69f7e44fa7e9292358f60a4ed4 to your computer and use it in GitHub Desktop.
Screenshot intruder with ffmpeg, show his face to him and lock the session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -y -i /dev/video0 -vframes 1 -q:v 2 ~/output.jpg | |
gwenview -f ~/output.jpg & | |
sleep 2 | |
loginctl lock-session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment