Package version:

A rectangle within which a face can be found.

interface FaceRectangleOutput {
    height: number;
    left: number;
    top: number;
    width: number;
}

Properties

Properties

height: number

The height of the rectangle, in pixels.

left: number

The distance from the left edge if the image to the left edge of the rectangle, in pixels.

top: number

The distance from the top edge if the image to the top edge of the rectangle, in pixels.

width: number

The width of the rectangle, in pixels.