Face Engine SDK  5.13.0
A face detection, recognition and tracking engine.
IDynamicRangeEstimator.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(IDynamicRangeEstimator);
14 #endif
15 
23  };
24 
30 
40  virtual Result<FSDKError>
41  estimate(
42  const Image& image,
43  const Detection& detection,
44  DynamicRangeEstimation& estimation) const noexcept = 0;
45 
57  virtual Result<FSDKError>
58  estimate(
59  Span<const Image> images,
60  Span<const Detection> detections,
61  Span<DynamicRangeEstimation> estimations) const noexcept = 0;
62 
74  virtual Result<FSDKError>
75  validate(
76  Span<const Image> images,
77  Span<const Detection> detection,
78  Span<Result<FSDKError>> errors) const noexcept = 0;
79  };
80 
81 } // namespace fsdk
DynamicRange estimator output structure. This structure contains score for possible estimation result...
Definition: IDynamicRangeEstimator.h:21
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
SDK namespace.
Definition: IAGSEstimator.h:8
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
float dynamicRangeScore
numerical value in range [0, 1]
Definition: IDynamicRangeEstimator.h:22
Object system types and interfaces.
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, DynamicRangeEstimation &estimation) const noexcept=0
Estimates dynamic range of an image.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Image.
Definition: Image.h:38
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detection, Span< Result< FSDKError >> errors) const noexcept=0
Validates input of multiple frames in a single function call.
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
DynamicRange estimator interface.
Definition: IDynamicRangeEstimator.h:29