SaigeVision C/C++ 1.5.0
SaigeVision API document for C/C++
 
Loading...
Searching...
No Matches
Detection's score threshold

Functions

eErrorType SR_GetDetTestMinScoreThresholdForSingleClass (DetTestHandle handle, const int classIdx, int *scoreThreshold)
 Get Detection's score threshold for single class. More...
 
eErrorType SR_GetDetTestMinScoreThreshold (DetTestHandle handle, int *scoreThreshold)
 Get Detection's score threshold for each class. More...
 
eErrorType SR_SetDetTestMinScoreThreshold (DetTestHandle handle, int numOfClasses, int *scoreThreshold, bool writeOnModelFile=true)
 Set Detection's score threshold for each class. More...
 

Detailed Description

Detection's Score threshold

Score threshold 값보다 작은 점수를 가지는 박스는 필터링되어 SR_GetDetTestResultAllBoxesInfo 함수를 통해 받아오지 않습니다. 기본 값은 Saige Vision 프로그램에서 설정된 값으로 만약 한번도 설정한 적이 없다면 50입니다.

Function Documentation

◆ SR_GetDetTestMinScoreThreshold()

eErrorType SR_GetDetTestMinScoreThreshold ( DetTestHandle  handle,
int *  scoreThreshold 
)

Get Detection's score threshold for each class.

Parameters
handledetection file handler
[out]scoreThresholdmemory address receiving score thresholds. The length of memory must be equal to number of classes
See also
SR_SetDetTestMinScoreThreshold
Examples
ExampleDetRuntime.cpp.

◆ SR_GetDetTestMinScoreThresholdForSingleClass()

eErrorType SR_GetDetTestMinScoreThresholdForSingleClass ( DetTestHandle  handle,
const int  classIdx,
int *  scoreThreshold 
)

Get Detection's score threshold for single class.

Parameters
handledetection file handler
classIdx
[out]scoreThresholdmemory address receiving score threshold.
See also
SR_SetDetTestMinScoreThreshold

◆ SR_SetDetTestMinScoreThreshold()

eErrorType SR_SetDetTestMinScoreThreshold ( DetTestHandle  handle,
int  numOfClasses,
int *  scoreThreshold,
bool  writeOnModelFile = true 
)

Set Detection's score threshold for each class.

Parameters
handledetection file handler
numOfClassesnumber of classes
scoreThresholdmemory address holding score thresholds. The length of memory must be equal to numOfClasses
writeOnModelFileoverwrite on model file or not
See also
SR_GetDetTestMinScoreThreshold
Examples
ExampleDetRuntime.cpp.