Face Engine SDK 5.26.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
ILivenessDepthRGBEstimator.h
1#pragma once
2
3#include <fsdk/Def.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/IRefCounted.h>
6#include <fsdk/Types/Detection.h>
7#include <fsdk/Types/Image.h>
8#include <fsdk/Types/Landmarks.h>
9#include <fsdk/Types/Ref.h>
10#include <fsdk/Types/Result.h>
11#include <fsdk/Types/Span.h>
12
13namespace fsdk {
14
15#ifndef DOXYGEN_SHOULD_SKIP_THIS
16 DECLARE_SMARTPTR(ILivenessDepthRGBEstimator);
17#endif
18
30 float score;
32 bool isReal;
33 };
34
55 const Image& depth,
56 const Image& rgb,
57 const Detection& detection,
58 const Landmarks5& landmarks5,
59 DepthRGBEstimation& out) const noexcept = 0;
60
77 Span<const Image> depths,
79 Span<const Detection> detections,
80 Span<const Landmarks5> landmarks5,
81 Span<DepthRGBEstimation> outs) const noexcept = 0;
82
97 Span<const Image> depths,
99 Span<const Detection> detections,
100 Span<const Landmarks5> landmarks5,
101 Span<Result<FSDKError>> errors) const noexcept = 0;
102 };
103
105} // namespace fsdk
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
SDK namespace.
Definition IAGSEstimator.h:8
Depth+RBG liveness estimation output structure.
Definition ILivenessDepthRGBEstimator.h:27
float score
boolean flag that indicates whether a person is real.
Definition ILivenessDepthRGBEstimator.h:30
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
Depth+RGB estimator interface.
Definition ILivenessDepthRGBEstimator.h:41
virtual Result< FSDKError > validate(Span< const Image > depths, Span< const Image > rgbs, Span< const Detection > detections, Span< const Landmarks5 > landmarks5, Span< Result< FSDKError > > errors) const noexcept=0
Validates input of multiple frames in a single function call.
virtual Result< FSDKError > estimate(const Image &depth, const Image &rgb, const Detection &detection, const Landmarks5 &landmarks5, DepthRGBEstimation &out) const noexcept=0
Checks whether or not the detection corresponds to the real person.
virtual Result< FSDKError > estimate(Span< const Image > depths, Span< const Image > rgbs, Span< const Detection > detections, Span< const Landmarks5 > landmarks5, Span< DepthRGBEstimation > outs) const noexcept=0
Checks several detection on several images to see whether or not the detections corresponds to the re...
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
Face landmarks template structure.
Definition Landmarks.h:23
A structure that encapsulates an action result enumeration.
Definition Result.h:27