如何使用EmguCV模糊处理图像的一部分? [英] How to blur part of an Image using EmguCV?

查看:186
本文介绍了如何使用EmguCV模糊处理图像的一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有大量的从汽车上拍摄的图像用于某个项目。为了满足隐私规范,我们需要检测面部和面部。车牌,然后模糊那些区域。我了解了Emgucv项目,并在 http://www.emgu中给出了该教程.com / wiki / index.php / License_Plate_Recognition_in_CSharp 对于检测牌照板非常有用。

We have a large number of Images taken from a car for a project. To satisfy privacy norms, we need to detect faces & License Plates and then blur those areas. I came to know of the Emgucv project, and the tutorial given at http://www.emgu.com/wiki/index.php/License_Plate_Recognition_in_CSharp has been very useful to detect Licensplates.

是否可以使用Emgu本身来模糊该区域?

Is there a way of blurring this region using Emgu itself?

推荐答案

我不相信您想要的东西是内置的。

I don't believe that there is something built-in like what you are looking for.

与openCV一样,您要做的就是模糊完整复制源图像,然后将车牌部分复制回原始图像。

What you will have to do, like with openCV, is to blur a whole copy of your source image and then copy back the license plate part to the original image.

您可以使用 SmoothBlur方法,然后是复制方法,它接受掩码是第二个参数。

You can do this using the SmoothBlur method first and then the Copy method that accepts a mask as its second argument.

这篇关于如何使用EmguCV模糊处理图像的一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆