Face Engine SDK 5.25.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
Human.h
1#pragma once
2
3#include <fsdk/Optional.h>
4#include <fsdk/Types/Detection.h>
5#include <fsdk/Types/Image.h>
6
7namespace 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
SDK namespace.
Definition IAGSEstimator.h:8
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
bool isValid() const noexcept
Checks whether a detection is valid.
Definition Detection.h:119
Definition Human.h:9
Image.
Definition Image.h:38
bool isValid() const noexcept
Definition Image.h:777