| Face Engine SDK 5.7.0 A face detection, recognition and tracking engine.

IHumanWarper.h
Go to the documentation of this file.
1 #pragma once
2
10 #include <fsdk/FSDKError.h>
11 #include <fsdk/IRefCounted.h>
12 #include <fsdk/Types/Detection.h>
13 #include <fsdk/Types/Image.h>
14 #include <fsdk/Types/Span.h>
15
16 namespace fsdk {
17
18 #ifndef DOXYGEN_SHOULD_SKIP_THIS
19 DECLARE_SMARTPTR(IHumanWarper);
20 #endif
21
26 struct IHumanWarper : IRefCounted {
40 virtual Result<FSDKError>
41 warp(
42 const Image image,
43 const Detection& detection,
44 Image& transformedImage) const noexcept = 0;
45
65 virtual Result<FSDKError>
66 warp(
67 Span<const Image> images,
68 Span<const Detection> detections,
69 Span<Image> transformedImages) const noexcept = 0;
70
71 };
72
73 }
fsdk::Span
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition: Span.h:15
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::IHumanWarper::warp
virtual Result< FSDKError > warp(Span< const Image > images, Span< const Detection > detections, Span< Image > transformedImages) const noexcept=0
Warps humans on multiple images.
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IHumanWarper::warp
virtual Result< FSDKError > warp(const Image image, const Detection &detection, Image &transformedImage) const noexcept=0
Warp human detection.
fsdk::IHumanWarper
Human detection area warper interface.
Definition: IHumanWarper.h:26
fsdk::Detection
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:30
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36