Search code examples
webcamtwain

How to directly capture images from a built-in webcam in a web application?


I already have a web application that allows my clients to scanner documents from scanners with TWAIN drivers installed, save scanned documents as PDF locally or upload to web server.

One thing I would like my web application to support is capturing images from built-in webcam. It seems there aren't or very few webcams that support TWAIN.

Any suggestions to make it work?


Solution

  • You'll need to use something other that TWAIN, WIA is probably the easiest way to grab an image, see this answer