setThreshold - 3.5 简体中文

Vitis AI Library 用户指南 (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 简体中文

该函数用于更新检测阈值。

注释: 检测结果将按检测阈值进行筛选(得分 >= 阈值)。

原型设计

void setThreshold(float threshold)=0;

参数

下表列出了 setThreshold 函数实参。

表 1. setThreshold 实参
类型 成员 描述
float threshold 检测阈值。值范围为 0 到 1.0f。

返回