Face Engine SDK  5.14.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IHeadDetector.h
1 #pragma once
2 
3 #include <fsdk/FSDKError.h>
4 #include <fsdk/IObject.h>
5 #include <fsdk/Types.h>
6 #include <fsdk/IDetectionBatch.h>
7 
8 namespace fsdk {
9 
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
11  DECLARE_SMARTPTR(IHeadDetector);
12 #endif
13 
15 
27  detect(
28  Span<const Image> images,
29  Span<const Rect> rects) noexcept = 0;
30 
42  virtual Result<FSDKError>
43  validate(
44  Span<const Image> images,
45  Span<const Rect> rects,
46  Span<Result<FSDKError>> outErrors) const noexcept = 0;
47  };
50 }
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
virtual ResultValue< FSDKError, IDetectionBatchPtr > detect(Span< const Image > images, Span< const Rect > rects) noexcept=0
Detects heads on multiple images.
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Rect > rects, Span< Result< FSDKError >> outErrors) const noexcept=0
Validates input of multiple frames in a single function call.
Object system types and interfaces.
Common SDK error codes.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:25
Definition: IHeadDetector.h:14
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14