| Face Engine SDK 4.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
ILivenessFlowEstimator.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(ILivenessFlowEstimator);
12 #endif
13
21 struct ILivenessFlowEstimator : IRefCounted {
29 virtual Result<FSDKError>
30 estimate(
31 const fsdk::Image& small,
32 const fsdk::Image frames[],
33 int length,
34 double& score) const noexcept = 0;
35 };
36
37 } // namespace fsdk
fsdk::ILivenessFlowEstimator::estimate
virtual Result< FSDKError > estimate(const fsdk::Image &small, const fsdk::Image frames[], int length, double &score) const noexcept=0
Check if correct optical flow can be calculated from input images.
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::Result< FSDKError >
Types.h
Common data types and structures.
IObject.h
Object system types and interfaces.
fsdk::ILivenessFlowEstimator
Liveness flow estimator interface.
Definition: ILivenessFlowEstimator.h:21
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::Image
Image.
Definition: Image.h:38