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

Public Member Functions

virtual ResultValue< FSDKError,
IHumanLandmarksBatchPtr > 
detectLandmarks17 (Span< const Image > images, Span< Span< const Detection >> detections) const noexcept=0
 Detects HumanLandmarks17 in multiple images. More...
 
virtual Result< FSDKErrorvalidate (Span< const Image > images, Span< Span< const Detection >> detections, Span< Span< Result< FSDKError >>> errors) const noexcept=0
 Validates input of multiple frames in a single function call. More...
 
virtual Result< FSDKErrordetectLandmarks17 (const Image &image, Span< const Detection > detections, Span< HumanLandmarks17 > landmarks) const noexcept=0
 Detects landmarks17 in a image. More...
 
virtual Result< FSDKErrorvalidate (const Image &images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
 Validates input of a frame and detections 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, IHumanLandmarksBatchPtr> fsdk::IHumanLandmarksDetector::detectLandmarks17 ( Span< const Image images,
Span< Span< const Detection >>  detections 
) const
pure virtualnoexcept

Detects HumanLandmarks17 in multiple images.

Parameters
[in]imagesspan of source images.
[in]detectionsspan of human's detection coordinates in corresponding source images space It is a two dimensional Span. There is one Span of the Detections for each image.
Returns
ResultValue with error code and a IHumanLandmarksBatchPtr object.
See Also
Ref, Span, Image, Detection, IHumanLandmarksBatch, 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::IHumanLandmarksDetector::detectLandmarks17 ( const Image image,
Span< const Detection detections,
Span< HumanLandmarks17 landmarks 
) const
pure virtualnoexcept

Detects landmarks17 in a image.

Parameters
[in]imagesource images.
[in]detectionsinput human's detections.
[out]landmarksoutput span of HumanLandmarks17 for each human's detection.
Returns
Result with error code.
See Also
Span, Image, HumanLandmarks17, 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::IHumanLandmarksDetector::validate ( Span< const Image images,
Span< Span< const Detection >>  detections,
Span< Span< Result< FSDKError >>>  errors 
) const
pure virtualnoexcept

Validates input of multiple frames in a single function call.

Parameters
[in]imagesspan of source images.
[in]detectionsspan of human's detection coordinates in corresponding source images space. It is a two dimensional Span. There is one Span of Detections for each image.
[out]errorsoutput span of errors for each image. It is a two dimensional Span. There is one Span of the errors for each image.
Returns
Result with error code.
See Also
Span, Image, Detection, 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.
virtual Result<FSDKError> fsdk::IHumanLandmarksDetector::validate ( const Image images,
Span< const Detection detections,
Span< Result< FSDKError >>  errors 
) const
pure virtualnoexcept

Validates input of a frame and detections in a single function call.

Parameters
[in]imagesource image.
[in]detectionsspan of human's detection
[out]errorsoutput span of errors.
Returns
Result with error code.
See Also
Span, Image, Detection, 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: