A Boolean value that indicates whether the a closed left eye is detected in the face.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Image
Declaration
var rightEyeClosed: Bool { get }
Discussion
“Right” is relative to the original (non-mirrored) image orientation, not to the owner of the eye.
For closed eyes to be detected, the key CIDetector
must be present with a value of true
in the dictionary passed to a detector’s features(in:
method.