TrackedFace.bounds Property

Module: TrackedFace

Type: Rectangle

Definition

Bounds of the detected face.

bounds: Rectangle

Exceptions

An error has occurred during Face Library execution.
Rectangle get bounds => getBounds();
set bounds(Rectangle value) => setBounds(value);

Exceptions

An error has occurred during Face Library execution.
public Rectangle bounds
{
    get => Getbounds();
    set => Setbounds(ref value);
}

Exceptions

An error has occurred during Face Library execution.
public Rectangle getBounds() throws FaceException
public void setBounds(Rectangle bounds) throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var bounds: Rectangle
    get {
        return try! getBounds()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3TrackedFace_GetBounds (ID3_TRACKED_FACE hTrackedFace, id3FaceRectangle * sBounds)
int id3TrackedFace_SetBounds (ID3_TRACKED_FACE hTrackedFace, const id3FaceRectangle * sBounds)

Returns

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