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
ICredibilityCheckEstimator.h
1 #pragma once
2 
3 #include <fsdk/IObject.h>
4 #include <fsdk/FSDKError.h>
5 
6 #include <fsdk/Types/Image.h>
7 #include <fsdk/Types/Result.h>
8 #include <fsdk/Types/Span.h>
9 
10 namespace fsdk {
11 
12 #ifndef DOXYGEN_SHOULD_SKIP_THIS
13  DECLARE_SMARTPTR(ICredibilityCheckEstimator);
14 #endif
15 
25  enum class CredibilityStatus : uint8_t {
26  Reliable = 1,
27  NonReliable = 2
28  };
29 
34  float value;
35 
39  };
41 
57  const Image& warp,
58  CredibilityCheckEstimation& out) const noexcept = 0;
59 
73  Span<const Image> warps,
74  Span<CredibilityCheckEstimation> out) const noexcept = 0;
75 
86  virtual Result<FSDKError>
87  validate(
88  Span<const Image> warps,
89  Span<Result<FSDKError>> errors) const noexcept = 0;
90  };
92 }
virtual Result< FSDKError > estimate(const Image &warp, CredibilityCheckEstimation &out) const noexcept=0
Estimate the reliability of person.
float value
Definition: ICredibilityCheckEstimator.h:34
#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
Object system types and interfaces.
CredibilityCheck estimator interface.
Definition: ICredibilityCheckEstimator.h:47
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
CredibilityStatus
CredibilityCheck estimator output enum. This enum contains all possible estimation results...
Definition: ICredibilityCheckEstimator.h:25
Image.
Definition: Image.h:39
virtual Result< FSDKError > validate(Span< const Image > warps, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
CredibilityStatus credibilityStatus
Definition: ICredibilityCheckEstimator.h:38
CredibilityCheck estimator output structure.
Definition: ICredibilityCheckEstimator.h:33
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14