PortraitProcessor.enableRedEyeDetection Property¶
Module: PortraitProcessor
Type: bool
Definition¶
Value indicating whether red eye detection is enabled.
Important
This option requires the EyeRednessDetector1A
model to be loaded.
enable_red_eye_detection: bool
Exceptions
An error has occurred during Face Library execution.
bool get enableRedEyeDetection => getEnableRedEyeDetection();
set enableRedEyeDetection(bool value) => setEnableRedEyeDetection(value);
Exceptions
An error has occurred during Face Library execution.
public bool enableRedEyeDetection
{
get => GetenableRedEyeDetection();
set => SetenableRedEyeDetection(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public boolean getEnableRedEyeDetection() throws FaceException
public void setEnableRedEyeDetection(boolean enableRedEyeDetection) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var enableRedEyeDetection: Bool
get {
return try! getEnableRedEyeDetection()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetEnableRedEyeDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool * enableRedEyeDetection)
int id3FacePortraitProcessor_SetEnableRedEyeDetection (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, bool enableRedEyeDetection)
Returns