tesseract-doxygen/ccmain/osdetect.cpp File Reference

#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

Function Documentation

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 
)

Variable Documentation

const float kHanRatioInJapanese = 0.3
const float kHanRatioInKorean = 0.7
const float kLatinRationInFraktur = 0.7
const int kMinCharactersToTry = 50
const float kNonAmbiguousMargin = 1.0
const float kOrientationAcceptRatio = 1.3
const float kScriptAcceptRatio = 1.3
const float kSizeRatioToReject = 2.0
Generated on Sun Jul 18 17:10:49 2010 for Tesseract by  doxygen 1.6.3