# FaceDetectorResult

    class FaceDetectorResult: TaskResult, NSCopying

Represents the detection results generated by `FaceDetector`.
- `
  ### [init(detections:timestampInMilliseconds:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/FaceDetectorResult.md.txt#/c:objc(cs)MPPFaceDetectorResult(im)initWithDetections:timestampInMilliseconds:)

  ` Initializes a new `FaceDetectorResult` with the given array of detections and timestamp (in milliseconds).

  #### Declaration

  Swift

      init(detections: [Detection], timestampInMilliseconds: Int)

  #### Parameters

  |---|---|
  | `detections` | An array of `Detection` objects each of which has a bounding box that is expressed in the unrotated input frame of reference coordinates system, i.e. in `[0,image_width) x [0,image_height)`, which are the dimensions of the underlying image data. |
  | `timestampInMilliseconds` | The timestamp (in milliseconds) for this result. |

  #### Return Value

  An instance of `FaceDetectorResult` initialized with the given array of detections and timestamp (in milliseconds).
- `
  ### [detections](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/FaceDetectorResult.md.txt#/c:objc(cs)MPPFaceDetectorResult(py)detections)

  ` The array of `Detection` objects each of which has a bounding box that is expressed in the unrotated input frame of reference coordinates system, i.e. in `[0,image_width) x [0,image_height)`, which are the dimensions of the underlying image data.

  #### Declaration

  Swift

      var detections: [Detection] { get }