Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
00001 #pragma once 00002 00003 #include <fsdk/FSDKError.h> 00004 #include <fsdk/IObject.h> 00005 #include <fsdk/Types.h> 00006 00007 namespace fsdk { 00008 00009 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00010 DECLARE_SMARTPTR(IDepthLivenessEstimator); 00011 #endif 00012 00021 struct DepthLivenessEstimation { 00022 float score; 00023 bool isReal; 00024 }; 00025 00031 struct IDepthLivenessEstimator : IRefCounted { 00040 virtual Result<FSDKError> estimate(const Image& depth, DepthLivenessEstimation& out) const noexcept = 0; 00041 00052 virtual Result<FSDKError> 00053 estimate(Span<const Image> depths, Span<DepthLivenessEstimation> outs) const noexcept = 0; 00054 00065 virtual Result<FSDKError> 00066 validate(Span<const Image> depths, Span<Result<FSDKError>> errors) const noexcept = 0; 00067 }; 00068 00070 } // namespace fsdk