DEV Community

El Bruno for Microsoft Azure

Posted on • Originally published at elbruno.com on

#OpenCV ā€“ Detect and blur faces šŸ˜ using DNN in C#

Hi !

NET is in anniversary mode, so I think it will be a good idea to share some camera samples in C#. For these demos Iā€™m using C# 6 and OpenCVSharp as OpenCV wrapper for .NET.

Today post: detect a face using a DNN model and blur the face area. This demo also show the detected face in a separated window (just for fun). And I added the Frame per second (FPS) as additional information in the main window

Easy to implement, and also easy to read:

face blur demo in csharp using dnn

Code Sample

Original Post

Happy coding!

Greetings

El Bruno


Top comments (0)