Class DetectFacesResponse
- java.lang.Object
-
- com.regula.facesdk.detection.response.DetectFacesResponse
-
public class DetectFacesResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DetectFacesResponse.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DetectFaceResult>
getAllDetections()
All Face Detections Results.DetectFaceResult
getDetection()
Single Face Detection result.DetectFacesErrorException
getError()
The error describes a failed detect faces request and contains `RFSDetectFacesErrorCode` codes.java.lang.String
getScenario()
Current Image Quality Assessment Scenario Return null for Request with custom configuration.
-
-
-
Method Detail
-
getScenario
public java.lang.String getScenario()
Current Image Quality Assessment Scenario Return null for Request with custom configuration.- Returns:
String
value
-
getError
public DetectFacesErrorException getError()
The error describes a failed detect faces request and contains `RFSDetectFacesErrorCode` codes.- Returns:
DetectFacesErrorException
-
getDetection
public DetectFaceResult getDetection()
Single Face Detection result. Preferred to use when Scenario supports only central face detection.- Returns:
DetectFaceResult
-
getAllDetections
public java.util.List<DetectFaceResult> getAllDetections()
All Face Detections Results. Preferred to use when Scenario supports multiple faces detection.- Returns:
- list of
DetectFaceResult
-
-