Real-time face detection using WebRTC, OpenCV, Node.js, and WebSockets.
Similar to face-detection-node-opencv but this time:
- camera acquisition is made with WebRTC on the browser
- the image is sent to the server via web socket for processing
- the processed image is rendered on the client
- Node.js
- OpenCV 2.4.9 - 2.4.11
- 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!