SaigeVision C/C++  1.4.7
SaigeVision API document for C/C++
OCR's area threshold

Functions

eErrorType SR_GetOCRTestAreaThreshold (OCRTestHandle handle, int *areaThreshold)
 Get OCR's area threshold. More...
 
eErrorType SR_SetOCRTestAreaThreshold (OCRTestHandle handle, int areaThreshold, bool writeOnModelFile=true)
 Get OCR's area threshold. More...
 

Detailed Description

OCR's Area threshold

The SR_OCRTextBox, whose area is below Area threshold, are filtered out, so not gathered by SR_GetOCRTestTextBoxes.

Function Documentation

◆ SR_GetOCRTestAreaThreshold()

eErrorType SR_GetOCRTestAreaThreshold ( OCRTestHandle  handle,
int *  areaThreshold 
)

Get OCR's area threshold.

Parameters
handleocr file handler
[out]areaThreshold
See also
SR_SetOCRTestAreaThreshold
Examples
ExampleOCRRuntime.cpp.

◆ SR_SetOCRTestAreaThreshold()

eErrorType SR_SetOCRTestAreaThreshold ( OCRTestHandle  handle,
int  areaThreshold,
bool  writeOnModelFile = true 
)

Get OCR's area threshold.

Parameters
handleocr file handler
areaThreshold
writeOnModelFileoverwrite on model file or not
See also
SR_GetOCRTestAreaThreshold
Examples
ExampleOCRRuntime.cpp.