Click or drag to resize

FacemarkGetFaces Method (InputArray, Rect)

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector.

Namespace:  OpenCvSharp.Face
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual bool GetFaces(
	InputArray image,
	out Rect[] faces
)

Parameters

image
Type: OpenCvSharpInputArray
Input image.
faces
Type: OpenCvSharpRect
Output of the function which represent region of interest of the detected faces. Each face is stored in cv::Rect container.

Return Value

Type: Boolean
See Also