C# Class Ocronet.DynamicConsole.TestLinerec

显示文件 Open project: nickun/OCRonet Class Usage Examples

Public Methods

Method Description
ComputeMissingCsegForBookStore ( string bookPath, string model = "default.model", string suffix = "", bool saveRseg = false, string langModel = "default.fst" ) : void

Create char segmentation (cseg) files if missing

TestComputeMissingCseg ( ) : void
TestRecognizeCseg ( ) : void
TestSimple ( ) : void
TestTrainLatinCseg ( ) : void
TestTrainLenetCseg ( ) : void

Private Methods

Method Description
DoTestLinerecRecognize ( Linerec linerec, string bookPath, string filename ) : void

Method Details

ComputeMissingCsegForBookStore() public method

Create char segmentation (cseg) files if missing
public ComputeMissingCsegForBookStore ( string bookPath, string model = "default.model", string suffix = "", bool saveRseg = false, string langModel = "default.fst" ) : void
bookPath string path to bookstore
model string
suffix string e.g., 'gt'
saveRseg bool
langModel string language model file
return void

TestComputeMissingCseg() public method

public TestComputeMissingCseg ( ) : void
return void

TestRecognizeCseg() public method

public TestRecognizeCseg ( ) : void
return void

TestSimple() public method

public TestSimple ( ) : void
return void

TestTrainLatinCseg() public method

public TestTrainLatinCseg ( ) : void
return void

TestTrainLenetCseg() public method

public TestTrainLenetCseg ( ) : void
return void