5 #include <fsdk/Optional.h>
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
virtual Result< FSDKError > estimate(const Image &warp, const Landmarks5 &landmarks5Transformed, RedEyeEstimation &estimation) const noexcept=0
Estimates whether red eyes in a photo or not.
#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
Common data types and structures.
Face landmarks template structure.
Definition: Landmarks.h:23
Object system types and interfaces.
Red eye estimation output.
Definition: IRedEyeEstimator.h:31
RedEyeStatus
Enumeration of possible red eye statuses.
Definition: IRedEyeEstimator.h:22
RedEyeAttributes rightEye
Right eye attributes.
Definition: IRedEyeEstimator.h:41
Base strong reference counted object interface.
Definition: IRefCounted.h:37
virtual Result< FSDKError > validate(Span< const Image > warps, Span< const Landmarks5 > landmarks5Transformed, Span< Result< FSDKError >> errors) const noexcept=0
Validates input of multiple frames in a single function call.
RedEyeStatus status
Status of an eye.
Definition: IRedEyeEstimator.h:36
Image.
Definition: Image.h:38
Red eye estimator interface.
Definition: IRedEyeEstimator.h:49
Eyes attribute structure.
Definition: IRedEyeEstimator.h:35
float score
Score, numerical value in range [0,1].
Definition: IRedEyeEstimator.h:37
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
RedEyeAttributes leftEye
Left eye attributes.
Definition: IRedEyeEstimator.h:40