Face Engine SDK  5.15.0
A face detection, recognition and tracking engine.
IHumanLandmarksDetector.h
1 #pragma once
2 
3 #include "FSDKError.h"
4 #include "IObject.h"
5 #include "Types.h"
6 
7 #include <fsdk/IHumanLandmarksBatch.h>
8 
9 namespace fsdk {
10 
11 #ifndef DOXYGEN_SHOULD_SKIP_THIS
12  DECLARE_SMARTPTR(IHumanLandmarksDetector);
13 #endif
14 
16 
29  Span<const Image> images,
30  Span<Span<const Detection>> detections) const noexcept = 0;
31 
45  virtual Result<FSDKError>
47  Span<const Image> images,
48  Span<Span<const Detection>> detections,
49  Span<Span<Result<FSDKError>>> errors) const noexcept = 0;
50 
63  const Image& image,
64  Span<const Detection> detections,
65  Span<HumanLandmarks17> landmarks) const noexcept = 0;
66 
78  virtual Result<FSDKError>
80  const Image& images,
81  Span<const Detection> detections,
82  Span<Result<FSDKError>> errors) const noexcept = 0;
83  };
86 }
fsdk::IHumanLandmarksDetector
Definition: IHumanLandmarksDetector.h:15
fsdk::Span
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition: Span.h:15
fsdk::IHumanLandmarksDetector::validate
virtual Result< FSDKError > validate(Span< const Image > images, Span< Span< const Detection >> detections, Span< Span< Result< FSDKError >>> errors) const noexcept=0
Validates input of multiple frames in a single function call.
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
IObject.h
Object system types and interfaces.
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IHumanLandmarksDetector::validate
virtual Result< FSDKError > validate(const Image &images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
Validates input of a frame and detections in a single function call.
fsdk::IHumanLandmarksDetector::detectLandmarks17
virtual Result< FSDKError > detectLandmarks17(const Image &image, Span< const Detection > detections, Span< HumanLandmarks17 > landmarks) const noexcept=0
Detects landmarks17 in a image.
Types.h
Common data types and structures.
fsdk::Result
A structure that encapsulates an action result enumeration.
Definition: Result.h:30
FSDKError.h
Common SDK error codes.
fsdk::IHumanLandmarksDetector::detectLandmarks17
virtual ResultValue< FSDKError, IHumanLandmarksBatchPtr > detectLandmarks17(Span< const Image > images, Span< Span< const Detection >> detections) const noexcept=0
Detects HumanLandmarks17 in multiple images.
fsdk::Image
Image.
Definition: Image.h:39
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::ResultValue
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition: ResultValue.h:25