Wednesday, 29 July 2015

Taking photo with web camera without Flash

With HTML5, you can connect to the web cam and take photo without using Flash or any other third party component.

To connect to the web cam, you need to explore the following Javascript method:

  navigator.MediaDevices.getUserMedia()

For the detailed explanation, please refers to the following article.

    http://www.html5rocks.com/en/tutorials/getusermedia/intro/

and also refer to the up-to-date reference:

  https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia


I found this library and the sample web pages are working (able to take photo). But, yet to write some web page to do the job:

   https://github.com/jhuckaby/webcamjs


No comments:

Post a Comment

We are moving

We are moving this blog to our new blog site: https://ciysys.com/blog/nodejs.htm