#include "osdetect.h"#include "strngs.h"#include "unicharset.h"#include "blobbox.h"#include "blread.h"#include "tordmain.h"#include "ratngs.h"#include "oldlist.h"#include "adaptmatch.h"#include "tstruct.h"#include "expandblob.h"#include "tesseractclass.h"#include "qrsequence.h"Functions | |
| CLISTIZEH (BLOBNBOX) | |
| CLISTIZE (BLOBNBOX) | |
| bool | orientation_and_script_detection (STRING &filename, OSResults *osr, tesseract::Tesseract *tess) |
| bool | os_detect (TO_BLOCK_LIST *port_blocks, OSResults *osr, tesseract::Tesseract *tess) |
| bool | os_detect_blob (BLOBNBOX *bbox, OrientationDetector *o, ScriptDetector *s, OSResults *osr, tesseract::Tesseract *tess) |
Variables | |
| IMAGE | page_image |
| const int | kMinCharactersToTry = 50 |
| const int | kMaxCharactersToTry = 5 * kMinCharactersToTry |
| const float | kSizeRatioToReject = 2.0 |
| const float | kOrientationAcceptRatio = 1.3 |
| const float | kScriptAcceptRatio = 1.3 |
| const float | kHanRatioInKorean = 0.7 |
| const float | kHanRatioInJapanese = 0.3 |
| const float | kLatinRationInFraktur = 0.7 |
| const float | kNonAmbiguousMargin = 1.0 |
| CLISTIZE | ( | BLOBNBOX | ) |
| CLISTIZEH | ( | BLOBNBOX | ) |
| bool orientation_and_script_detection | ( | STRING & | filename, | |
| OSResults * | osr, | |||
| tesseract::Tesseract * | tess | |||
| ) |
| bool os_detect | ( | TO_BLOCK_LIST * | port_blocks, | |
| OSResults * | osr, | |||
| tesseract::Tesseract * | tess | |||
| ) |
| bool os_detect_blob | ( | BLOBNBOX * | bbox, | |
| OrientationDetector * | o, | |||
| ScriptDetector * | s, | |||
| OSResults * | osr, | |||
| tesseract::Tesseract * | tess | |||
| ) |
| const float kHanRatioInJapanese = 0.3 |
| const float kHanRatioInKorean = 0.7 |
| const float kLatinRationInFraktur = 0.7 |
| const int kMaxCharactersToTry = 5 * kMinCharactersToTry |
| const int kMinCharactersToTry = 50 |
| const float kNonAmbiguousMargin = 1.0 |
| const float kOrientationAcceptRatio = 1.3 |
| const float kScriptAcceptRatio = 1.3 |
| const float kSizeRatioToReject = 2.0 |
1.6.3