setThreshold - 2.5 简体中文

Vitis AI Library 用户指南 (UG1354)

Document ID
UG1354
Release Date
2022-06-15
Version
2.5 简体中文

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

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

原型设计

void setThreshold(float threshold)=0;

参数

下表列出了 setThreshold 函数实参。

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

返回