C# Class IBE.Ocr.Ocr

显示文件 Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Properties

Property Type Description
CurrentScreenshot string
CurrentScreenshotDateTime System.DateTime
ScreenshotBuffer List
SystemAtTimeOfScreenshot string
Working bool
m_GUI tabOCR

Public Methods

Method Description
Ocr ( System.Form1 callingForm ) : System
PerformOcr ( int>.List textRowLocations ) : void
ScreenshotCreated ( string filePath, string systemAtTimeOfScreenshot ) : void

Private Methods

Method Description
AnalyseFrameUsingTesseract ( Bitmap c1, Tesseract.TesseractEngine engine, float &cf1 ) : string
ProcessNewScreenshot ( string screenshot ) : void
StripPunctuationFromScannedText ( string input ) : string

Method Details

Ocr() public method

public Ocr ( System.Form1 callingForm ) : System
callingForm System.Form1
return System

PerformOcr() public method

public PerformOcr ( int>.List textRowLocations ) : void
textRowLocations int>.List
return void

ScreenshotCreated() public method

public ScreenshotCreated ( string filePath, string systemAtTimeOfScreenshot ) : void
filePath string
systemAtTimeOfScreenshot string
return void

Property Details

CurrentScreenshot public_oe property

public string CurrentScreenshot
return string

CurrentScreenshotDateTime public_oe property

public DateTime,System CurrentScreenshotDateTime
return System.DateTime

ScreenshotBuffer public_oe property

public List ScreenshotBuffer
return List

SystemAtTimeOfScreenshot public_oe property

public string SystemAtTimeOfScreenshot
return string

Working public_oe property

public bool Working
return bool

m_GUI public_oe property

public tabOCR,IBE.Ocr m_GUI
return tabOCR