| Face Engine SDK 5.12.0 A face detection, recognition and tracking engine.

IFaceLandmarksBatch.h
1 #pragma once
2
3 #include <fsdk/IRefCounted.h>
4 #include <fsdk/Types/Detection.h>
5 #include <fsdk/Types/Image.h>
6 #include <fsdk/Types/Landmarks.h>
7 #include <fsdk/Types/Ref.h>
8 #include <fsdk/Types/Span.h>
9
10 #include <cstddef>
11
12 namespace fsdk {
13
14 #ifndef DOXYGEN_SHOULD_SKIP_THIS
15 DECLARE_SMARTPTR(IFaceLandmarksBatch);
16 #endif
17
21 struct IFaceLandmarksBatch : public IRefCounted {
26 virtual size_t getSizeOfLandmarks5() const noexcept = 0;
27
32 virtual size_t getSizeOfLandmarks68() const noexcept = 0;
33
40 virtual Span<const Landmarks5> getLandmarks5(size_t index = 0) const noexcept = 0;
41
48 virtual Span<const Landmarks68> getLandmarks68(size_t index = 0) const noexcept = 0;
49 };
50
51 }
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IFaceLandmarksBatch::getLandmarks5
virtual Span< const Landmarks5 > getLandmarks5(size_t index=0) const noexcept=0
Returns Landmarks5 Span.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36
fsdk::IFaceLandmarksBatch
Landmarks result batch interface.
Definition: IFaceLandmarksBatch.h:21
fsdk::IFaceLandmarksBatch::getLandmarks68
virtual Span< const Landmarks68 > getLandmarks68(size_t index=0) const noexcept=0
Returns Landmarks68 Span.
fsdk::IFaceLandmarksBatch::getSizeOfLandmarks68
virtual size_t getSizeOfLandmarks68() const noexcept=0
Returns size.
fsdk::Span
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
IRefCounted.h
Reference counted object interface.
fsdk::IFaceLandmarksBatch::getSizeOfLandmarks5
virtual size_t getSizeOfLandmarks5() const noexcept=0
Returns size.