imagesnap

Capture still images from iSight or other video sources

brewmacoslinux
Try with needOr install directly
Source

About

Tool to capture still images from an iSight or other video source

Commands

imagesnap

Examples

Capture a single image from the default camera$ imagesnap image.jpg
List all available video devices$ imagesnap -d
Capture image from specific camera device$ imagesnap -d /dev/video0 snapshot.png