using webcam....

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...
---
Last edited on
Only know windows here:
Have you check out vfw32? It's defined with header vfw.h . You can consider also using .Net and silverlight 4 webcam api.
thx. do u know where i could find an exaple using vfw.h?? and isn't it only for visual c++???
Last edited on
Search MSDN Online for Windows Portable Devices.
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.
thanx for all the answers. i think ill have a look at opencv.
Topic archived. No new replies allowed.