Class FaceDetector.Face

  • Enclosing class:
    FaceDetector

    public static class FaceDetector.Face
    extends Object
    An immutable result returned by a FaceDetector describing what was recognized.
    • Method Detail

      • getConfidence

        public Float getConfidence()
        A score for how good the detection is relative to others.
        Returns:
        Sortable score, higher is better. Min: 0f Max: 1.0f
      • getLocation

        public RectF getLocation()
        Optional location within the source image for the location of the recognized object.
        Returns:
        RectF containing location on input image