| 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
ICredibilityCheckEstimator.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(ICredibilityCheckEstimator);
12 #endif
13
17 enum class CredibilityStatus : uint8_t {
18 Reliable = 1,
19 NonReliable = 2,
20 };
21
25 struct CredibilityCheckEstimation {
26 float value;
27
30 CredibilityStatus credibilityStatus;
31 };
32
38 struct ICredibilityCheckEstimator : IRefCounted {
39
46 virtual Result<FSDKError> estimate(
47 const Image& warp,
48 CredibilityCheckEstimation& out) const noexcept = 0;
49
61 virtual Result<FSDKError> estimate(
62 const Span<const Image> warps,
63 Span<CredibilityCheckEstimation> out) const noexcept = 0;
64
65 };
66 }
fsdk::ICredibilityCheckEstimator::estimate
virtual Result< FSDKError > estimate(const Image &warp, CredibilityCheckEstimation &out) const noexcept=0
Estimate the reliability of person.
fsdk::CredibilityCheckEstimation::value
float value
Definition: ICredibilityCheckEstimator.h:26
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::ICredibilityCheckEstimator
CredibilityCheck estimator interface.
Definition: ICredibilityCheckEstimator.h:38
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
fsdk::CredibilityCheckEstimation::credibilityStatus
CredibilityStatus credibilityStatus
credibility enum value predicted according to the output score value above.
Definition: ICredibilityCheckEstimator.h:30
fsdk::CredibilityStatus
CredibilityStatus
an enum representing all possible outcomes of CredibilityCheckEsimator.
Definition: ICredibilityCheckEstimator.h:17
fsdk::CredibilityCheckEstimation
CredibilityCheck estimator output structure.
Definition: ICredibilityCheckEstimator.h:25
fsdk::Span
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:13