vitis::ai::RetinaFaceResult::BoundingBox - 1.3 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-02-03
Version
1.3 English
The coordinate and confidence of a face.

Declaration

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

x-coordinate, x is normalized relative to the input image columns ,the value range from 0 to 1.

y

y-coordinate, y is normalized relative to the input image rows ,the value range from 0 to 1.

width

Face width, width is normalized relative to the input image columns , the value range from 0 to 1.

height

Face height, height is normalized relative to the input image rows ,the value range from 0 to 1.

score Face confidence, the value ranges from 0 to 1.