| Face Engine SDK 4.7.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
IMouthEstimator.h
1 #pragma once
2
3 #include <fsdk/IObject.h>
4 #include <fsdk/FSDKError.h>
5 #include <fsdk/Optional.h>
6 #include <fsdk/Types.h>
7
8 namespace fsdk {
9
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
11 DECLARE_SMARTPTR(IMouthEstimator);
12 #endif
13
21 struct MouthEstimation {
22 float opened;
23 float smile;
24 float occluded;
25 bool isOpened;
26 bool isSmiling;
27 bool isOccluded;
28 };
29
34 struct IMouthEstimator : IRefCounted {
35
42 virtual Result<FSDKError>
43 estimate(
44 const fsdk::Image& warp,
45 MouthEstimation& estimation) const noexcept = 0;
46 };
47
48 } // namespace fsdk
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::IMouthEstimator::estimate
virtual Result< FSDKError > estimate(const fsdk::Image &warp, MouthEstimation &estimation) const noexcept=0
Estimate MouthEstimation probabilities.
fsdk::Result< FSDKError >
Types.h
Common data types and structures.
fsdk::MouthEstimation::smile
float smile
person is smiling score
Definition: IMouthEstimator.h:23
IObject.h
Object system types and interfaces.
fsdk::MouthEstimation::occluded
float occluded
mouth is occluded score
Definition: IMouthEstimator.h:24
FSDKError.h
Common SDK error codes.
fsdk::MouthEstimation
Mouth estimator output structure. Stores flags that indicates wich mouth feature is present...
Definition: IMouthEstimator.h:21
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::MouthEstimation::isOccluded
bool isOccluded
Mouth is occluded flag.
Definition: IMouthEstimator.h:27
fsdk::IMouthEstimator
Mouth estimator interface.
Definition: IMouthEstimator.h:34
fsdk::MouthEstimation::opened
float opened
mouth opened score
Definition: IMouthEstimator.h:22
fsdk::Image
Image.
Definition: Image.h:38
fsdk::MouthEstimation::isOpened
bool isOpened
Mouth is opened flag.
Definition: IMouthEstimator.h:25
fsdk::MouthEstimation::isSmiling
bool isSmiling
Person is smiling flag.
Definition: IMouthEstimator.h:26