on 5-6-2008, Craig supposed :
Quote:
We are trying to create an inhouse ID card system. What we would like
to do is to have a webcam feed displayed in a webpage and for a user
to be able to click a button to save the currently displayed feed as a
jpg (on the local pc which will be uploaded to the server).
>
Currently we are using the webcams own image capture software outside
of our web app but this is not proving to be a very successful
solution.
>
Does anyone have any pointers on where we start on this?
>
Thanks in advance
1) write the webcam image to a file (on the webserver), using a fixed
filename.
IIRC Microsoft has an XP powertoy that can take webcam snapshots. Never
tried it though. Maybe your webcam software can do it?
2) write a simple page that refreshes itself every x seconds (look up
"meta refresh") and shows that captured image
3) on some button click, copy the current captured image to some other
file, possibly with a timestamp in the filename.
Hans Kesting