Portrait.imageCenter Property

Module: Portrait

Type: Point

Definition

Center of the portrait in the source image.

image_center: Point

Exceptions

An error has occurred during Face Library execution.
Point get imageCenter => getImageCenter();

Exceptions

An error has occurred during Face Library execution.
public Point imageCenter
{
    get => GetimageCenter();
}

Exceptions

An error has occurred during Face Library execution.
public Point getImageCenter() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var imageCenter: Point
    get {
        return try! getImageCenter()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetImageCenter (ID3_FACE_PORTRAIT hPortrait, id3FacePoint * sImageCenter)

Returns

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