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.
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))
MIT