Face Engine SDK
5.23.1
A face detection, recognition and tracking engine.
Face.h
1
#pragma once
2
3
#include <fsdk/Optional.h>
4
#include <fsdk/Types/Detection.h>
5
#include <fsdk/Types/Image.h>
6
#include <fsdk/Types/Landmarks.h>
7
8
namespace
fsdk
{
9
10
struct
Face
{
11
12
typedef
float
ElementType;
13
14
fsdk::Image
img;
15
fsdk::Detection
detection;
16
Optional<fsdk::Landmarks5> landmarks5;
17
Optional<fsdk::Landmarks68> landmarks68;
18
19
bool
isValid()
const
{
20
return
img.
isValid
() && detection.
isValid
();
21
}
22
23
explicit
Face
() =
default
;
24
explicit
Face
(
const
fsdk::Image
& image)
25
: img(image){};
26
explicit
Face
(
const
fsdk::Image
& image,
const
fsdk::Detection
& detection)
27
: img(image)
28
, detection(detection){};
29
};
30
31
}
// namespace fsdk
fsdk::Face
Definition:
Face.h:10
fsdk
SDK namespace.
Definition:
IAGSEstimator.h:8
fsdk::Detection::isValid
bool isValid() const noexcept
Checks whether a detection is valid.
Definition:
Detection.h:119
fsdk::Detection
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition:
Detection.h:10
fsdk::Image::isValid
bool isValid() const noexcept
Definition:
Image.h:777
fsdk::Image
Image.
Definition:
Image.h:38
fsdk.framework
Headers
Types
Face.h
Generated on Tue Oct 29 2024 19:36:27 for Face Engine SDK by
1.8.20