Face Engine SDK  5.14.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::IHumanFaceDetector Struct Referenceabstract

Human and face detector interface. More...

#include <IHumanFaceDetector.h>

Inheritance diagram for fsdk::IHumanFaceDetector:
fsdk::IRefCounted

Public Member Functions

virtual ResultValue< FSDKError,
Ref< IHumanFaceBatch > > 
detect (Span< const Image > images, Span< const Rect > rects, HumanFaceDetectionType type=HumanFaceDetectionType::HFDT_ALL) const noexcept=0
 Batched detect of faces and human bodies. More...
 
virtual Result< FSDKErrorvalidate (Span< const Image > images, Span< const Rect > rects, Span< Result< FSDKError >> errors) const noexcept=0
 Validate input of multiple frames in a single function call. More...
 
- Public Member Functions inherited from fsdk::IRefCounted
virtual int32_t retain () noexcept=0
 Increase strong reference count. More...
 
virtual int32_t retainLocked () noexcept=0
 Increase strong reference count thread safely. More...
 
virtual int32_t release () noexcept=0
 Decrease strong reference count. More...
 
virtual int32_t getRefCount () const noexcept=0
 Get actual strong reference count. More...
 
virtual int32_t retainWeak () noexcept=0
 Increase weak reference count. More...
 
virtual int32_t releaseWeak () noexcept=0
 Decrease weak reference count. More...
 
virtual int32_t getWeakRefCount () const noexcept=0
 Get actual weak reference count. More...
 

Detailed Description

Human and face detector interface.

Member Function Documentation

virtual ResultValue<FSDKError, Ref<IHumanFaceBatch> > fsdk::IHumanFaceDetector::detect ( Span< const Image images,
Span< const Rect rects,
HumanFaceDetectionType  type = HumanFaceDetectionType::HFDT_ALL 
) const
pure virtualnoexcept

Batched detect of faces and human bodies.

Parameters
[in]imagesspan of source images.
[in]rectsspan of input rectangles of interest.
[in]typetype of the detection.
Returns
ResultValue with error code and IHumanFaceBatch object.
See Also
Ref, Span, Image, Rect, IHumanFaceBatch, ResultValue and FSDKError for details.
Note
images format must be R8G8B8,
See Also
Format.
Note
all spans should be based on user owned continuous collections.
all spans should be equal size.
virtual Result<FSDKError> fsdk::IHumanFaceDetector::validate ( Span< const Image images,
Span< const Rect rects,
Span< Result< FSDKError >>  errors 
) const
pure virtualnoexcept

Validate input of multiple frames in a single function call.

Parameters
[in]imagesspan of source images.
[in]rectsspan of rectangle coordinates of corresponding source images.
[out]errorsoutput span of errors for each image.
Returns
Result with error code.
See Also
Span, Image, Rect, Result and FSDKError for details.
Note
images format must be R8G8B8,
See Also
Format.
Note
all spans should be based on user owned continuous collections.
all spans should be equal size.

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