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... | |
OCR's Score threshold
The SR_OCRTextBox, whose score is below Score threshold, are filtered out, so not gathered by SR_GetOCRTestTextBoxes. The default value is the last value set in the Saige Vision software, and is set to 50 if it has not been changed.
| eErrorType SR_GetOCRTestScoreThreshold | ( | OCRTestHandle | handle, |
| int * | scoreThreshold | ||
| ) |
| handle | ocr file handler | |
| [out] | scoreThreshold |
| eErrorType SR_SetOCRTestScoreThreshold | ( | OCRTestHandle | handle, |
| int | scoreThreshold, | ||
| bool | writeOnModelFile = true |
||
| ) |
| handle | ocr file handler |
| scoreThreshold | |
| writeOnModelFile | overwrite on model file or not |