#include <imagedata.h>
◆ ImageData() [1/2]
tesseract::ImageData::ImageData |
( |
| ) |
|
◆ ImageData() [2/2]
tesseract::ImageData::ImageData |
( |
bool |
vertical, |
|
|
Pix * |
pix |
|
) |
| |
◆ ~ImageData()
tesseract::ImageData::~ImageData |
( |
| ) |
|
◆ AddBoxes() [1/2]
◆ AddBoxes() [2/2]
bool tesseract::ImageData::AddBoxes |
( |
const char * |
box_text | ) |
|
|
private |
◆ box_text()
const STRING& tesseract::ImageData::box_text |
( |
int |
index | ) |
const |
|
inline |
◆ box_texts()
◆ boxes()
◆ Build()
ImageData * tesseract::ImageData::Build |
( |
const char * |
name, |
|
|
int |
page_number, |
|
|
const char * |
lang, |
|
|
const char * |
imagedata, |
|
|
int |
imagedatasize, |
|
|
const char * |
truth_text, |
|
|
const char * |
box_text |
|
) |
| |
|
static |
◆ DeSerialize()
bool tesseract::ImageData::DeSerialize |
( |
TFile * |
fp | ) |
|
◆ Display()
void tesseract::ImageData::Display |
( |
| ) |
const |
◆ GetPix()
Pix * tesseract::ImageData::GetPix |
( |
| ) |
const |
◆ GetPixInternal()
Pix * tesseract::ImageData::GetPixInternal |
( |
const GenericVector< char > & |
image_data | ) |
|
|
staticprivate |
◆ image_data()
const GenericVector<char>& tesseract::ImageData::image_data |
( |
| ) |
const |
|
inline |
◆ imagefilename()
const STRING& tesseract::ImageData::imagefilename |
( |
| ) |
const |
|
inline |
◆ language()
const STRING& tesseract::ImageData::language |
( |
| ) |
const |
|
inline |
◆ MemoryUsed()
int tesseract::ImageData::MemoryUsed |
( |
| ) |
const |
◆ page_number()
int tesseract::ImageData::page_number |
( |
| ) |
const |
|
inline |
◆ PreScale()
Pix * tesseract::ImageData::PreScale |
( |
int |
target_height, |
|
|
int |
max_height, |
|
|
float * |
scale_factor, |
|
|
int * |
scaled_width, |
|
|
int * |
scaled_height, |
|
|
GenericVector< TBOX > * |
boxes |
|
) |
| const |
◆ Serialize()
bool tesseract::ImageData::Serialize |
( |
TFile * |
fp | ) |
const |
◆ set_imagefilename()
void tesseract::ImageData::set_imagefilename |
( |
const STRING & |
name | ) |
|
|
inline |
◆ set_language()
void tesseract::ImageData::set_language |
( |
const STRING & |
lang | ) |
|
|
inline |
◆ set_page_number()
void tesseract::ImageData::set_page_number |
( |
int |
num | ) |
|
|
inline |
◆ SetPix()
void tesseract::ImageData::SetPix |
( |
Pix * |
pix | ) |
|
◆ SetPixInternal()
void tesseract::ImageData::SetPixInternal |
( |
Pix * |
pix, |
|
|
GenericVector< char > * |
image_data |
|
) |
| |
|
staticprivate |
◆ SkipDeSerialize()
bool tesseract::ImageData::SkipDeSerialize |
( |
TFile * |
fp | ) |
|
|
static |
◆ transcription()
const STRING& tesseract::ImageData::transcription |
( |
| ) |
const |
|
inline |
◆ box_texts_
◆ boxes_
◆ image_data_
◆ imagefilename_
STRING tesseract::ImageData::imagefilename_ |
|
private |
◆ language_
STRING tesseract::ImageData::language_ |
|
private |
◆ page_number_
int32_t tesseract::ImageData::page_number_ |
|
private |
◆ transcription_
STRING tesseract::ImageData::transcription_ |
|
private |
◆ vertical_text_
bool tesseract::ImageData::vertical_text_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/imagedata.h
- /home/stephane/src/tesseract/src/ccstruct/imagedata.cpp