DetectedFace.bounds Property

Module: DetectedFace

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 id3DetectedFace_GetBounds (ID3_DETECTED_FACE hDetectedFace, id3FaceRectangle * sBounds)
int id3DetectedFace_SetBounds (ID3_DETECTED_FACE hDetectedFace, const id3FaceRectangle * sBounds)

Returns

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