y2

val y2: Float = 0.0f

The coordinates representing the bounding box of the detected face. The (x1, y1) coordinates denote the top-left corner, and (x2, y2) denote the bottom-right corner of the bounding box.