vitis::ai::FaceQuality5ptResult - 1.3 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-02-03
Version
1.3 English
The struct of result returned by the facequality5pt network.

Declaration

typedef struct
{
  int width,
  int height,
  float score,
  std::array< std::pair< float, float >, 5 > points
} vitis::ai::FaceQuality5ptResult;
Table 1. Structure vitis::ai::FaceQuality5ptResult member description
Member Description
width Width of a input image.
height Height of a input image.
score

The quality of face. The value range is from 0 to 1 if the option "orginal_quality" in the model prototxt is false, it is a normal mode. If the option "original_quality" is true, the quality score can be larger than 1, this is a special mode only for accuracy test.

points

Five key points coordinate. An array of <x,y> has five elements where x and y are normalized relative to input image columns and rows. The value range is from 0 to 1.