Take a single snaphot from a webcam with a delay
Posted
by
cedivad
on Ask Ubuntu
See other posts from Ask Ubuntu
or by cedivad
Published on 2012-07-06T13:30:22Z
Indexed on
2012/07/07
3:22 UTC
Read the original article
Hit count: 205
webcam
I use
gst-launch-0.10 v4l2src num-buffers=1 ! jpegenc ! filesink location=$HOME/Desktop/test.jpg
to take snapshots. It works well. However in some light situation I need to drop some of the first frames the webcam outputs so that the webcam white balance doesn't provide me with an impossible to view image.
Do you know how could I do that?
With the GUI of cheese I can do it without any problem, but I need to automate this via CLI.
Many thanks.
© Ask Ubuntu or respective owner