[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Driver loaded, now, how do I access the camera? (WAS: Re: Intel Deluxe PC Camera )



On Mon, Nov 05, 2007 at 11:00:42PM -0800, Marc Shapiro wrote:
>>   
> OK.  I Manually downloaded the gspca-source module and did 'm-a update' and 
> when I went through the steps it seemed to build OK, but did not load.  
> Silly me!  Once I unplugged the camera and re-plugged it in, the driver 
> loaded just like it ought to.  At least is seems to have done so.  Running 
> lsmod shows the gspca module and a few other new modules.  Dmesg shows:
>
> usb 3-1: new full speed USB device using ohci_hcd and address 3
> usb 3-1: configuration #1 chosen from 1 choice
> Linux video capture interface: v2.00
> /usr/src/modules/gspca/gspca_core.c: USB SPCA5XX camera found. (SPCA501 )
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_probe:3887] Camera type YUYV
> /usr/src/modules/gspca/gspca_core.c: [spca5xx_getcapability:1165] maxw 640 
> maxh 480 minw 160 minh 120
> usbcore: registered new interface driver gspca
> /usr/src/modules/gspca/gspca_core.c: gspca driver 01.00.04 registered
>
> So my drivers seem to be loaded.  Now, how do I access the camera, so that 
> I can capture an image to be processed?  I am currently thinking of using 
> opencv through either C/C++ or Python.  How would I access the camera to 
> generate an image (probably jpeg) that I could then save to disk or, 
> preferably, pipe to opencv?

look at /dev/video*

and look at any number of video capture programs. I use motion, there
are many many others.

A

Attachment: signature.asc
Description: Digital signature


Reply to: