Face Engine SDK  5.8.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 
20  enum class CredibilityStatus : uint8_t {
21  Reliable = 1,
22  NonReliable = 2
23  };
24 
29  float value;
30 
34  };
36 
52  const Image& warp,
53  CredibilityCheckEstimation& out) const noexcept = 0;
54 
68  Span<const Image> warps,
69  Span<CredibilityCheckEstimation> out) const noexcept = 0;
70 
81  virtual Result<FSDKError>
82  validate(
83  Span<const Image> warps,
84  Span<Result<FSDKError>> errors) const noexcept = 0;
85  };
86 }
virtual Result< FSDKError > estimate(const Image &warp, CredibilityCheckEstimation &out) const noexcept=0
Estimate the reliability of person.
float value
Definition: ICredibilityCheckEstimator.h:29
#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:42
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Image.
Definition: Image.h:38
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:33
CredibilityStatus
CredibilityCheck estimator output enum. This enum contains all possible estimation results...
Definition: ICredibilityCheckEstimator.h:20
CredibilityCheck estimator output structure.
Definition: ICredibilityCheckEstimator.h:28
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14