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:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Face landmarks template structure.
Definition: Landmarks.h:20
RedEyeStatus
Enumeration of possible red eye statuses.
Definition: IRedEyeEstimator.h:17
Object system types and interfaces.
Red eye estimation output.
Definition: IRedEyeEstimator.h:26
RedEyeAttributes rightEye
Right eye attributes.
Definition: IRedEyeEstimator.h:36
Base strong reference counted object interface.
Definition: IRefCounted.h:36
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:31
Image.
Definition: Image.h:38
Red eye estimator interface.
Definition: IRedEyeEstimator.h:44
Eyes attribute structure.
Definition: IRedEyeEstimator.h:30
float score
Score, numerical value in range [0,1].
Definition: IRedEyeEstimator.h:32
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:35