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
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 
28  };
29 
35 
45  virtual Result<FSDKError>
46  estimate(
47  const Image& image,
48  const Detection& detection,
49  DynamicRangeEstimation& estimation) const noexcept = 0;
50 
62  virtual Result<FSDKError>
63  estimate(
64  Span<const Image> images,
65  Span<const Detection> detections,
66  Span<DynamicRangeEstimation> estimations) const noexcept = 0;
67 
79  virtual Result<FSDKError>
80  validate(
81  Span<const Image> images,
82  Span<const Detection> detection,
83  Span<Result<FSDKError>> errors) const noexcept = 0;
84  };
86 } // namespace fsdk
DynamicRange estimator output structure. This structure contains score for possible estimation result...
Definition: IDynamicRangeEstimator.h:26
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
float dynamicRangeScore
numerical value in range [0, 1]
Definition: IDynamicRangeEstimator.h:27
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:39
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:34