| 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
ISmileEstimator.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(ISmileEstimator);
12 #endif
13
21 struct SmileEstimation {
22 float mouth;
23 float smile;
24 float occlusion;
25 };
26
27
33 struct ISmileEstimator : IRefCounted {
40 virtual Result<FSDKError>
41 FSDK_DEPRECATED("Smile estimator is deprecated since v.3.8.8."
42 "Consider using MouthEstimator instead")
43 estimate(
44 const fsdk::Image& warp,
45 SmileEstimation& 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::ISmileEstimator
Smile estimator interface.
Definition: ISmileEstimator.h:33
fsdk::Result< FSDKError >
Types.h
Common data types and structures.
fsdk::SmileEstimation::occlusion
float occlusion
mouth occlusion probability score.
Definition: ISmileEstimator.h:24
IObject.h
Object system types and interfaces.
FSDKError.h
Common SDK error codes.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::SmileEstimation::mouth
float mouth
mouth probability score;
Definition: ISmileEstimator.h:22
fsdk::SmileEstimation::smile
float smile
smile probability score;
Definition: ISmileEstimator.h:23
fsdk::SmileEstimation
Smile estimation structure Each estimation is given in normalized [0, 1] range and scores sum always ...
Definition: ISmileEstimator.h:21
fsdk::Image
Image.
Definition: Image.h:38