Functions |
| void | remove_nontext_regions (tesseract::Tesseract *tess, BLOCK_LIST *blocks, TO_BLOCK_LIST *to_blocks) |
| int | orientation_and_script_detection (STRING &filename, OSResults *osr, tesseract::Tesseract *tess) |
| int | os_detect (TO_BLOCK_LIST *port_blocks, OSResults *osr, tesseract::Tesseract *tess) |
| int | os_detect_blobs (BLOBNBOX_CLIST *blob_list, OSResults *osr, tesseract::Tesseract *tess) |
| bool | os_detect_blob (BLOBNBOX *bbox, OrientationDetector *o, ScriptDetector *s, OSResults *osr, tesseract::Tesseract *tess) |
| const int | OrientationIdToValue (const int &id) |
Variables |
| const int | kMinCharactersToTry = 50 |
| const int | kMaxCharactersToTry = 5 * kMinCharactersToTry |
| const float | kSizeRatioToReject = 2.0 |
| const int | kMinAcceptableBlobHeight = 10 |
| const float | kOrientationAcceptRatio = 1.3 |
| const float | kScriptAcceptRatio = 1.3 |
| const float | kHanRatioInKorean = 0.7 |
| const float | kHanRatioInJapanese = 0.3 |
| const float | kNonAmbiguousMargin = 1.0 |
| const int | kMinCredibleResolution = 70 |
| const int | kDefaultResolution = 300 |