vitis::ai::FaceDetectResult::BoundingBox - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English
The coordinate and confidence of a face.

Declaration

typedef struct
{
  float x,
  float y,
  float width,
  float height,
  float score
} vitis::ai::FaceDetectResult::BoundingBox;
Table 1. Structure vitis::ai::FaceDetectResult::BoundingBox member description
Member Description
x

x-coordinate. x is normalized relative to the input image columns. Range from 0 to 1.

y

y-coordinate. y is normalized relative to the input image rows. Range from 0 to 1.

width

face width. Width is normalized relative to the input image columns, Range from 0 to 1.

height

face height. Heigth is normalized relative to the input image rows, Range from 0 to 1.

score face confidence, the value range from 0 to 1.