[go: up one dir, main page]

DEV Community

El Bruno for Microsoft Azure

Posted on • Originally published at elbruno.com on

#OpenCV – Detect and blur faces 😁 using DNN in Python 🐍

Hi !

Quick post today: detect a face using a pretrained DNN model and blur the face area. Easy to implement, and also easy to read:

demo of face blur

Code below

That’s it, sample using DNN. Next challenge will be to do this in F#.

Face Recognition and Face Detection series in Python

  1. Detecting Faces with 20 lines in Python
  2. Face Recognition with 20 lines in Python
  3. Detecting Facial Features with 20 lines in Python
  4. Facial Features and Face Recognition with 20 lines in Python
  5. Performance improvements with code
  6. Resize the camera input with OpenCV
  7. Working with Haar Cascades and OpenCV
  8. Detect and blur faces 😁 using haar cascades
  9. Detect and blur faces 😁 using DNN

Original Post

Happy coding!

Greetings

El Bruno


Top comments (0)