# getPredictedBounds method

Rectangle getPredictedBounds()

Gets the predicted bounds of the tracked face. Those bounds are computed using a Kalman filter which has the effect of making them smooth and robust to false non-detections.

return Predicted bounds of the tracked face. Those bounds are computed using a Kalman filter which has the effect of making them smooth and robust to false non-detections. throws FaceException An error has occurred during Face Library execution.

## Implementation

    Rectangle getPredictedBounds() {
      Pointer<id3FaceRectangle> pPredictedBounds = calloc();
      var err = faceSDK.id3TrackedFace_GetPredictedBounds(_pHandle.value, pPredictedBounds);
      if (err != FaceError.success.value) {
      	calloc.free(pPredictedBounds);
      	throw FaceException(err);
      }
      return Rectangle(pPredictedBounds);
    }