Face Engine SDK  5.14.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 
24  float overlapValue;
25  bool overlapped;
26  };
27 
42  virtual Result<FSDKError>
43  estimate(
44  const Image& image,
45  const Detection& detection,
46  OverlapEstimation& result) const noexcept = 0;
47  };
49 } // namespace fsdk
50 
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
bool overlapped
Overlapped face (true) or not (false).
Definition: IOverlapEstimator.h:25
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:32
float overlapValue
Numerical value of face overlapping in range [0, 1].
Definition: IOverlapEstimator.h:24
Face overlap estimation output.
Definition: IOverlapEstimator.h:23
Image.
Definition: Image.h:39
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