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

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
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IImagesBatch::getSize
virtual size_t getSize() const noexcept=0
Returns size.
fsdk::IImagesBatch::getImages
virtual Span< const Image > getImages() const noexcept=0
Return Images Span.
fsdk::IImagesBatch
Result of ImageTransfer module.
Definition: IImagesBatch.h:22
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:37
Def.h
Common SDK definitions.
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IImagesBatch::getImage
virtual Image getImage(size_t index=0) const noexcept=0
Returns Image.
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.