C# Class ExplOCR.OcrReader

Inheritance: IDisposable
Exibir arquivo Open project: ThoroughlyLostExplorer/ExplOCR Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
AddQualityData ( double quality, Rectangle rectangle ) : void
AppendMetaInformation ( List output ) : void
ApplyLetterMask ( int n, Bytemap letter, Bytemap mask ) : void
CustomItemProcessing ( List output ) : void
DumpBytesToString ( byte bytes, int w, int h ) : string
ForceItemList ( string item, string list ) : string
GetDataUnit ( string name ) : string
GetNumberLength ( List rightLine, ExplOCR.TableItem item ) : int
GetNumericalValue ( string numberText, bool percentage ) : double
GetTableItem ( string leftText ) : ExplOCR.TableItem
GetTableItem ( TableSection table, int i, List &left, List &right ) : void
GuessDescription ( string textOCR ) : string
GuessMiningReserves ( string mining ) : TransferItem
GuessTerraforming ( string terraforming ) : TransferItem
HasLeftText ( TableSection table ) : bool
HasRightText ( TableSection table ) : bool
IsDelimiter ( Rectangle frame ) : bool
ItemExistsIn ( TransferItem item, IEnumerable previousItems ) : bool
MergeItems ( IEnumerable previousItems, IEnumerable newItems ) : List
NormalizeHyphens ( string desc ) : string
OcrReader ( ExplOCR.NeuralNet descriptions, ExplOCR.NeuralNet tables, ExplOCR.NeuralNet numbers, ExplOCR.NeuralNet headlines, ExplOCR.NeuralNet delimiters ) : System
PredictAsLetter ( Bytemap imageGray, Bytemap imageBinary, Rectangle letter ) : string
PredictAsLetterD ( Bytemap imageGray, Bytemap imageBinary, Rectangle letter ) : string
PredictAsLetterH ( Bytemap imageGray, Bytemap imageBinary, Rectangle letter ) : string
PredictAsNumber ( Bytemap imageGray, Bytemap imageBinary, Rectangle letter ) : string
ReadDescription ( TextSection desc, Bytemap imageGray, Bytemap imageBinary ) : TransferItem
ReadHeadline ( ExplOCR.HeadlineSection hl, Bytemap imageGray, Bytemap imageBinary ) : TransferItem
ReadMiningReservesLine ( ExplOCR.TextLineSection tsl, ExplOCR.PageSections sections, Bytemap imageGray, Bytemap imageBinary ) : TransferItem
ReadPage ( Bytemap imageGray, Bytemap imageBinary, Bytemap imageBinarySplit, ExplOCR.PageSections sections ) : void
ReadPageClassic ( Bytemap imageGray, Bytemap imageBinary, Bytemap imageBinarySplit, ExplOCR.PageSections sections ) : void
ReadTableItem ( Bytemap imageGray, Bytemap imageBinary, Bytemap imageBinarySplit, List left, List right ) : TransferItem
ReadTableSection ( TableSection table, ExplOCR.PageSections sections, Bytemap imageGray, Bytemap imageBinary, Bytemap imageBinarySplit ) : IEnumerable
ReadTerraformingLine ( ExplOCR.TextLineSection tsl, ExplOCR.PageSections sections, Bytemap imageGray, Bytemap imageBinary ) : TransferItem

Method Details

Dispose() public method

public Dispose ( ) : void
return void