[pwc] still image capture Logitech QuickCam Pro 4000

Luc Saillard luc at saillard.org
Tue May 29 17:01:50 CEST 2007


On Thu, May 24, 2007 at 09:22:02PM -0700, Ifi Okoye wrote:
> Hi,
> 
> Just wondering if theres any code out there that implements "still image
> capture" for the Logitech QuickCam Pro 4000.
> 
> I know I can do this with opencv at the user level.
> 
> But I want to be able to press the button on the webcam and get a separate
> window with a still image (not streaming video).
> 
> I guess the first question really is: where can I detect that the button on
> the webcam has been pressed (...from here on, I can start trying to handle
> that trigger).

In /sys/module/pwc you will found a file named button that change when the
button has been pressed. The next version of the driver will report the
button as a normal keyboard.

Luc


More information about the pwc mailing list