Enrollment 28.2.0
Loading...
Searching...
No Matches
FaceDetector Class Reference

FaceDetector implements detection by means of Innovatrics IFace. More...

#include <FaceDetector.h>

Collaboration diagram for FaceDetector:

Classes

class  Config
 Face detector configuration. More...

Public Member Functions

std::vector< std::shared_ptr< Face > > Detect (std::shared_ptr< FaceCapture > capture) final
 Detect faces in given image.
 FaceDetector ()
 Construct a new FaceDetector object GlobalFaceExecutor is used for execution of face functionality.
 FaceDetector (Config config)
 Construct a new FaceDetector object GlobalFaceExecutor is used for execution of face functionality.
 FaceDetector (Config config, std::shared_ptr< FaceExecutor > executor)
 Construct a new FaceDetector object.
 FaceDetector (std::shared_ptr< FaceExecutor > executor)
 Construct a new FaceDetector object Default config is used for detection.

Detailed Description

FaceDetector implements detection by means of Innovatrics IFace.

Constructor & Destructor Documentation

◆ FaceDetector() [1/4]

FaceDetector ( )
inline

Construct a new FaceDetector object GlobalFaceExecutor is used for execution of face functionality.

Default config is used for detection

◆ FaceDetector() [2/4]

FaceDetector ( Config config)
inlineexplicit

Construct a new FaceDetector object GlobalFaceExecutor is used for execution of face functionality.

Parameters
configconfiguration

◆ FaceDetector() [3/4]

FaceDetector ( Config config,
std::shared_ptr< FaceExecutor > executor )
inline

Construct a new FaceDetector object.

Parameters
configconfiguration
executoris strategy for execution of face functionality
Exceptions
NullArgumentExceptionwhen executor is null

◆ FaceDetector() [4/4]

FaceDetector ( std::shared_ptr< FaceExecutor > executor)
inlineexplicit

Construct a new FaceDetector object Default config is used for detection.

Parameters
executoris strategy for execution of face functionality
Exceptions
NullArgumentExceptionwhen executor is null

Member Function Documentation

◆ Detect()

std::vector< std::shared_ptr< Face > > Detect ( std::shared_ptr< FaceCapture > capture)
inlinefinal

Detect faces in given image.

Parameters
captureFaceCapture where faces are detected
Returns
array of detected Face objects
Exceptions
EnrollmentExceptionwhen IFace returns error
Required Solvers
See FaceDetector::Config::Type

The documentation for this class was generated from the following file: