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

Functions

eErrorType SR_GetOCRTestScoreThreshold (OCRTestHandle handle, int *scoreThreshold)
 Get OCR's score threshold. More...
 
eErrorType SR_SetOCRTestScoreThreshold (OCRTestHandle handle, int scoreThreshold, bool writeOnModelFile=true)
 Set OCR's score threshold. More...
 

Detailed Description

OCR's Score threshold

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

Function Documentation

◆ SR_GetOCRTestScoreThreshold()

eErrorType SR_GetOCRTestScoreThreshold ( OCRTestHandle  handle,
int *  scoreThreshold 
)

Get OCR's score threshold.

Parameters
handleocr file handler
[out]scoreThreshold
See also
SR_SetOCRTestScoreThreshold

◆ SR_SetOCRTestScoreThreshold()

eErrorType SR_SetOCRTestScoreThreshold ( OCRTestHandle  handle,
int  scoreThreshold,
bool  writeOnModelFile = true 
)

Set OCR's score threshold.

Parameters
handleocr file handler
scoreThreshold
writeOnModelFileoverwrite on model file or not
See also
SR_GetOCRTestScoreThreshold