Class DetectedFace
A face found by a FaceDetector: where it is, how sure the model is, and the landmarks the model places on it.
public sealed class DetectedFace
- Inheritance
-
DetectedFace
- Inherited Members
Properties
- Bounds
The box around the face, in image pixels from the top-left corner. It is drawn close to the features (brows to chin); to hide a whole head, as a redaction does, widen it.
- Confidence
The model's confidence that this is a face, from 0 to 1.
- Landmarks
The landmarks of the face, in the model's order; empty when the model places none.
Methods
- TryGetLandmark(FaceLandmarkKind, out FaceLandmark)
The landmark of the given kind, when the model places one.