Class FaceCapture.DiagnosticInfo
- java.lang.Object
-
- com.appliedrec.verid.core2.session.FaceCapture.DiagnosticInfo
-
- Enclosing class:
- FaceCapture
public static class FaceCapture.DiagnosticInfo extends java.lang.Object
Diagnostic information
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Double
getBrightness()
java.lang.Double
getContrast()
java.lang.Float
getFaceCoveringScore()
java.lang.Float
getMoireConfidence()
Deprecated.java.lang.Float
getScreenArtifactConfidence()
Deprecated.2.8.0 renamed togetMoireConfidence()
java.lang.Double
getSharpness()
java.util.Map<java.lang.String,java.lang.Float>
getSpoofConfidenceScores()
java.lang.Float
getSpoofDeviceConfidence()
Deprecated.com.appliedrec.verid.livenessdetection.DetectedSpoofDevice
getSpoofDeviceDetectionResult()
Deprecated.2.8.0 seegetSpoofDevices()
com.appliedrec.verid.livenessdetection.DetectedSpoofDevice[]
getSpoofDevices()
Deprecated.boolean
isEmpty()
java.lang.Boolean
isSpoof()
-
-
-
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 togetMoireConfidence()
- 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.2.8.0 seegetSpoofDevices()
- 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
-
-