Adding webcam controls to a c# webpage

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Craig

    Adding webcam controls to a c# webpage

    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

    #2
    Re: Adding webcam controls to a c# webpage

    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


    Comment

    • Arved Sandstrom

      #3
      Re: Adding webcam controls to a c# webpage

      "Craig" <cpbuck@gmail.c omwrote in message
      news:7283fdf6-4bdb-491b-9254-421e330f548c@a1 g2000hsb.google groups.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


      Comment

      Working...