PortraitProcessor.enableFaceMaskDetection Property¶
Module: PortraitProcessor
Type: bool
Definition¶
Value indicating whether face mask detection is enabled.
Important
This option requires the FaceMaskClassifier2A
model to be loaded.
enable_face_mask_detection: bool
Exceptions
An error has occurred during Face Library execution.
bool get enableFaceMaskDetection => getEnableFaceMaskDetection();
set enableFaceMaskDetection(bool value) => setEnableFaceMaskDetection(value);
Exceptions
An error has occurred during Face Library execution.
public bool enableFaceMaskDetection
{
get => GetenableFaceMaskDetection();
set => SetenableFaceMaskDetection(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public boolean getEnableFaceMaskDetection() throws FaceException
public void setEnableFaceMaskDetection(boolean enableFaceMaskDetection) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var enableFaceMaskDetection: Bool
get {
return try! getEnableFaceMaskDetection()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableFaceMaskDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableFaceMaskDetection)
int id3FacePortraitProcessor_SetEnableFaceMaskDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableFaceMaskDetection)
Returns