| Face Engine SDK 5.2.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 {
27 virtual ResultValue<FSDKError, float>
28 estimateHeadLiveness(
29 const Image& image,
30 const Detection& detection) const noexcept = 0;
31
40 virtual ResultValue<FSDKError, float>
41 estimateShouldersLiveness(
42 const Image& image,
43 const Detection& detection) const noexcept = 0;
44 };
45
46 } // namespace fsdk
47
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:21
fsdk::Image
Image.
Definition: Image.h:37
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