C# Class NAPS2.Ocr.TesseractOcrEngine

Inheritance: IOcrEngine
Afficher le fichier Open project: cyanfish/naps2

Méthodes publiques

Méthode Description
CanProcess ( string langCode ) : bool
ProcessImage ( string imagePath, string langCode ) : OcrResult
TesseractOcrEngine ( OcrDependencyManager ocrDependencyManager, AppConfigManager appConfigManager ) : System

Private Methods

Méthode Description
EnsureHocrConfigExists ( DirectoryInfo tessdata ) : void
GetBounds ( System.Xml.Linq.XAttribute titleAttr ) : Rectangle

Method Details

CanProcess() public méthode

public CanProcess ( string langCode ) : bool
langCode string
Résultat bool

ProcessImage() public méthode

public ProcessImage ( string imagePath, string langCode ) : OcrResult
imagePath string
langCode string
Résultat OcrResult

TesseractOcrEngine() public méthode

public TesseractOcrEngine ( OcrDependencyManager ocrDependencyManager, AppConfigManager appConfigManager ) : System
ocrDependencyManager OcrDependencyManager
appConfigManager AppConfigManager
Résultat System