Face Engine SDK 5.25.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
IAGSEstimator.h
1#pragma once
2
3#include <fsdk/IObject.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/Optional.h>
6#include <fsdk/Types.h>
7
8namespace fsdk {
9
10#ifndef DOXYGEN_SHOULD_SKIP_THIS
12#endif
13
34 estimate(const Image& image, const Detection& detection) const noexcept = 0;
35
47 virtual Result<FSDKError>
48 estimate(Span<const Image> images, Span<const Detection> detections, Span<float> out) const noexcept = 0;
49
62 Span<const Image> images,
63 Span<const Detection> detections,
64 Span<Result<FSDKError>> errors) const noexcept = 0;
65 };
66
68} // 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
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
Approximate Garbage Score estimator interface.
Definition IAGSEstimator.h:24
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single function call.
virtual ResultValue< FSDKError, float > estimate(const Image &image, const Detection &detection) const noexcept=0
Estimate the ags.
virtual Result< FSDKError > estimate(Span< const Image > images, Span< const Detection > detections, Span< float > out) const noexcept=0
Estimate ags of multiple frames in a single estimate function call.
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
A structure that encapsulates an action result enumeration.
Definition Result.h:27
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition ResultValue.h:21