FaceRectangle interface

A rectangle within which a face can be found

Properties

height

The height of the rectangle, in pixels.

left

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

top

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

width

The width of the rectangle, in pixels.

Property Details

height

The height of the rectangle, in pixels.

height: number

Property Value

number

left

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

left: number

Property Value

number

top

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

top: number

Property Value

number

width

The width of the rectangle, in pixels.

width: number

Property Value

number