Real-time face detection using OpenCV, Node.js, and WebSockets

December 2, 2014

I've been meaning to play with OpenCV for quite some time now. To get my feet wet, I created a small demo using node-opencv, which provides OpenCV bindings for Node.js, and WebSockets to capture video from a webcam and stream the processed frames to a web browser in real-time.

The source code is also available on GitHub. Check out the video to see it in action.