Face Engine SDK  5.8.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IFishEyeEstimator.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(IFishEyeEstimator);
14 #endif
15 
20  enum class FishEye {
21  NoFishEyeEffect = 0,
22  FishEyeEffect = 1
23  };
24 
33  float score;
34  };
35 
51  const Image& image,
52  const Detection& detection,
53  FishEyeEstimation& estimation) const noexcept = 0;
54 
67  Span<const Image> images,
68  Span<const Detection> detections,
69  Span<FishEyeEstimation> estimations) const noexcept = 0;
70 
83  Span<const Image> images,
84  Span<const Detection> detections,
85  Span<Result<FSDKError>> errors) const noexcept = 0;
86  };
87 
88 } // 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
FishEye estimator interface.
Definition: IFishEyeEstimator.h:40
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.
Object system types and interfaces.
Common SDK error codes.
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, FishEyeEstimation &estimation) const noexcept=0
Estimate fisheye effect probability.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
with fish eye effect
float score
fish eye effect score
Definition: IFishEyeEstimator.h:33
Image.
Definition: Image.h:38
FishEye
FishEye estimator output enum. This enum contains all possible estimation results.
Definition: IFishEyeEstimator.h:20
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
FishEye result
estimation result (
Definition: IFishEyeEstimator.h:32
FishEye estimator output structure. This structure contains the result of estimation (...
Definition: IFishEyeEstimator.h:31