tesseract  3.03
/usr/local/google/home/jbreiden/tesseract-ocr-read-only/ccmain/docqual.h File Reference
#include "control.h"

Go to the source code of this file.

Enumerations

enum  GARBAGE_LEVEL { G_NEVER_CRUNCH, G_OK, G_DODGY, G_TERRIBLE }

Functions

inT16 word_blob_quality (WERD_RES *word, ROW *row)
void reject_whole_page (PAGE_RES_IT &page_res_it)

Enumeration Type Documentation

Enumerator:
G_NEVER_CRUNCH 
G_OK 
G_DODGY 
G_TERRIBLE 

Definition at line 25 of file docqual.h.


Function Documentation

void reject_whole_page ( PAGE_RES_IT page_res_it)

Definition at line 411 of file docqual.cpp.

                                                 {
  page_res_it.restart_page ();
  while (page_res_it.word () != NULL) {
    page_res_it.word ()->reject_map.rej_word_doc_rej ();
    page_res_it.forward ();
  }
                                 //whole page is rejected
  page_res_it.page_res->rejected = TRUE;
}
inT16 word_blob_quality ( WERD_RES word,
ROW row 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines