Face Engine SDK
5.23.1
A face detection, recognition and tracking engine.
|
00001 #pragma once 00002 00003 #include <fsdk/FSDKError.h> 00004 #include <fsdk/Types.h> 00005 00006 #include <fsdk/vlc/future.h> 00007 00008 #include <fsdk/IImagesBatch.h> 00009 00010 namespace fsdk { 00011 00012 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00013 DECLARE_SMARTPTR(IImageTransfer); 00014 #endif 00015 00029 struct IImageTransfer : IRefCounted { 00030 00039 virtual ResultValue<FSDKError, Ref<IImagesBatch>> 00040 transfer(Span<const Image> images, Image::MemoryResidence residence) const noexcept = 0; 00041 00052 virtual Result<FSDKError> validate( 00053 Span<const Image> images, 00054 Image::MemoryResidence residence, 00055 Span<Result<FSDKError>> errors) const noexcept = 0; 00056 00060 using ImagesBatchFuture = vlc::future<IImagesBatchPtr>; 00061 00073 virtual ImagesBatchFuture 00074 transferAsync(Span<const Image> images, Image::MemoryResidence residence) const = 0; 00075 }; 00076 00078 } // namespace fsdk