3#include <fsdk/IObject.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/Optional.h>
10#ifndef DOXYGEN_SHOULD_SKIP_THIS
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
GlassesEstimation
Glasses estimation enum.
Definition IGlassesEstimator.h:27
@ EyeGlasses
Person is wearing eyeglasses.
@ EstimationError
failed to estimate
@ NoGlasses
Person is not wearing glasses.
@ SunGlasses
Person is wearing sunglasses.
SDK namespace.
Definition IAGSEstimator.h:8
Glasses estimator interface.
Definition IGlassesEstimator.h:38
virtual Result< FSDKError > validate(Span< const Image > warps, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single function call.
virtual ResultValue< FSDKError, GlassesEstimation > estimate(const Image &warp) const noexcept=0
virtual Result< FSDKError > estimate(Span< const Image > warps, Span< GlassesEstimation > glassesEstimations) const noexcept=0
Checks if people are wearing glasses or not for multiple warped images in a single estimate function ...
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
A structure that encapsulates an action result enumeration.
Definition Result.h:27
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition ResultValue.h:21