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
IHumanLandmarksDetector.h
1 #pragma once
2 
3 #include "FSDKError.h"
4 #include "IObject.h"
5 #include "Types.h"
6 
7 #include <fsdk/IHumanLandmarksBatch.h>
8 
9 namespace fsdk {
10 
11 #ifndef DOXYGEN_SHOULD_SKIP_THIS
12  DECLARE_SMARTPTR(IHumanLandmarksDetector);
13 #endif
14 
16 
29  Span<const Image> images,
30  Span<Span<const Detection>> detections) const noexcept = 0;
31 
45  virtual Result<FSDKError>
46  validate(
47  Span<const Image> images,
48  Span<Span<const Detection>> detections,
49  Span<Span<Result<FSDKError>>> errors) const noexcept = 0;
50 
63  const Image& image,
64  Span<const Detection> detections,
65  Span<HumanLandmarks17> landmarks) const noexcept = 0;
66 
78  virtual Result<FSDKError>
79  validate(
80  const Image& images,
81  Span<const Detection> detections,
82  Span<Result<FSDKError>> errors) const noexcept = 0;
83  };
86 }
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Object system types and interfaces.
virtual Result< FSDKError > validate(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.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual ResultValue< FSDKError, IHumanLandmarksBatchPtr > detectLandmarks17(Span< const Image > images, Span< Span< const Detection >> detections) const noexcept=0
Detects HumanLandmarks17 in multiple images.
Definition: IHumanLandmarksDetector.h:15
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:25
Image.
Definition: Image.h:39
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14