C# Class ExplOCR.LibExplOCR

Datei anzeigen Open project: ThoroughlyLostExplorer/ExplOCR

Public Methods

Method Description
BuildInfoArray ( string xml, string system, string body, string custom, string category, string coords, List archiveNames ) : ExplOCR.TransferItem[]
CreateOcrReader ( ) : OcrReader
GetCurrentSystemName ( string logDir, string &coords ) : string
ParseCoordinateValues ( string coords ) : SystemCoordinates
ProcessImage ( OcrReader ocrReader, Bitmap bmp, Bitmap &displayA, Bitmap &displayB ) : bool
ProcessImageFile ( OcrReader ocrReader, string file ) : void
ProcessImageFile ( OcrReader ocrReader, string file, Bitmap &displayA, Bitmap &displayB ) : void
SaveInfo ( string xml, string system, string body, string custom, string category, string coords, List archiveNames ) : void

Private Methods

Method Description
AnnotatePageHeatmap ( Bitmap bmp, IEnumerable quality ) : void
AnnotatePageStructure ( Bitmap bmp, ExplOCR.PageSections sections ) : void
GetQualityScaleColor ( double q ) : Color
ParseCoordinates ( string log ) : string
PrepareBitmaps ( Bitmap bmp, Bitmap &grayscale, Bitmap &binary, Bitmap &binarySplit ) : ExplOCR.PageSections
PreprocessImages ( Bitmap bmp, Bitmap &raw, Bitmap &splittish, Bitmap &extraSplittish, Bitmap &glueish ) : void

Method Details

BuildInfoArray() public static method

public static BuildInfoArray ( string xml, string system, string body, string custom, string category, string coords, List archiveNames ) : ExplOCR.TransferItem[]
xml string
system string
body string
custom string
category string
coords string
archiveNames List
return ExplOCR.TransferItem[]

CreateOcrReader() public static method

public static CreateOcrReader ( ) : OcrReader
return OcrReader

GetCurrentSystemName() public static method

public static GetCurrentSystemName ( string logDir, string &coords ) : string
logDir string
coords string
return string

ParseCoordinateValues() public static method

public static ParseCoordinateValues ( string coords ) : SystemCoordinates
coords string
return SystemCoordinates

ProcessImage() public static method

public static ProcessImage ( OcrReader ocrReader, Bitmap bmp, Bitmap &displayA, Bitmap &displayB ) : bool
ocrReader OcrReader
bmp System.Drawing.Bitmap
displayA System.Drawing.Bitmap
displayB System.Drawing.Bitmap
return bool

ProcessImageFile() public static method

public static ProcessImageFile ( OcrReader ocrReader, string file ) : void
ocrReader OcrReader
file string
return void

ProcessImageFile() public static method

public static ProcessImageFile ( OcrReader ocrReader, string file, Bitmap &displayA, Bitmap &displayB ) : void
ocrReader OcrReader
file string
displayA System.Drawing.Bitmap
displayB System.Drawing.Bitmap
return void

SaveInfo() public static method

public static SaveInfo ( string xml, string system, string body, string custom, string category, string coords, List archiveNames ) : void
xml string
system string
body string
custom string
category string
coords string
archiveNames List
return void