I want to take a picture with the webcam every N time units and store it to /tmp/somefolder/ for further use with other tools and only keep the last M images. How to do this using webcam(UNIX COMMAND)? Any help appreciated.
-
Try this utilities: camgrab webcam– koni_raidJun 26, 2012 at 8:29
-
Have you tried OpenCV?– MitchJun 26, 2012 at 8:44
-
Thanks @Mitch But the OpenCV is kind of overkill for just grabbing few frames. anyways ,Thanks 4 the help again.– python_beginnerJun 26, 2012 at 11:04
-
@konrad if its an answer, you may want to post it.– Thomas Ward ♦Jun 26, 2012 at 12:35
Add a comment
|
2 Answers
Well ,why don't you try uvccapture
or fswebcam
both are an excellent choices.
For using uvccapture, install using sudo apt-get install uvccapture
and to use
uvvcaputure -m -q100 -x640 -y480 -opic.jpg
where pic.jpg is the filename.
Similarly install fswebcam and to use fswebcam $filename,
Try using webcam
. Here you find more info regarding webcam https://help.ubuntu.com/community/Webcam