| 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
IOverlapEstimator.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(IOverlapEstimator);
12 #endif
13
18 struct OverlapEstimation {
19 float overlapValue;
20 bool overlapped;
21 };
22
27 struct IOverlapEstimator : IRefCounted {
35 virtual Result<FSDKError>
36 estimate(
37 const fsdk::Image& image,
38 const fsdk::Detection& detection,
39 OverlapEstimation& result) const noexcept = 0;
40 };
41
42 } // namespace fsdk
43
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::OverlapEstimation::overlapped
bool overlapped
Overlapped face (true) or not (false).
Definition: IOverlapEstimator.h:20
fsdk::Result< FSDKError >
Types.h
Common data types and structures.
IObject.h
Object system types and interfaces.
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::IOverlapEstimator
Overlap estimator interface.
Definition: IOverlapEstimator.h:27
fsdk::OverlapEstimation::overlapValue
float overlapValue
Numerical value of face overlapping in range [0, 1].
Definition: IOverlapEstimator.h:19
fsdk::OverlapEstimation
Face overlap estimation output.
Definition: IOverlapEstimator.h:18
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IOverlapEstimator::estimate
virtual Result< FSDKError > estimate(const fsdk::Image &image, const fsdk::Detection &detection, OverlapEstimation &result) const noexcept=0
Estimate the face overlap.
fsdk::BaseDetection
Face detection. Stores a detected face bounding box within a source image frame as well as detection...
Definition: Detection.h:10