By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,749 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,749 IT Pros & Developers. It's quick & easy.

Adding webcam controls to a c# webpage

P: n/a
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
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
on 5-6-2008, Craig supposed :
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
Jun 27 '08 #2

P: n/a
"Craig" <cp****@gmail.comwrote in message
news:72**********************************@a1g2000h sb.googlegroups.com...
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
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.