4 #include <fsdk/IHumanFaceBatch.h>
7 #include <fsdk/Types/Detection.h>
8 #include <fsdk/Types/Image.h>
9 #include <fsdk/Types/Ref.h>
10 #include <fsdk/Types/ResultValue.h>
11 #include <fsdk/Types/Span.h>
13 #include <fsdk/vlc/future.h>
17 #ifndef DOXYGEN_SHOULD_SKIP_THIS
108 return static_cast<int>(lhs) & static_cast<int>(rhs);
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
Get bounding boxes of faces and humans.
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Rect > rects, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
Base strong reference counted object interface.
Definition: IRefCounted.h:37
virtual HumanFaceBatchFuture detectAsync(Span< const Image > images, Span< const Rect > rectangles, HumanFaceDetectionType type=HumanFaceDetectionType::HFDT_ALL) const =0
Asynchronously detect of faces and human bodies.
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:21
HumanFaceDetectionType
Detection type enumeration for IHumanFaceDetector.
Definition: IHumanFaceDetector.h:29
Get bounding boxes of faces and humans with associations.
vlc::future< IHumanFaceBatchPtr > HumanFaceBatchFuture
Common aliases for IDetector asynchronous interface.
Definition: IHumanFaceDetector.h:75
Human and face detector interface.
Definition: IHumanFaceDetector.h:38
virtual ResultValue< FSDKError, IHumanFaceBatchPtr > detect(Span< const Image > images, Span< const Rect > rects, HumanFaceDetectionType type=HumanFaceDetectionType::HFDT_ALL) const noexcept=0
Batched detect of faces and human bodies.
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
Reference counted object interface.