Face Engine SDK  5.23.1
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 } // namespace fsdk
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
virtual Span< const Landmarks5 > getLandmarks5(size_t index=0) const noexcept=0
Returns Landmarks5 Span.
Base strong reference counted object interface.
Definition: IRefCounted.h:37
Landmarks result batch interface.
Definition: IFaceLandmarksBatch.h:21
virtual Span< const Landmarks68 > getLandmarks68(size_t index=0) const noexcept=0
Returns Landmarks68 Span.
virtual size_t getSizeOfLandmarks68() const noexcept=0
Returns size.
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.
virtual size_t getSizeOfLandmarks5() const noexcept=0
Returns size.