# findDetectedFace method

DetectedFace findDetectedFace(

1. int id

)

Finds a detected face by ID.

param id ID of the detected face to find in the list. return The found detected face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    DetectedFace findDetectedFace(int id) {
      DetectedFace detectedFace = DetectedFace();
      var err = faceSDK.id3DetectedFaceList_FindDetectedFace(_pHandle.value, id, detectedFace.handle);
      if (err != FaceError.success.value) {
        detectedFace.dispose();
        throw FaceException(err);
      }
      return detectedFace;
    }