Class DetectFacesResponse

java.lang.Object
com.regula.facesdk.detection.response.DetectFacesResponse

public class DetectFacesResponse extends Object
  • Method Details

    • getScenario

      public 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 List<DetectFaceResult> getAllDetections()
      All Face Detections Results. Preferred to use when Scenario supports multiple faces detection.
      Returns:
      list of DetectFaceResult