Face

class Face(x: Float, y: Float, width: Float, height: Float)

A face detected in an image. All parameters values should be in 0, 1 range.

Parameters

x

the left position of the face.

y

the top position of the face.

width

the width of the face. Image width should be less or equal to 4096.

height

the height of the face. Image height should be less or equal to 4096.

Constructors

Face
Link copied to clipboard
fun Face(x: Float, y: Float, width: Float, height: Float)
the left position of the face.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

height
Link copied to clipboard
val height: Float
the height of the face.
width
Link copied to clipboard
val width: Float
the width of the face.
x
Link copied to clipboard
val x: Float
the left position of the face.
y
Link copied to clipboard
val y: Float
the top position of the face.