Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

A very simple boiler-plate code for accessing the system camera in your browser / web application, using HTML5's WebRTC and Javascript.

It reads the camera input via the <code>video</code> tag and the getUserMedia() API exposed by the browser. We then capture the video feed, read it frame-by-frame and render it in a canvas element at 60 frames per second. You can uncomment the middle section to apply effects like thresholding/motion-detection etc.

This was made by following the tutorials at:
 - https://developer.mozilla.org/en-US/docs/WebRTC
 - www.creativebloq.com/javascript/get-started-webrtc-1132857

About

Access the system camera via WebRTC using HTML5 and Javascript

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages