Face Engine SDK  5.3.0
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 
15 namespace fsdk {
16 
17 #ifndef DOXYGEN_SHOULD_SKIP_THIS
18  DECLARE_SMARTPTR(IHumanWarper);
19 #endif
20 
26 
34  virtual Result<FSDKError>
35  warp(
36  const fsdk::Image image,
37  const fsdk::Detection& detection,
38  fsdk::Image& transformedImage) const noexcept = 0;
39  };
40 
41 }
#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
virtual Result< FSDKError > warp(const fsdk::Image image, const fsdk::Detection &detection, fsdk::Image &transformedImage) const noexcept=0
Warp human detection.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Image.
Definition: Image.h:37
Human detection area warper interface.
Definition: IHumanWarper.h:25
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
Reference counted object interface.