 |
Face Engine SDK
5.23.1
A face detection, recognition and tracking engine.
|
5 #include <fsdk/IObject.h>
6 #include <fsdk/FSDKError.h>
7 #include <fsdk/Optional.h>
8 #include <fsdk/Types.h>
12 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 ClearFaceWithMaskUnderChin,
243 case DetailedMaskType::CorrectMask:
244 case DetailedMaskType::MouthCoveredWithMask:
245 case DetailedMaskType::ClearFace:
246 case DetailedMaskType::ClearFaceWithMaskUnderChin:
247 case DetailedMaskType::PartlyCoveredFace:
248 case DetailedMaskType::FullMask:
249 return scores[
static_cast<int>(type)];
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition: Span.h:14
virtual Result< FSDKError > estimate(Span< const Image > warps, Span< MedicalMaskEstimationExtended > estimations) const noexcept=0
Estimate Medical Mask probabilities.
virtual Result< FSDKError > estimate(const Image &warp, MedicalMaskEstimationExtended &estimation) const noexcept=0
Estimate MedicalMask probabilities.
DetailedMaskType maskType
detailed type (
Definition: IMedicalMaskEstimator.h:64
MedicalMaskExtended
MedicalMask estimator output enum. This enum contains all possible extended estimation results.
Definition: IMedicalMaskEstimator.h:35
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
virtual Result< FSDKError > estimate(Span< const Image > images, Span< const Detection > detections, Span< MedicalMaskEstimation > estimations) const noexcept=0
Estimate Medical Mask probabilities.
float occludedFaceScore
face is occluded by something score
Definition: IMedicalMaskEstimator.h:69
MedicalMask estimator interface.
Definition: IMedicalMaskEstimator.h:100
SDK namespace.
Definition: IAGSEstimator.h:8
float occludedFaceScore
face is occluded by something score
Definition: IMedicalMaskEstimator.h:93
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, MedicalMaskEstimation &estimation) const noexcept=0
Estimate MedicalMask probabilities.
virtual Result< FSDKError > estimate(const Image &image, const Detection &detection, MedicalMaskEstimationExtended &estimation) const noexcept=0
Estimate MedicalMask probabilities.
float noMaskScore
no medical mask on the face score
Definition: IMedicalMaskEstimator.h:68
@ Mask
medical mask is on the face
float maskScore
medical mask is on the face score
Definition: IMedicalMaskEstimator.h:67
virtual Result< FSDKError > estimate(Span< const Image > warps, Span< MedicalMaskEstimation > estimations) const noexcept=0
Estimate Medical Mask probabilities.
virtual Result< FSDKError > estimate(const Image &warp, MedicalMaskEstimation &estimation) const noexcept=0
Estimate MedicalMask probabilities.
virtual Result< FSDKError > validate(Span< const Image > images, Span< const Detection > detections, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
@ Mask
medical mask is on the face
Detection structure. @detail Stores a detected bounding box within a source image rect.
Definition: Detection.h:10
float scores[static_cast< int >(DetailedMaskType::Count)]
detailed estimation scores
Definition: IMedicalMaskEstimator.h:71
MedicalMask
MedicalMask estimator output enum. This enum contains all possible estimation results.
Definition: IMedicalMaskEstimator.h:25
@ CorrectMask
correct mask on the face (mouth and nose are covered correctly)
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
float noMaskScore
no medical mask on the face score
Definition: IMedicalMaskEstimator.h:91
MedicalMask estimator output structure. This structure contains the result of estimation (.
Definition: IMedicalMaskEstimator.h:62
float maskScore
medical mask is on the face score
Definition: IMedicalMaskEstimator.h:90
MedicalMaskExtended result
estimation result (
Definition: IMedicalMaskEstimator.h:88
float maskNotInPlace
mask is not on the right place
Definition: IMedicalMaskEstimator.h:92
virtual Result< FSDKError > validate(Span< const Image > warps, Span< Result< FSDKError >> errors) const noexcept=0
Validate input of multiple frames in a single function call.
Image.
Definition: Image.h:38
DetailedMaskType
MedicalMask estimator output enum. This enum contains all type of DetailedMaskType results.
Definition: IMedicalMaskEstimator.h:46
virtual Result< FSDKError > estimate(Span< const Image > images, Span< const Detection > detections, Span< MedicalMaskEstimationExtended > estimations) const noexcept=0
Estimate Medical Mask probabilities.
MedicalMask estimator output structure. This structure contains the result of estimation (.
Definition: IMedicalMaskEstimator.h:87
MedicalMask result
estimation result (
Definition: IMedicalMaskEstimator.h:63
Base strong reference counted object interface.
Definition: IRefCounted.h:37
float getScore(DetailedMaskType type) const
Returns score of required detailed mask type.
Definition: IMedicalMaskEstimator.h:241