/face-detection-nodejs

A simple example of a Node.js application for face detection

Primary LanguageJavaScript

#Face Detection with Node.js

A simple application showing how face detection can be implemented using Node.js.

Essentially the application tries to mimic (up to a point) the way in which Facebook displays an uploaded photo back to a user with any faces highlighted, in order to prompt them to "tag" people.

Behind the scenes, the application uses the open-source OpenCV library, specifically the Viola-Jones object detection algorithm. In order to run OpenCV from Node.js, it uses the opencv package.

This application accompanies a SitePoint tutorial: Build a Face Detection App Using Nodejs and OpenCV

##Quick Start

git clone https://github.com/lukaswhite/face-detection-nodejs .
cd face-detection-nodejs
vagrant up
vagrant ssh
cd /vagrant
npm install
node index.js 

Then visit:

http://192.168.10.10:8080/