5 #include <fsdk/Optional.h>
12 #ifndef DOXYGEN_SHOULD_SKIP_THIS
30 float positive = 0.0f;
31 float negative = 0.0f;
82 float* arr = &this->positive;
84 std::distance(arr, std::max_element(arr, arr + static_cast<int>(
PPEState::Count))));
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
Personal Protection Equipment estimation structure (a.k.a. PPE) This structure contains prediction sc...
Definition: IPPEEstimator.h:29
Personal Protection Equipment estimator interface.
Definition: IPPEEstimator.h:68
Common data types and structures.
virtual ResultValue< FSDKError, PPEEstimation > estimate(const Image &image, const Detection &detection) const noexcept=0
estimate PPE.
PPEState getPredominantState()
returns predominant personal equipment state
Definition: IPPEEstimator.h:81
Object system types and interfaces.
person is wearing specific personal equipment;
Base strong reference counted object interface.
Definition: IRefCounted.h:37
PPEState
Definition: IPPEEstimator.h:34
Addon for Result to output some value aside the result. Specialization for copiable types...
Definition: ResultValue.h:21
person isn't wearing specific personal equipment;
Image.
Definition: Image.h:38
it's hard to tell wether person wears specific personal equipment.
Detection structure. Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
Personal Protection Equipment output structure. This structure aggregates multiple PPE attributes pre...
Definition: IPPEEstimator.h:57