C# Class ExplOCR.LibExplOCR

Afficher le fichier Open project: ThoroughlyLostExplorer/ExplOCR

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat ExplOCR.TransferItem[]

CreateOcrReader() public static méthode

public static CreateOcrReader ( ) : OcrReader
Résultat OcrReader

GetCurrentSystemName() public static méthode

public static GetCurrentSystemName ( string logDir, string &coords ) : string
logDir string
coords string
Résultat string

ParseCoordinateValues() public static méthode

public static ParseCoordinateValues ( string coords ) : SystemCoordinates
coords string
Résultat SystemCoordinates

ProcessImage() public static méthode

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
Résultat bool

ProcessImageFile() public static méthode

public static ProcessImageFile ( OcrReader ocrReader, string file ) : void
ocrReader OcrReader
file string
Résultat void

ProcessImageFile() public static méthode

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

SaveInfo() public static méthode

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
Résultat void