tesseract  5.0.0-alpha-619-ge9db
tesstrain_utils.py File Reference

Go to the source code of this file.

Classes

class  tesstrain_utils.TrainingArgs
 

Namespaces

 tesstrain_utils
 

Functions

def tesstrain_utils.err_exit (msg)
 
def tesstrain_utils.run_command (cmd, *args, env=None)
 
def tesstrain_utils.check_file_readable (*filenames)
 
def tesstrain_utils.parse_flags (argv=None)
 
def tesstrain_utils.cleanup (ctx)
 
def tesstrain_utils.initialize_fontconfig (ctx)
 
def tesstrain_utils.make_fontname (font)
 
def tesstrain_utils.make_outbase (ctx, fontname, exposure)
 
def tesstrain_utils.generate_font_image (ctx, font, exposure, char_spacing)
 
def tesstrain_utils.phase_I_generate_image (ctx, par_factor=None)
 
def tesstrain_utils.phase_UP_generate_unicharset (ctx)
 
def tesstrain_utils.phase_E_extract_features (ctx, box_config, ext)
 
def tesstrain_utils.make_lstmdata (ctx)
 

Variables

 tesstrain_utils.log = logging.getLogger(__name__)
 
 tesstrain_utils.parser
 
 tesstrain_utils.dest
 
 tesstrain_utils.nargs
 
 tesstrain_utils.type
 
 tesstrain_utils.help
 
 tesstrain_utils.metavar
 
 tesstrain_utils.int
 
 tesstrain_utils.action
 
 tesstrain_utils.inputdata_group
 
 tesstrain_utils.tessdata_group