Face Engine SDK
4.6.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
Face.h
1
#pragma once
2
3
#include "
Types.h
"
4
#include "Optional.h"
5
#include "Types/OrientationType.h"
6
7
namespace
fsdk {
8
9
struct
Face
{
10
11
typedef
float
ElementType;
12
13
fsdk::Image
img;
14
fsdk::BaseDetection<ElementType>
detection;
15
Optional<fsdk::Landmarks5>
landmarks5;
16
Optional<fsdk::Landmarks68>
landmarks68;
17
Optional<fsdk::OrientationType>
orientation;
18
19
bool
isValid()
const
{
20
return
img.
isValid
() && detection.
isValid
();
21
}
22
23
explicit
Face
() =
default
;
24
explicit
Face
(
const
fsdk::Image
& image) : img(image) {};
25
explicit
Face
(
26
const
fsdk::Image
& image,
27
const
fsdk::BaseDetection<ElementType>
& detection) :
28
img(image),
29
detection(detection) {};
30
};
31
32
}
Types.h
Common data types and structures.
fsdk::Face
Definition:
Face.h:9
fsdk::BaseDetection::isValid
bool isValid() const noexcept
Checks whether a detection is valid.
Definition:
Detection.h:34
fsdk::Optional
Definition:
Optional.h:14
fsdk::Image
Image.
Definition:
Image.h:37
fsdk::BaseDetection< ElementType >
fsdk::Image::isValid
bool isValid() const noexcept
Definition:
Image.h:672
include
fsdk
Face.h
Generated on Fri Apr 16 2021 10:32:02 for Face Engine SDK by
1.8.5