Face Blur

Motivation

While experimenting with open-cv and haar-cascades, I thought it would be a good excercise to make a quick python script to detect a face in a webcam and blur it.

Challenge

Create a program that uses the users webcam to automatically detect and blur the users face.

Solution

Using open-cv and a pretrained face haar-cascade xml, a short python script was developed.

Approach

The program first opens the users webcam using open-cv and then detects where all faces are in the webcams view. A bounding box is created around these regions and is then blurred.

Skills Demonstrated Project Artifacts
OpenCV, haar-cascade Github Repo

Benefits

This program can be to protect user anonymity by automatically blurring one's face, but is more just an excuse to play with this technology.