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

StackOverflow https://stackoverflow.com/questions/10475833

  •  06-06-2021
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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

다른 팁

If your camera does not have a twain driver and your applications are not "seeing" it, you will have to use a 3rd party solution that comes in between the camera and your application. I am using terminalworks' Unitwain as I am already using some of their other scanning products. I must say that it helped me a lot cause I already had a lot of web cameras installed but no twain drivers available for our new business application.

edit: i forgot to include a link to the site: http://www.terminalworks.com/unitwain

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top