face-detection-node-opencv
Real-time face detection using OpenCV, Node.js, and WebSockets.
Click here to see it in action.
Requirements
- 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
Installing Node.js packages
- Navigate to the
server
directory - To install the packages:
npm install
Running the demo
- 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!