i need a way to make a webcam take pictures on command of a c program...
---
i'm building a program wich auto takes photos with the webcam and compares them.
ive already written a code to compare *.bmp files but there is still a lot of work needed to improve it...
---
You can use opencv to accomplish alot of tasks like that. Using opencv you can also perform facial recognition and detect facial gestures. It takes a little bit more code (maybe 100 lines) to do facial recognition and detect facial gestures but its not a whole lot. Good luck getting it installed though.