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::IHeadDetector Struct Referenceabstract
Inheritance diagram for fsdk::IHeadDetector:
fsdk::IRefCounted

Public Member Functions

virtual ResultValue< FSDKError,
IDetectionBatchPtr > 
detect (Span< const Image > images, Span< const Rect > rects) noexcept=0
 Detects heads on multiple images. More...
 
virtual Result< FSDKErrorvalidate (Span< const Image > images, Span< const Rect > rects, Span< Result< FSDKError >> outErrors) const noexcept=0
 Validates 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...
 

Member Function Documentation

virtual ResultValue<FSDKError, IDetectionBatchPtr> fsdk::IHeadDetector::detect ( Span< const Image images,
Span< const Rect rects 
)
pure virtualnoexcept

Detects heads on multiple images.

Parameters
[in]imagesspan of source images.
[in]rectsinput rectangles of interest (ROI) span.
Returns
ResultValue with error code and IDetectionBatch object.
See Also
Ref, Span, Image, Rect, IDetectionBatch, 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::IHeadDetector::validate ( Span< const Image images,
Span< const Rect rects,
Span< Result< FSDKError >>  outErrors 
) const
pure virtualnoexcept

Validates 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]outErrorsoutput 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: