A CLI tool using opencv
and ffmpeg
to detect number of faces looking at monitor. On other hand, a simple tool to identify who is spying behind you!
You have to install nodejs
>= 8, opencv
>= 3, and ffmpeg
natively on your machine. To install opencv
and ffmpeg
in you Ubuntu OS you can easily exec:
apt install libopencv-dev python-opencv ffmpeg
npm install nosy-detector -g
nosy-detector [options]
Option | Description | Default |
---|---|---|
--max-faces -mf | Maximum number of faces allowed to look at monitor | 1 |
--command -c | User command that runs when faces more than --max-faces | pwd |
--device -d | Camera device address | /dev/video0 |
--output-dir -o | Directory to save photos of face changes. If you don't want to save detected pictures, pass null. | ./ |
--debug -t | Using for debug | |
--help -h | Show man page |
nosy-detector -mf 1 -o ./saved_pics" -c "eog get-lost.png"
This command shows get-lost.png
picture just when someone looking at your monitor behind you and save his/her face to ./saved_pics
directory.