I want to be able to take a picture using the webcam from the terminal. this image then will be send to a specific directory. How can this be done.
If you're looking for something automated
If you want something more manual, and we're talking about a camera supported by V4L/UVC (most of them) you can use
There is another application which can be used to capture the images from the webcam named as Fswebcam. you can install that with
you can have a sample shot with the following command.
In the above code syntax ,
Now your image finally saved with web-cam-shot.jpg name.
Hope that helps.
This will open
Check if your device is
The available resolutions depend on your webcam. Mine goes up to 640x480 and I checked it with a tool called