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

Loading...
Searching...
No Matches
IDetectionBatch.h
1#pragma once
2
3#include <fsdk/IRefCounted.h>
4#include <fsdk/Types/Detection.h>
5#include <fsdk/Types/Image.h>
6#include <fsdk/Types/Ref.h>
7#include <fsdk/Types/Span.h>
8
9#include <cstddef>
10
11 namespace fsdk {
12
13#ifndef DOXYGEN_SHOULD_SKIP_THIS
14 DECLARE_SMARTPTR(IDetectionBatch);
15#endif
16
20 struct IDetectionBatch : public IRefCounted {
21
26 virtual size_t getSize() const noexcept = 0;
27
34 virtual Span<const Detection> getDetections(size_t index = 0) const noexcept = 0;
35 };
36
37} // namespace fsdk
fsdk::Span
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
DECLARE_SMARTPTR
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
fsdk
SDK namespace.
Definition IAGSEstimator.h:8
fsdk::Detection
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition Detection.h:10
fsdk::IDetectionBatch
Detection result batch interface.
Definition IDetectionBatch.h:20
fsdk::IDetectionBatch::getDetections
virtual Span< const Detection > getDetections(size_t index=0) const noexcept=0
Returns Detections Span.
fsdk::IDetectionBatch::getSize
virtual size_t getSize() const noexcept=0
Returns size.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition IRefCounted.h:37