setThreshold - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 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