该函数用于更新检测阈值。
注释: 检测结果将按检测阈值进行筛选(得分 >= 阈值)。
原型设计
void setThreshold(float threshold)=0;
参数
下表列出了 setThreshold
函数实参。
类型 | 成员 | 描述 |
---|---|---|
float | threshold | 检测阈值。值范围为 0 到 1。 |
该函数用于更新检测阈值。
void setThreshold(float threshold)=0;
下表列出了 setThreshold
函数实参。
类型 | 成员 | 描述 |
---|---|---|
float | threshold | 检测阈值。值范围为 0 到 1。 |