Face Engine SDK  5.2.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/Types/Image.h>
11 #include <fsdk/Types/Human.h>
12 
13 namespace fsdk {
14 
15 #ifndef DOXYGEN_SHOULD_SKIP_THIS
16  DECLARE_SMARTPTR(IHumanWarper);
17 #endif
18 
24 
31  virtual Result<FSDKError>
32  warp(
33  const fsdk::Image image,
34  const fsdk::Detection& detection,
35  fsdk::Image& transformedImage) const noexcept = 0;
36  };
37 
38 }
#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.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Image.
Definition: Image.h:37
Human detection area warper interface.
Definition: IHumanWarper.h:23
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10