by estherjk

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

461 Stars 172 Forks Last release: Not found MIT License 14 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


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

Installing Node.js packages

  • Navigate to the
  • To install the packages:
    npm install

Running the demo

  • Make sure you are still in the
  • To run the server:
    node server.js
  • To run the demo locally, open a browser and go to

The app should be up and running!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.