Table of Contents

Method Detect

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Detect(Mat, Mat)

A simple interface to detect face from given image.

public int Detect(Mat image, Mat faces)

Parameters

image Mat

An image to detect

faces Mat

Detection results stored in a Mat

Returns

int

1 if detection is successful, 0 otherwise.