Face Engine SDK  5.8.0
A face detection, recognition and tracking engine.
IHumanDetectionBatch.h
1 #pragma once
2 
3 #include <fsdk/IRefCounted.h>
4 #include <fsdk/Types/Detection.h>
5 #include <fsdk/Types/Human.h>
6 #include <fsdk/Types/HumanLandmarks.h>
7 #include <fsdk/Types/Image.h>
8 #include <fsdk/Types/Ref.h>
9 #include <fsdk/Types/Span.h>
10 
11 #include <cstddef>
12 
13 namespace fsdk {
14 
15 #ifndef DOXYGEN_SHOULD_SKIP_THIS
16  DECLARE_SMARTPTR(IHumanDetectionBatch);
17 #endif
18 
26  virtual size_t getSize() const noexcept = 0;
27 
32  virtual size_t getSize(size_t imageIndex) const noexcept = 0;
33 
45  virtual Human getHuman(const Image& image, size_t imageIndex, size_t detectionIndex) const noexcept = 0;
46 
57  virtual Span<const Detection> getDetections(size_t index = 0) const noexcept = 0;
58 
69  virtual Span<const HumanLandmarks17> getLandmarks17(size_t index = 0) const noexcept = 0;
70 
71  };
72 
73 }
fsdk::Span
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition: Span.h:15
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
fsdk::IHumanDetectionBatch::getDetections
virtual Span< const Detection > getDetections(size_t index=0) const noexcept=0
Returns detection Span.
fsdk::IHumanDetectionBatch
Human detection result batch interface.
Definition: IHumanDetectionBatch.h:22
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IHumanDetectionBatch::getLandmarks17
virtual Span< const HumanLandmarks17 > getLandmarks17(size_t index=0) const noexcept=0
Returns HumanLandmarks17 Span.
fsdk::IHumanDetectionBatch::getHuman
virtual Human getHuman(const Image &image, size_t imageIndex, size_t detectionIndex) const noexcept=0
Returns detected Human.
fsdk::Human
Definition: Human.h:10
fsdk::HumanLandmarks
Human keypoints landmarks template structure.
Definition: HumanLandmarks.h:29
fsdk::IHumanDetectionBatch::getSize
virtual size_t getSize() const noexcept=0
Returns size.
fsdk::Detection
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
fsdk::Image
Image.
Definition: Image.h:38
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36