haziq naveed
Posts: 14
Joined: Tue Mar 04, 2014 12:25 pm

take snapshot using webcam

Tue Mar 04, 2014 12:34 pm

hi everyone,

i need to use my webcam with rpi , does anyone know any command to take snapshot with webcam through command line like we run raspistill for rpi camera ??

or if there is a procedure to do so . kindly help me out ????

towolf
Posts: 421
Joined: Fri Jan 18, 2013 2:11 pm

Re: take snapshot using webcam

Tue Mar 04, 2014 4:34 pm

There's uvccapture package for this, for example.

haziq naveed
Posts: 14
Joined: Tue Mar 04, 2014 12:25 pm

Re: take snapshot using webcam

Wed Mar 05, 2014 6:44 pm

towolf wrote:There's uvccapture package for this, for example.
so how to execute it . i mean you just write uvccapture ??? could you please tell me the whole command , m a newbie :D

towolf
Posts: 421
Joined: Fri Jan 18, 2013 2:11 pm

Re: take snapshot using webcam

Thu Mar 06, 2014 11:42 am

Raspberry Pi is a machine for education. Try to get started with

Code: Select all

uvccapture --help

haziq naveed
Posts: 14
Joined: Tue Mar 04, 2014 12:25 pm

Re: take snapshot using webcam

Sat Mar 08, 2014 12:01 pm

towolf wrote:Raspberry Pi is a machine for education. Try to get started with

Code: Select all

uvccapture --help
it says bash:command not found :/


haziq naveed
Posts: 14
Joined: Tue Mar 04, 2014 12:25 pm

Re: take snapshot using webcam

Sat Mar 08, 2014 4:30 pm

Chris_Reynolds wrote:Is this any help:

http://blog.pixelami.com/2012/06/uvccap ... n-squeeze/
it says its for debian !!! would it be working for raspbian too ???

gordon77
Posts: 4174
Joined: Sun Aug 05, 2012 3:12 pm

Re: take snapshot using webcam

Sat Mar 08, 2014 5:28 pm

haziq naveed wrote:hi everyone,

i need to use my webcam with rpi , does anyone know any command to take snapshot with webcam through command line like we run raspistill for rpi camera ??

or if there is a procedure to do so . kindly help me out ????
Sudo apt-get install fswebcam

Fswebcam -S2 -r352x288 /run/shm/test.jpg

AxelS
Posts: 2
Joined: Mon Mar 10, 2014 9:06 am

Re: take snapshot using webcam

Mon Mar 10, 2014 9:28 am

Hy All!

I would like to ask something about the camera using.
Is it possible to use my old Nikon Coolpix5600 camera as a webcam with the Pi, or i have to buy the Pi's camera?
I would like to use it as a security or web camera at home. For example: i go to my website and i see what is at home (snapshot, and video).
Is it possible?

Thank you in advance for your answers.

Return to “Camera board”