Estimators public interfaces and related types and structures.
More...
|
enum | fsdk::GlassesEstimation : uint8_t { fsdk::GlassesEstimation::NoGlasses,
fsdk::GlassesEstimation::EyeGlasses,
fsdk::GlassesEstimation::SunGlasses,
fsdk::GlassesEstimation::EstimationError
} |
| Glasses estimation enum. More...
|
|
enum | fsdk::MedicalMask { fsdk::MedicalMask::Mask = 0,
fsdk::MedicalMask::NoMask,
fsdk::MedicalMask::OccludedFace
} |
| MedicalMask estimator output enum. This enum contains all possible estimation results. More...
|
|
enum | fsdk::MedicalMaskExtended { fsdk::MedicalMaskExtended::Mask = 0,
fsdk::MedicalMaskExtended::NoMask,
fsdk::MedicalMaskExtended::MaskNotInPlace,
fsdk::MedicalMaskExtended::OccludedFace
} |
| MedicalMask estimator output enum. This enum contains all possible extended estimation results. More...
|
|
enum | fsdk::DetailedMaskType {
fsdk::DetailedMaskType::CorrectMask = 0,
fsdk::DetailedMaskType::MouthCoveredWithMask,
fsdk::DetailedMaskType::ClearFace,
fsdk::DetailedMaskType::ClearFaceWithMaskUnderChin,
fsdk::DetailedMaskType::PartlyCoveredFace,
fsdk::DetailedMaskType::FullMask,
Count
} |
| MedicalMask estimator output enum. This enum contains all type of DetailedMaskType results. More...
|
|
enum | fsdk::NIRLivenessMode { Default,
M1,
M2
} |
| NIRLiveness estimation mode. Currently, available values to select the estimation mode are: Default, M1 and M2. The scenario Default means the mode is specified in config file. More...
|
|
Estimators public interfaces and related types and structures.
MedicalMask estimator output enum. This enum contains all type of DetailedMaskType results.
Enumerator |
---|
CorrectMask |
correct mask on the face (mouth and nose are covered correctly)
|
MouthCoveredWithMask |
mask covers only a mouth
|
ClearFace |
clear face - no mask on the face
|
ClearFaceWithMaskUnderChin |
face with a mask around a chin, not covering anything from mouth to eyes
|
PartlyCoveredFace |
face is covered with not a medical mask or a full mask
|
FullMask |
face is covered with a full mask (such as balaclava, sky mask, etc.)
|
Glasses estimation enum.
noglasses:
checks whether person is wearing glasses or not. true - no glasses, false - with glasses;
eyeglasses:
checks whether person is wearing eyeglasses or not. true - eyeglasses, false - not eyeglasses;
sunglasses:
checks whether person is wearing sunglasses or not. true - sunglasses, false - not sunglasses.
Enumerator |
---|
NoGlasses |
Person is not wearing glasses.
|
EyeGlasses |
Person is wearing eyeglasses.
|
SunGlasses |
Person is wearing sunglasses.
|
EstimationError |
failed to estimate
|
MedicalMask estimator output enum. This enum contains all possible estimation results.
Enumerator |
---|
Mask |
medical mask is on the face
|
NoMask |
no medical mask on the face
|
OccludedFace |
face is occluded by something
|
MedicalMask estimator output enum. This enum contains all possible extended estimation results.
Enumerator |
---|
Mask |
medical mask is on the face
|
NoMask |
no medical mask on the face
|
MaskNotInPlace |
mask is not on the right place
|
OccludedFace |
face is occluded by something
|
NIRLiveness estimation mode. Currently, available values to select the estimation mode are: Default, M1 and M2. The scenario Default
means the mode is specified in config file.
- See Also
- ISettingsProvider.
float fsdk::Quality::getQuality |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- complex estimation of quality (minimin of flor estimations). 0 - low quality, 1 - high quality.
Returns score of required detailed mask type.
- Parameters
-
[in] | type | detailed mask type. |
- See Also
- DetailedMaskType for more info.
bool fsdk::SubjectiveQuality::isGood |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- if all boolean flags are false returns true - high quality, else false - low quality.