Real-time face detection using OpenCV, Node.js, and WebSockets.
Click here to see it in action.
- OpenCV 3.4.0
- May also work with older versions of OpenCV, but most recently tested with OpenCV 3.4.0
- A webcam, e.g. laptop-integrated webcam, USB webcam
Installing Node.js packages
- Navigate to the
- To install the packages:
Running the demo
- Make sure you are still in the
- To run the server:
- To run the demo locally, open a browser and go to
The app should be up and running!