I know that you can blur out a whole picture by using Emgu's functions like SmoothBlur
or GaussianBlur
.
What I am interested in, is to know if it is possible to apply this filter only to a certain region of an image, for example the return-value of the function DetectHaarCascade
, to blur out all recognized objects(faces, hands, bananas,...) inside an Image by using Emgu? I have managed to draw a rectangle around the detected region so far, therefore I thought it should be possible to apply a filter to this region?
I have tried a solution similar to this answer, but I can't pass the parameter returned from the DetectHaarCascade
-Function to the Rectangle.
Does anyone know a better solution to that?