Hi !
Quick post today: detect a face using haar cascades and blur the face area. Easy to implement, and also easy to read:
Code below
Important: Haar cascades are easy to implement and learn, however, not recommented as a good solution to detect faces.
Face Recognition and Face Detection series in Python
- Detecting Faces with 20 lines in Python
- Face Recognition with 20 lines in Python
- Detecting Facial Features with 20 lines in Python
- Facial Features and Face Recognition with 20 lines in Python
- Performance improvements with code
- Resize the camera input with OpenCV
- Working with Haar Cascades and OpenCV
- Detect and blur faces using haar cascades
Happy coding!
Greetings
El Bruno
Top comments (3)
Hey, is it possible to write this with F#?
Hi Vinicius, yes sure !
I need to update my F# skills, however, I'll give it a try
Cool, thanks for the reply. I'm currently studying opencv using Python since it is easy to find books and docs, but my final goal is to implement it with F#