Class FaceRecognizer.Face

    • Method Detail

      • getDetectionConfidence

        public float getDetectionConfidence()
        A score for how good the detection (NOT recognition, that's FaceScanner.Face.getDistance()) is relative to others.
        Returns:
        Sortable score, higher is better. Min: 0f Max: 1.0f
      • getModelCount

        public int getModelCount()
        How many models detected the face.
        Returns:
        Model count
      • getModelRatio

        public float getModelRatio()
        How many models detected the face, ratio. Min: 0f Max: 1f
        Returns:
        getModelCount() divided through number of available models