I need to write a program in C (on Linux) that tells a webcam when to take a photo. Can anyone give me some resources or tips for how to get started with this? I don't really know how to go about doing this.
I am using a Logitech webcam, so I looked at their website, and they suggest I use DirectShow, but that seems to be available only for Windows. Like I said, a few nudges in the right direction would be greatly appreciated. Thanks.