Class FaceCapture.DiagnosticInfo

  • Enclosing class:
    FaceCapture

    public static class FaceCapture.DiagnosticInfo
    extends java.lang.Object
    Diagnostic information
    • Method Detail

      • getFaceCoveringScore

        @FloatRange(from=0.0,
                    to=1.0)
        public java.lang.Float getFaceCoveringScore()
        Returns:
        Score indicating whether the face in the image is obscured by a face covering (0 = face is not covered, 1 = face is covered)
      • getScreenArtifactConfidence

        @FloatRange(from=0.0,
                    to=1.0)
        @Deprecated
        public java.lang.Float getScreenArtifactConfidence()
        Deprecated.
        2.8.0 renamed to getMoireConfidence()
        Returns:
        Score indicating confidence that the image contains screen artifacts
        Since:
        2.7.0
      • getMoireConfidence

        @FloatRange(from=0.0,
                    to=1.0)
        @Deprecated
        public java.lang.Float getMoireConfidence()
        Deprecated.
        Returns:
        Score indicating confidence that the image contains moire
        Since:
        2.8.0
      • getSpoofDeviceConfidence

        @FloatRange(from=0.0,
                    to=1.0)
        @Deprecated
        public java.lang.Float getSpoofDeviceConfidence()
        Deprecated.
        Returns:
        Score indicating confidence that the liveness was spoofed with a device
        Since:
        2.8.0
      • getSpoofDevices

        @Deprecated
        public com.appliedrec.verid.livenessdetection.DetectedSpoofDevice[] getSpoofDevices()
        Deprecated.
        Returns:
        Array of spoof devices detected in the image
        Since:
        2.8.0
      • getSpoofDeviceDetectionResult

        @Deprecated
        public com.appliedrec.verid.livenessdetection.DetectedSpoofDevice getSpoofDeviceDetectionResult()
        Deprecated.
        Returns:
        Object indicating confidence that the image contains a spoof object and a bounding box of the spoofed object
        Since:
        2.7.0
      • getBrightness

        public java.lang.Double getBrightness()
        Returns:
        Image brightness
      • getContrast

        public java.lang.Double getContrast()
        Returns:
        Image contrast
      • getSharpness

        public java.lang.Double getSharpness()
        Returns:
        Image sharpness
      • isSpoof

        @Nullable
        public java.lang.Boolean isSpoof()
        Returns:
        true if a spoof has been detected in the face capture
        Since:
        2.9.0
      • getSpoofConfidenceScores

        @NonNull
        public java.util.Map<java.lang.String,​java.lang.Float> getSpoofConfidenceScores()
        Returns:
        Spoof confidence scores map keyed by model names
        Since:
        2.9.0
      • isEmpty

        public boolean isEmpty()
        Returns:
        true if the diagnostic info isn't populated with values