vitis::ai::FaceDetectResult::BoundingBox - 2.5 简体中文

Vitis AI Library 用户指南 (UG1354)

Document ID
UG1354
Release Date
2022-06-15
Version
2.5 简体中文
面部的坐标和置信度。

声明

typedef struct
{
  float x;
  float y;
  float width;
  float height;
  float score;

} vitis::ai::FaceDetectResult::BoundingBox;
表 1. 结构 vitis::ai::FaceDetectResult::BoundingBox 成员描述
成员 描述
x

x 坐标。x 相对于输入图像列加以归一化。范围为 0 到 1。

y

y 坐标。y 相对于输入图像行加以归一化。范围为 0 到 1。

width

面部宽度。宽度相对于输入图像列加以归一化。范围为 0 到 1。

height

面部高度。高度相对于输入图像行加以归一化。范围为 0 到 1。

score 面部置信度,值范围为 0 到 1。