beije / motion-detection-in-javascript

A small project where a webcam is used to detect motion. Written fully in Javascript without any third-party libs.
MIT License
100 stars 36 forks source link

Motion detection in Javascript

This is a small example of detecting movement with a webcam in javascript. The core concept is comparing frames to each other and detect differences based on a predetermined sensitivity.

For more information read this blog post: benjaminhorn.io