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

Human.h
1 #pragma once
2
3 #include <fsdk/Optional.h>
4 #include <fsdk/Types/Detection.h>
5 #include <fsdk/Types/Image.h>
6
7 namespace fsdk {
8
9 struct Human {
10 typedef float ElementType;
11
12 fsdk::Image img;
13 fsdk::Detection detection;
14
15 bool isValid() const {
16 return detection.isValid() && img.isValid();
17 }
18
19 explicit Human() = default;
20 };
21 } // namespace fsdk
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::Human
Definition: Human.h:9
fsdk::Image
Image.
Definition: Image.h:38
fsdk::Detection
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
fsdk::Image::isValid
bool isValid() const noexcept
Definition: Image.h:819