faceblur
v1.0.0
Published
Detect and blur faces with OpenCV
Downloads
4
Readme
Faceblur
Detect and blur faces. Requires OpenCV be installed. The module returns a function that takes a Buffer and a callback. The callback supplies a new Buffer with blurred faces.
var faceblur = require('faceblur')
var fs = require('fs')
fs.readFile('faces.jpg', function(err, buffer) {
faceblur(buffer, function(err, blurredBuffer) {
fs.writeFile('faces-blurred.jpg', blurredBuffer, function(err) {
console.log('blurred')
})
})
})
License
MIT.