| Face Engine SDK 5.7.0 A face detection, recognition and tracking engine.

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
18 struct IHeadAndShouldersLivenessEstimator : IRefCounted {
29 virtual ResultValue<FSDKError, float>
30 estimateHeadLiveness(
31 const Image& image,
32 const Detection& detection) const noexcept = 0;
33
44 virtual ResultValue<FSDKError, float>
45 estimateShouldersLiveness(
46 const Image& image,
47 const Detection& detection) const noexcept = 0;
48 };
49
50 } // namespace fsdk
51
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
Types.h
Common data types and structures.
fsdk::IHeadAndShouldersLivenessEstimator::estimateHeadLiveness
virtual ResultValue< FSDKError, float > estimateHeadLiveness(const Image &image, const Detection &detection) const noexcept=0
Estimate the head liveness.
IObject.h
Object system types and interfaces.
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::IHeadAndShouldersLivenessEstimator::estimateShouldersLiveness
virtual ResultValue< FSDKError, float > estimateShouldersLiveness(const Image &image, const Detection &detection) const noexcept=0
Estimate the shoulders liveness.
fsdk::ResultValue
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:25
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IHeadAndShouldersLivenessEstimator
Head And Shoulders estimator interface.
Definition: IHeadAndShouldersLivenessEstimator.h:18
fsdk::Detection
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10