Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
00001 #pragma once 00002 00003 #include <fsdk/IRefCounted.h> 00004 #include <fsdk/Types/Detection.h> 00005 #include <fsdk/Types/Face.h> 00006 #include <fsdk/Types/Image.h> 00007 #include <fsdk/Types/Landmarks.h> 00008 #include <fsdk/Types/Ref.h> 00009 #include <fsdk/Types/Span.h> 00010 00011 #include <cstddef> 00012 00013 namespace fsdk { 00014 00015 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00016 DECLARE_SMARTPTR(IFaceDetectionBatch); 00017 #endif 00018 00022 struct IFaceDetectionBatch : public IRefCounted { 00027 virtual size_t getSize() const noexcept = 0; 00028 00034 virtual size_t getSize(size_t imageIndex) const noexcept = 0; 00035 00047 virtual Face getFace(const Image& img, size_t imageIndex, size_t detectionIndex) const noexcept = 0; 00048 00059 virtual Span<const Detection> getDetections(size_t index = 0) const noexcept = 0; 00060 00071 virtual Span<const Landmarks5> getLandmarks5(size_t index = 0) const noexcept = 0; 00072 00083 virtual Span<const Landmarks68> getLandmarks68(size_t index = 0) const noexcept = 0; 00084 }; 00085 00086 } // namespace fsdk