10#include <fsdk/FSDKError.h>
11#include <fsdk/IRefCounted.h>
12#include <fsdk/Types.h>
14#include <fsdk/vlc/future.h>
17 struct EyesEstimation;
18 struct GazeEstimation;
23#ifndef DOXYGEN_SHOULD_SKIP_THIS
61 Image& transformedImage)
const noexcept = 0;
99 Landmarks5& transformedLandmarks)
const noexcept = 0;
114 Landmarks68& transformedLandmarks68)
const noexcept = 0;
161 const GazeEstimation& warpedAngles,
163 GazeEstimation& angles)
const noexcept = 0;
169 using ImageBatchFuture = vlc::future<ImageBatch>;
183 virtual ImageBatchFuture
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
SDK namespace.
Definition IAGSEstimator.h:8
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
Eyes estimation output.
Definition IEyeEstimator.h:23
Base strong reference counted object interface.
Definition IRefCounted.h:37
Face detection area warper interface.
Definition IWarper.h:38
virtual Result< FSDKError > warp(const Image &image, const Transformation &transformation, Image &transformedImage) const noexcept=0
Warp image.
virtual Result< FSDKError > unwarp(const EyesEstimation &eyesEstimationInWarpCoordinates, const Transformation &transformation, EyesEstimation &eyesEstimation) const noexcept=0
Warp irisLandmarks in EyesEstimation struct for both eyes.
virtual Result< FSDKError > warp(Span< const Image > images, Span< const Transformation > transformations, Span< Image > transformedImages) const noexcept=0
Warp faces on multiple images.
virtual ImageBatchFuture warpAsync(Span< const Image > images, Span< const Transformation > transformations) const =0
Asynchronously warp faces on multiple images.
virtual Result< FSDKError > unwarp(const Landmarks68 &warpedLandmarks68, const Transformation &transformation, Landmarks68 &landmarks68) const noexcept=0
Warp landmarks of size 68 back to source image coordinates.
virtual Result< FSDKError > unwarp(const Landmarks5 &warpedLandmarks5, const Transformation &transformation, Landmarks5 &landmarks5) const noexcept=0
Warp landmarks of size 5 back to source image coordinates.
virtual Result< FSDKError > warp(const Landmarks5 &landmarks, const Transformation &transformation, Landmarks5 &transformedLandmarks) const noexcept=0
Warp landmarks of size 5.
virtual Transformation createTransformation(const Detection &detection, const Landmarks5 &landmarks) const noexcept=0
Create transformation data struct.
std::vector< Image > ImageBatch
Common aliases for IWarper asynchronous interface.
Definition IWarper.h:168
virtual Result< FSDKError > warp(const Landmarks68 &landmarks68, const Transformation &transformation, Landmarks68 &transformedLandmarks68) const noexcept=0
Warp landmarks of size 68.
Image.
Definition Image.h:38
Face landmarks template structure.
Definition Landmarks.h:23
A structure that encapsulates an action result enumeration.
Definition Result.h:27