Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# TrackedFace.predictedBounds Property

Module: TrackedFace

Type: Rectangle

## Definition

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.

Python

    predicted_bounds: Rectangle

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    Rectangle get predictedBounds => getPredictedBounds();

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public Rectangle predictedBounds
    {
        get => GetpredictedBounds();
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public Rectangle getPredictedBounds() throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var predictedBounds: Rectangle
        get {
            return try! getPredictedBounds()
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3TrackedFace_GetPredictedBounds (ID3_TRACKED_FACE hTrackedFace, id3FaceRectangle * sPredictedBounds)

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.