Detect Faces in images, using Windows' very own face detection
Switch branches/tags
Nothing to show
Clone or download
Latest commit 915edca Jan 9, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sample 🔧 Cleanup Jan 9, 2017
.gitignore 🔧 First simple example Jan 9, 2017
.npmignore 🔧 Cleanup Jan 9, 2017
LICENSE 📝 Add License Jan 9, 2017
README.md 🔧 Cleanup Jan 9, 2017
facedetection.js 🔧 Cleanup Jan 9, 2017
package.json 1.0.0 Jan 9, 2017

README.md

Detect Faces in Electron, using WinRT

This module is mostly meant to serve as an example on how to use the Windows Runtime (WinRT) via NodeRT from Electron, but it totally works.

Usage

npm install --save electron-face-detection-Windows
detectFaces('C:\\Users\\felix\\Pictures\\faces.jpg')
  .then(faces => console.log(`We found ${faces} face${faces > 1 ? 's' : ''}!`))
  .catch(error => console.error('Something went wrong:', error))

License

MIT