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
IAGSEstimator.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
12 #endif
13 
34  FSDK_DEPRECATED("AGSEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
35  estimate(
36  const Image& image,
37  const Detection& detection) const noexcept = 0;
38 
50  virtual Result<FSDKError>
51  FSDK_DEPRECATED("AGSEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
52  estimate(
53  Span<const Image> images,
54  Span<const Detection> detections,
55  Span<float> out) const noexcept = 0;
56 
68  virtual Result<FSDKError>
69  FSDK_DEPRECATED("AGSEstimator is deprecated since v.5.0.1, use BestShotQualityEstimator instead")
70  validate(
71  Span<const Image> images,
72  Span<const Detection> detections,
73  Span<Result<FSDKError>> errors) const noexcept = 0;
74  };
76 } // namespace fsdk
#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
Common data types and structures.
Object system types and interfaces.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:25
Image.
Definition: Image.h:39
Approximate Garbage Score estimator interface.
Definition: IAGSEstimator.h:24
virtual ResultValue< FSDKError, float > estimate(const Image &image, const Detection &detection) const noexcept=0
Estimate the ags.
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