Face Engine SDK  5.25.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IImagesBatch.h
1 #pragma once
2 
3 #include <fsdk/Def.h>
4 #include <fsdk/IRefCounted.h>
5 #include <fsdk/Types/Image.h>
6 #include <fsdk/Types/Ref.h>
7 #include <fsdk/Types/Span.h>
8 
9 namespace fsdk {
10 
11 #ifndef DOXYGEN_SHOULD_SKIP_THIS
12  DECLARE_SMARTPTR(IImagesBatch);
13 #endif
14 
22  struct IImagesBatch : public IRefCounted {
23 
28  virtual size_t getSize() const noexcept = 0;
29 
36  virtual Image getImage(size_t index = 0) const noexcept = 0;
37 
45  virtual Span<const Image> getImages() const noexcept = 0;
46  };
47 
48 } // namespace fsdk
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
virtual size_t getSize() const noexcept=0
Returns size.
virtual Span< const Image > getImages() const noexcept=0
Return Images Span.
Result of ImageTransfer module.
Definition: IImagesBatch.h:22
Base strong reference counted object interface.
Definition: IRefCounted.h:37
Common SDK definitions.
Image.
Definition: Image.h:38
virtual Image getImage(size_t index=0) const noexcept=0
Returns Image.
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.