# create static method

TrackedFace create(

1. Rectangle bounds,
2. int detectionScore,
3. int id,
4. PointList landmarks

)

Creates a detected face.

param bounds Bounds of the detected face. param detectionScore Confidence score of the detected face. param id ID of the detected face. param landmarks Landmarks (eyes, nose and mouth corners) of the detected face. return The newly created tracked face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    static TrackedFace create(Rectangle bounds, int detectionScore, int id, PointList landmarks) {
      TrackedFace trackedFace = TrackedFace();
      var err = faceSDK.id3TrackedFace_Create(trackedFace.handle, bounds.handle, detectionScore, id, landmarks.handle);
      if (err != FaceError.success.value) {
        trackedFace.dispose();
        throw FaceException(err);
      }
      return trackedFace;
    }