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