setThreshold - 1.3 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-02-03
Version
1.3 English

Function of update detect threshold.

Note: The detection results will filter by detect threshold (score >= threshold).

Prototype

void setThreshold(float threshold)=0;

Parameters

The following table lists the setThreshold function arguments.

Table 1. setThreshold Arguments
Type Name Description
float threshold The detect threshold. The value ranges from 0 to 1.

Returns