Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 2.41 KB

README.md

File metadata and controls

51 lines (42 loc) · 2.41 KB

selfspy-img

Photolog yourself for fun and profit!

Usage

./selfspy_img.py

Options

run ./selfspy_img.py --help to find some help, like so:

./selfspy_img.py --help 
usage: selfspy_img.py [-h] [-i INTERVAL] [-ws WEBCAM_SIZE]
                      [-ss SCREENSHOT_SIZE] [-p PASSWORD] [-np] [-nw] [-ns]
                      [-c COMPRESSION] [-a] [--dir DIR] [-d] [-f FORMAT] [-v]

Photolog through your webcam (and screenshots)

optional arguments:
  -h, --help            show this help message and exit
  -i INTERVAL, --interval INTERVAL
                        Time interval in seconds between snapshots
  -ws WEBCAM_SIZE, --webcam-size WEBCAM_SIZE
                        Size of the stored image in <wxh> format (ex. 640x480)
  -ss SCREENSHOT_SIZE, --screeshot-size SCREENSHOT_SIZE
                        Size of the stored image in percentage
  -p PASSWORD, --password PASSWORD
                        Passkey with which to encrypt the images, after
                        optional compression with -c. If neither -p nor -n are
                        specified, then a passkey will be queried.
  -np, --no-password    Overrides -p, stores the snapshots unencrypted
  -nw, --no-webcam      Don't query the webcam for snapshots
  -ns, --no-screenshot  Don't query GTK for snapshots
  -c COMPRESSION, --compression COMPRESSION
                        Parameter for jpeg compression (1-95, default 70)
  -a, --archive         Archive the snapshots as they're taken, by default in
                        DATA_DIR/webcam_archive.zip (option --dir)
  --dir DIR             Directory in which to store the images: default is
                        ~/.selfspy/photolog/
  -d, --daemonize       Daemonizes the process
  -f FORMAT, --format FORMAT
                        Override the file name formatting of the generated
                        image files. Note that if you do not include a time
                        unit granular enough for your interval, your files
                        will be overwritten.
  -v, --verbose         Display debug and informational messages