Face Engine SDK  5.8.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 
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 }
bool isValid() const noexcept
Checks whether a detection is valid.
Definition: Detection.h:116
Definition: Human.h:10
Image.
Definition: Image.h:38
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
bool isValid() const noexcept
Definition: Image.h:757