| Face Engine SDK 5.2.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
Human.h
1 #pragma once
2
3 #include "fsdk/Optional.h"
4 #include <fsdk/Types/Detection.h>
5 #include "fsdk/Types/HumanLandmarks.h"
6
7
8 namespace fsdk {
9
10 struct Human {
11 typedef float ElementType;
12
13 fsdk::Image img;
14 fsdk::Detection detection;
15 Optional<fsdk::HumanLandmarks17> landmarks17;
16 bool isValid() const {
17 return detection.isValid() && img.isValid();
18 }
19
20 explicit Human() = default;
21 };
22 }
fsdk::Detection::isValid
bool isValid() const noexcept
Checks whether a detection is valid.
Definition: Detection.h:116
fsdk::Human
Definition: Human.h:10
fsdk::Image
Image.
Definition: Image.h:37
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:672