Face Engine SDK 5.25.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
IImageTransfer.h
1#pragma once
2
3#include <fsdk/FSDKError.h>
4#include <fsdk/Types.h>
5
6#include <fsdk/vlc/future.h>
7
8#include <fsdk/IImagesBatch.h>
9
10namespace fsdk {
11
12#ifndef DOXYGEN_SHOULD_SKIP_THIS
13 DECLARE_SMARTPTR(IImageTransfer);
14#endif
15
30
40 transfer(Span<const Image> images, Image::MemoryResidence residence) const noexcept = 0;
41
53 Span<const Image> images,
54 Image::MemoryResidence residence,
55 Span<Result<FSDKError>> errors) const noexcept = 0;
56
60 using ImagesBatchFuture = vlc::future<IImagesBatchPtr>;
61
73 virtual ImagesBatchFuture
75 };
76
78} // namespace fsdk
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
SDK namespace.
Definition IAGSEstimator.h:8
Image transfer facility which give speed up of usage internal memory pool.
Definition IImageTransfer.h:29
vlc::future< IImagesBatchPtr > ImagesBatchFuture
Common alias for IImageTransfer asynchronous interface.
Definition IImageTransfer.h:60
virtual ImagesBatchFuture transferAsync(Span< const Image > images, Image::MemoryResidence residence) const =0
Asynchronously transfer multiple images.
virtual ResultValue< FSDKError, Ref< IImagesBatch > > transfer(Span< const Image > images, Image::MemoryResidence residence) const noexcept=0
Transfer of multiple images.
virtual Result< FSDKError > validate(Span< const Image > images, Image::MemoryResidence residence, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single function call.
Base strong reference counted object interface.
Definition IRefCounted.h:37
MemoryResidence
Memory residence.
Definition Image.h:107
A structure that encapsulates an action result enumeration.
Definition Result.h:27
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition ResultValue.h:21