Connecting Tech Pros Worldwide Help | Site Map

Adding webcam controls to a c# webpage

Craig
Guest
 
Posts: n/a
#1: Jun 27 '08
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
Hans Kesting
Guest
 
Posts: n/a
#2: Jun 27 '08

re: Adding webcam controls to a c# webpage


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


Arved Sandstrom
Guest
 
Posts: n/a
#3: Jun 27 '08

re: Adding webcam controls to a c# webpage


"Craig" <cpbuck@gmail.comwrote in message
news:7283fdf6-4bdb-491b-9254-421e330f548c@a1g2000hsb.googlegroups.com...
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
Assuming a Logitech webcam, the company itself recommends looking at the
AmCap sample in the DirectShow SDK.

AHS


Closed Thread