Face Engine SDK  5.3.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IHeadAndShouldersLivenessEstimator.h
1 #pragma once
2 
3 #include <fsdk/IObject.h>
4 #include <fsdk/FSDKError.h>
5 #include <fsdk/Optional.h>
6 #include <fsdk/Types.h>
7 
8 namespace fsdk {
9 
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
11  DECLARE_SMARTPTR(IHeadAndShouldersLivenessEstimator);
12 #endif
13 
29  const Image& image,
30  const Detection& detection) const noexcept = 0;
31 
42  const Image& image,
43  const Detection& detection) const noexcept = 0;
44  };
45 
46 } // namespace fsdk
47 
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
Common data types and structures.
virtual ResultValue< FSDKError, float > estimateHeadLiveness(const Image &image, const Detection &detection) const noexcept=0
Estimate the head liveness.
Object system types and interfaces.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual ResultValue< FSDKError, float > estimateShouldersLiveness(const Image &image, const Detection &detection) const noexcept=0
Estimate the shoulders liveness.
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:21
Image.
Definition: Image.h:37
Head And Shoulders estimator interface.
Definition: IHeadAndShouldersLivenessEstimator.h:18
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10