Adding webcam controls to a c# webpage

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

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
 
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
 
Craig said:
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

Assuming a Logitech webcam, the company itself recommends looking at the
AmCap sample in the DirectShow SDK.

AHS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top