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

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
23 struct IHumanWarper : IRefCounted {
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 }
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
fsdk::IHumanWarper::warp
virtual Result< FSDKError > warp(const fsdk::Image image, const fsdk::Detection &detection, fsdk::Image &transformedImage) const noexcept=0
Warp human detection.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::Image
Image.
Definition: Image.h:37
fsdk::IHumanWarper
Human detection area warper interface.
Definition: IHumanWarper.h:23
fsdk::Detection
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10