FacemarkGetFaces Method (InputArray, OutputArray)
|
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
Syntaxpublic virtual bool GetFaces(
InputArray image,
OutputArray faces
)
Public Overridable Function GetFaces (
image As InputArray,
faces As OutputArray
) As Boolean
public:
virtual bool GetFaces(
InputArray^ image,
OutputArray^ faces
)
abstract GetFaces :
image : InputArray *
faces : OutputArray -> bool
override GetFaces :
image : InputArray *
faces : OutputArray -> bool
function GetFaces(image, faces);
Parameters
- image
- Type: OpenCvSharpInputArray
Input image. - faces
- Type: OpenCvSharpOutputArray
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