Introducing the blurfaces gem

The blurfaces gem uses OpenCV to detect faces and RMagick to blur faces.

Usage

require 'blurfaces'

bf = BlurFaces.new('/tmp/faces3.jpg')
bf.blur
bf.save '/tmp/faces3c.jpg'

## Input

file: faces3.jpg

A drawing of 3 people

Output

file: faces3c.jpg

A drawing of 3 people with blurred faces

Resources