Class CVProcess
Class CVProcess.
Inherited Members
Namespace: VisioForge.Core.CV
Assembly: VisioForge.Core.CV.dll
Syntax
public static class CVProcess
Methods
BlurRegion(Mat, Rect)
Blurs the region.
Declaration
public static void BlurRegion(Mat img, Rect region)
Parameters
| Type | Name | Description |
|---|---|---|
| Mat | img | The frame. |
| Rect | region | The region. |
PixelateRegion(Mat, Rect, int)
Pixelates the region.
Declaration
public static void PixelateRegion(Mat frame, Rect region, int pixelSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Mat | frame | The frame. |
| Rect | region | The region. |
| int | pixelSize | Size of the pixel. |
ProcessCache(Mat, ref List<Tuple<CVFace, int>>, bool, bool)
Processes the cache.
Declaration
public static void ProcessCache(Mat frame, ref List<Tuple<CVFace, int>> facesCacheList, bool blur, bool pixelate)
Parameters
| Type | Name | Description |
|---|---|---|
| Mat | frame | The frame. |
| List<Tuple<CVFace, int>> | facesCacheList | The faces cache list. |
| bool | blur | if set to |
| bool | pixelate | if set to |