Face Engine SDK  5.25.0
A face detection, recognition and tracking engine.
include/fsdk/Estimators/IAGSEstimator.h
00001 #pragma once
00002 
00003 #include <fsdk/IObject.h>
00004 #include <fsdk/FSDKError.h>
00005 #include <fsdk/Optional.h>
00006 #include <fsdk/Types.h>
00007 
00008 namespace fsdk {
00009 
00010 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00011     DECLARE_SMARTPTR(IAGSEstimator);
00012 #endif
00013 
00024     struct IAGSEstimator : IRefCounted {
00033         virtual ResultValue<FSDKError, float>
00034         estimate(const Image& image, const Detection& detection) const noexcept = 0;
00035 
00047         virtual Result<FSDKError>
00048         estimate(Span<const Image> images, Span<const Detection> detections, Span<float> out) const noexcept = 0;
00049 
00061         virtual Result<FSDKError> validate(
00062             Span<const Image> images,
00063             Span<const Detection> detections,
00064             Span<Result<FSDKError>> errors) const noexcept = 0;
00065     };
00066 
00068 } // namespace fsdk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines