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... | |
Detection's Area threshold
The detected boxes, whose area is below the corresponding Area threshold, are filtered out, so not gathered by SR_GetDetTestResultAllBoxesInfo.
| eErrorType SR_GetDetTestPixelSizeThreshold | ( | DetTestHandle | handle, |
| int * | areaThreshold | ||
| ) |
Get Detection's area threshold for each class.
| handle | detection file handler | |
| [out] | areaThreshold | memory address receiving area threshold. The length of memory must be equal to number of classes |
| eErrorType SR_SetDetTestPixelSizeThreshold | ( | DetTestHandle | handle, |
| int * | areaThreshold, | ||
| bool | writeOnModelFile = true |
||
| ) |
Set Detection's area threshold for each class.
| handle | detection file handler |
| areaThreshold | memory address holding area threshold. The length of memory must be equal to number of classes |
| writeOnModelFile | overwrite on model file or not |