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)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git