setThreshold - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 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 Member Description
float threshold The detect threshold. The value ranges from 0 to 1.0f.

Returns