Face Engine SDK  5.21.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 
46  const Image& image,
47  const Detection& detection,
48  DynamicRangeEstimation& estimation) const noexcept = 0;
49 
62  Span<const Image> images,
63  Span<const Detection> detections,
64  Span<DynamicRangeEstimation> estimations) const noexcept = 0;
65 
78  Span<const Image> images,
79  Span<const Detection> detection,
80  Span<Result<FSDKError>> errors) const noexcept = 0;
81  };
82 
84 } // 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:56
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
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:37
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:34