| Face Engine SDK 5.35.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/Ref.h>
15 #include <fsdk/Types/Span.h>
16 #include <fsdk/Types/ResultValue.h>
17
18 namespace fsdk {
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 DECLARE_SMARTPTR(IHumanWarper);
22 #endif
23
28 struct IHumanWarper : IRefCounted {
42 virtual Result<FSDKError>
43 warp(const Image& image, const Detection& detection, Image& transformedImage) const noexcept = 0;
44
64 virtual Result<FSDKError> warp(
65 Span<const Image> images,
66 Span<const Detection> detections,
67 Span<Image> transformedImages) const noexcept = 0;
68 };
69
70 } // namespace fsdk
fsdk::IHumanWarper::warp
virtual Result< FSDKError > warp(const Image &image, const Detection &detection, Image &transformedImage) const noexcept=0
Warp human detection.
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:70
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:37
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IHumanWarper
Human detection area warper interface.
Definition: IHumanWarper.h:28
fsdk::Detection
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
fsdk::Span
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
IRefCounted.h
Reference counted object interface.