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

Functions

eErrorType SR_GetDetTestPixelSizeThreshold (DetTestHandle handle, int *areaThreshold)
 Get Detection's area threshold for each class. More...
 
eErrorType SR_SetDetTestPixelSizeThreshold (DetTestHandle handle, int *areaThreshold, bool writeOnModelFile=true)
 Set Detection's area threshold for each class. More...
 

Detailed Description

Detection's Area threshold

Area threshold 값보다 작은 면적을 가지는 박스는 필터링되어 SR_GetDetTestResultAllBoxesInfo 함수를 통해 받아오지 않습니다.

Function Documentation

◆ SR_GetDetTestPixelSizeThreshold()

eErrorType SR_GetDetTestPixelSizeThreshold ( DetTestHandle  handle,
int *  areaThreshold 
)

Get Detection's area threshold for each class.

Parameters
handledetection file handler
[out]areaThresholdmemory address receiving area threshold. The length of memory must be equal to number of classes
See also
SR_SetDetTestPixelSizeThreshold
Examples
ExampleDetRuntime.cpp.

◆ SR_SetDetTestPixelSizeThreshold()

eErrorType SR_SetDetTestPixelSizeThreshold ( DetTestHandle  handle,
int *  areaThreshold,
bool  writeOnModelFile = true 
)

Set Detection's area threshold for each class.

Parameters
handledetection file handler
areaThresholdmemory address holding area threshold. The length of memory must be equal to number of classes
writeOnModelFileoverwrite on model file or not
See also
SR_GetDetTestPixelSizeThreshold
Examples
ExampleDetRuntime.cpp.