Taking pictures from webcam - command line

Install ImageSnap (Using Homebrew)

Usage

To kill the process: ctrl + C

If you have multiple video devices attached to your computer, use the -l ("el") flag to list them:
$ imagesnap -l

To select a specific video device use the -d device flag:
imagesnap -d nameofdevice -t 1

Documentation about imagesnap: https://github.com/rharder/imagesnap