Face Engine SDK  5.4.1
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
27 
39  virtual Result<FSDKError>
40  warp(
41  const Image image,
42  const Detection& detection,
43  Image& transformedImage) const noexcept = 0;
44 
60  virtual Result<FSDKError>
61  warp(
62  Span<const Image> images,
63  Span<const Detection> detections,
64  Span<Image> transformedImages) const noexcept = 0;
65 
66  };
67 
68 }
#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 SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual Result< FSDKError > warp(const Image image, const Detection &detection, Image &transformedImage) const noexcept=0
Warp human detection.
Image.
Definition: Image.h:38
Human detection area warper interface.
Definition: IHumanWarper.h:26
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
Reference counted object interface.