Real-time face detection using OpenCV, Node.js, and WebSockets.
Click here to see it in action.
- Node.js
- 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
- Navigate to the
server
directory - To install the packages:
npm install
- Make sure you are still in the
server
directory - To run the server:
node server.js
- To run the demo locally, open a browser and go to
localhost:8080
The app should be up and running!