Face Engine SDK  5.25.0
A face detection, recognition and tracking engine.
fsdk::IFaceLandmarksDetector Struct Reference
Inheritance diagram for fsdk::IFaceLandmarksDetector:
fsdk::IRefCounted

List of all members.

Public Member Functions

virtual ResultValue< FSDKError,
Ref< IFaceLandmarksBatch > > 
detectLandmarks5 (Span< const Image > images, Span< Span< const Detection >> detections) const noexcept=0
 Detects landmarks5 on multiple images.
virtual ResultValue< FSDKError,
Ref< IFaceLandmarksBatch > > 
detectLandmarks68 (Span< const Image > images, Span< Span< const Detection >> detections) const noexcept=0
 Detects landmarks68 on multiple images.
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.
virtual Result< FSDKErrordetectLandmarks5 (const Image &image, Span< const Detection > detections, Span< Landmarks5 > landmarks) const noexcept=0
 Detects landmarks5 in a photo.
virtual Result< FSDKErrordetectLandmarks68 (const Image &image, Span< const Detection > detections, Span< Landmarks68 > landmarks) const noexcept=0
 Detects landmarks68 in a photo.
virtual Result< FSDKErrorvalidate (const Image &images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
 Validates input of frame and detections in a single function call.
virtual Result< FSDKErrorvalidate (Span< const Image > images, Span< Span< const Detection >> detections, DetectionType detectionType, Span< Span< Result< FSDKError >>> errors) const noexcept=0
 Validates frames, detections, detectionType in a single function call.
virtual FaceLandmarksBatchFuture detectLandmarksAsync (Span< const Image > images, Span< Span< const Detection >> detections, DetectionType detectionType) const =0
 Asynchronously detects landmarks5 and/or landmarks68 on multiple images.

Member Function Documentation

virtual ResultValue<FSDKError, Ref<IFaceLandmarksBatch> > fsdk::IFaceLandmarksDetector::detectLandmarks5 ( Span< const Image images,
Span< Span< const Detection >>  detections 
) const [pure virtual]

Detects landmarks5 on multiple images.

Parameters:
[in]imagesspan of source images.
[in]detectionsspan of detection coordinates in corresponding source images space from the previous frames. It is a two dimensional Span. There is one Span of Detections for each image.
Returns:
ResultValue with error code and IFaceLandmarksBatch object.
See also:
Ref, Span, Image, Detection, Landmarks5, IFaceLandmarksBatch, 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::IFaceLandmarksDetector::detectLandmarks5 ( const Image image,
Span< const Detection detections,
Span< Landmarks5 >  landmarks 
) const [pure virtual]

Detects landmarks5 in a photo.

Parameters:
[in]imagesource images.
[in]detectionsinput detections.
[out]landmarksoutput span of landmarks5 for each detection.
Returns:
ResultValue with error code and a IFaceDetectionBatch object (detection bbox, landmarks, etc).
See also:
Ref, Span, Image, Detection, Landmarks5, IFaceDetectionBatch, 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 ResultValue<FSDKError, Ref<IFaceLandmarksBatch> > fsdk::IFaceLandmarksDetector::detectLandmarks68 ( Span< const Image images,
Span< Span< const Detection >>  detections 
) const [pure virtual]

Detects landmarks68 on multiple images.

Parameters:
[in]imagesspan of source images.
[in]detectionsspan of detection coordinates in corresponding source images space from the previous frames. It is a two dimensional Span. There is one Span of Detections for each image.
Returns:
ResultValue with error code and a IFaceLandmarksBatch object.
See also:
Ref, Span, Image, Detection, Landmarks68, IFaceLandmarksBatch, 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::IFaceLandmarksDetector::detectLandmarks68 ( const Image image,
Span< const Detection detections,
Span< Landmarks68 >  landmarks 
) const [pure virtual]

Detects landmarks68 in a photo.

Parameters:
[in]imagesource images.
[in]detectionsinput detections.
[out]landmarksoutput span of landmarks68 for each detection.
Returns:
Result with error code.
See also:
Ref, Span, Image, Detection, Landmarks68, IFaceLandmarksBatch, 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 FaceLandmarksBatchFuture fsdk::IFaceLandmarksDetector::detectLandmarksAsync ( Span< const Image images,
Span< Span< const Detection >>  detections,
DetectionType  detectionType 
) const [pure virtual]

Asynchronously detects landmarks5 and/or landmarks68 on multiple images.

Parameters:
[in]imagessource images.
[in]detectionsinput detections.
[in]detectionTypetype[s] of landmarks to detect, any of {DT_LANDMARKS5, DT_LANDMARKS68, DT_LANDMARKS5 | DT_LANDMARKS68}
Returns:
Future with IFaceLandmarksBatch object.
See also:
Ref, Span, Image, Detection, Landmarks5, Landmarks68, IFaceLandmarksBatch, and vlc::future 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.
this method is not marked as noexcept and may throw an exception.
virtual Result<FSDKError> fsdk::IFaceLandmarksDetector::validate ( Span< const Image images,
Span< Span< const Detection >>  detections,
Span< Span< Result< FSDKError >>>  errors 
) const [pure virtual]

Validates input of multiple frames in a single function call.

Parameters:
[in]imagesspan of source images.
[in]detectionsspan of detection coordinates in corresponding source images space from the previous frames. 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::IFaceLandmarksDetector::validate ( const Image images,
Span< const Detection detections,
Span< Result< FSDKError >>  errors 
) const [pure virtual]

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

Parameters:
[in]imagessource image.
[in]detectionsspan of 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.
virtual Result<FSDKError> fsdk::IFaceLandmarksDetector::validate ( Span< const Image images,
Span< Span< const Detection >>  detections,
DetectionType  detectionType,
Span< Span< Result< FSDKError >>>  errors 
) const [pure virtual]

Validates frames, detections, detectionType in a single function call.

Parameters:
[in]imagessource image.
[in]detectionsspan of detection
[in]detectionTypetype[s] of landmarks to detect, any of {DT_LANDMARKS5, DT_LANDMARKS68, DT_LANDMARKS5 | DT_LANDMARKS68}
[out]errorsoutput span of errors.
Returns:
Result with error code.
See also:
Span, Image, Detection, DetectionType, 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines