Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Try this utilities: camgrab webcam –  konrad Jun 26 '12 at 8:29
    
Have you tried OpenCV? –  Mitch Jun 26 '12 at 8:44
    
Thanks @konrad. –  Ubuntu_beginner Jun 26 '12 at 9:21
    
Thanks @Mitch But the OpenCV is kind of overkill for just grabbing few frames. anyways ,Thanks 4 the help again. –  Ubuntu_beginner Jun 26 '12 at 11:04
    
@konrad if its an answer, you may want to post it. –  Thomas W. Jun 26 '12 at 12:35
add comment

2 Answers

Try using webcam. Here you find more info regarding webcam https://help.ubuntu.com/community/Webcam

share|improve this answer
    
Thanks @konrad got it working –  Ubuntu_beginner Jun 27 '12 at 5:26
add comment

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,

share|improve this answer
    
Thanks @vinit Kumar Its working and its really small. –  Ubuntu_beginner Jun 27 '12 at 6:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.