Face Engine SDK  5.14.0
A face detection, recognition and tracking engine.
 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 namespace fsdk {
8 
9  struct Human {
10  typedef float ElementType;
11 
12  fsdk::Image img;
13  fsdk::Detection detection;
14  Optional<fsdk::HumanLandmarks17> landmarks17;
15  bool isValid() const {
16  return detection.isValid() && img.isValid();
17  }
18 
19  explicit Human() = default;
20  };
21 }
bool isValid() const noexcept
Checks whether a detection is valid.
Definition: Detection.h:116
Definition: Human.h:9
Image.
Definition: Image.h:39
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
bool isValid() const noexcept
Definition: Image.h:774