| 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
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
28 struct CredibilityCheckEstimation {
29 float value;
30
33 CredibilityStatus credibilityStatus;
34 };
36
42 struct ICredibilityCheckEstimator : IRefCounted {
43
50 virtual Result<FSDKError> estimate(
51 const Image& warp,
52 CredibilityCheckEstimation& out) const noexcept = 0;
53
65 virtual Result<FSDKError> estimate(
66 Span<const Image> warps,
67 Span<CredibilityCheckEstimation> out) const noexcept = 0;
68
76 virtual Result<FSDKError>
77 validate(
78 Span<const Image> warps,
79 Span<Result<FSDKError>> errors) const noexcept = 0;
80 };
81 }
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:29
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
IObject.h
Object system types and interfaces.
fsdk::CredibilityStatus::NonReliable
person is not reliable
fsdk::ICredibilityCheckEstimator
CredibilityCheck estimator interface.
Definition: ICredibilityCheckEstimator.h:42
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::Image
Image.
Definition: Image.h:37
fsdk::CredibilityStatus::Reliable
person is reliable
fsdk::ICredibilityCheckEstimator::validate
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.
fsdk::CredibilityCheckEstimation::credibilityStatus
CredibilityStatus credibilityStatus
Definition: ICredibilityCheckEstimator.h:33
fsdk::CredibilityStatus
CredibilityStatus
CredibilityCheck estimator output enum. This enum contains all possible estimation results...
Definition: ICredibilityCheckEstimator.h:20
fsdk::CredibilityCheckEstimation
CredibilityCheck estimator output structure.
Definition: ICredibilityCheckEstimator.h:28
fsdk::Span
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14