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

Human.h
1 #pragma once
2
3 #include "Types.h"
4 #include "Optional.h"
5 #include "fsdk/Types/HumanLandmarks.h"
6
7 namespace fsdk {
8
9 struct Human {
10 typedef float ElementType;
11
12 fsdk::Image img;
13 fsdk::BaseDetection<ElementType> detection;
14 Optional<fsdk::HumanLandmarks17> landmarks17;
15 bool isValid() const {
16 return detection.isValid() && img.isValid();
17 }
18
19 explicit Human() = default;
20 };
21 }
fsdk::BaseDetection::isValid
bool isValid() const noexcept
Checks whether a detection is valid.
Definition: Detection.h:34
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::Human
Definition: Human.h:9
Types.h
Common data types and structures.
fsdk::Optional
Definition: Optional.h:14
fsdk::Image::isValid
bool isValid() const noexcept
Definition: Image.h:673
fsdk::Image
Image.
Definition: Image.h:38
fsdk::BaseDetection< ElementType >