C# Class IBE.Ocr.tabOCR

Afficher le fichier Open project: Duke-Jones/ED-IBE

Méthodes publiques

Свойство Type Description
_parent Form1
pbOriginalImage System.Windows.Forms.PictureBox

Méthodes publiques

Méthode Description
CommoditiesText ( string s ) : string
DisplayCommodityResults ( string s, Bitmap originalBitmaps, float originalBitmapConfidences, string rowIds, string screenshotName ) : void
DisplayResults ( string s ) : void
GenericSingleParameterMessage ( Object o, AppDelegateType a ) : void
GetOcrValueForWeb ( ) : string[]
ImportCurrentOcrData ( ) : void
Init ( ) : void

initialization of the whole log

ReturnOcrMonitoringStatus ( ) : bool
ReturnTrimmedImage ( ) : Bitmap
ScreenshotsQueued ( string s ) : void
SetOcrValueFromWeb ( string s ) : void
SetStationAndSystem ( string s, string t ) : void
UpdateCurrentImage ( Bitmap b ) : void
UpdateOriginalImage ( Bitmap b ) : Point[]
UpdateTrimmedImage ( Bitmap b, Bitmap bHeader ) : void
clearOcrOutput ( ) : void
setControlText ( Control CtrlObject, string newText ) : void
startOcrOnload ( bool doStart ) : void
tabOCR ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
Acquisition ( bool noAutoImport = false ) : void
BeginCorrectingScreenshot ( string s, Bitmap originalBitmaps, float originalBitmapConfidences, string rowIds, string screenshotName ) : void
CheckOcrBuffer ( object sender ) : void
ContinueDisplayingResults ( ) : void
ImportFinalOcrOutput ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ScreenshotCreated ( object sender, FileSystemEventArgs fileSystemEventArgs ) : void
StripPunctuationFromScannedText ( string input ) : string
bClearOcrOutput_Click ( object sender, EventArgs e ) : void
bContinueOcr_Click ( object sender, EventArgs e ) : void
bEditResults_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
cbAutoImport_CheckedChanged ( object sender, EventArgs e ) : void
cbDeleteScreenshotOnImport_CheckedChanged ( object sender, EventArgs e ) : void
cbStartOCROnLoad_CheckedChanged ( object sender, EventArgs e ) : void

selects, which ID to use for sending to EDDNCommunicator

cmdHint_Click ( object sender, EventArgs e ) : void
cmdIgnore_Click ( object sender, EventArgs e ) : void

Perform an "ignoring" of the current value (it's cosier)

removeClones ( string p ) : string
tbCommoditiesOcrOutput_Keypress ( object sender, KeyPressEventArgs e ) : void

direct submitting of the commodities with "Enter" if changed

tbOcrStationName_TextChanged ( object sender, EventArgs e ) : void
tbOcrSystemName_TextChanged ( object sender, EventArgs e ) : void

Method Details

CommoditiesText() public méthode

public CommoditiesText ( string s ) : string
s string
Résultat string

DisplayCommodityResults() public méthode

public DisplayCommodityResults ( string s, Bitmap originalBitmaps, float originalBitmapConfidences, string rowIds, string screenshotName ) : void
s string
originalBitmaps Bitmap
originalBitmapConfidences float
rowIds string
screenshotName string
Résultat void

DisplayResults() public méthode

public DisplayResults ( string s ) : void
s string
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GenericSingleParameterMessage() public méthode

public GenericSingleParameterMessage ( Object o, AppDelegateType a ) : void
o Object
a AppDelegateType
Résultat void

GetOcrValueForWeb() public méthode

public GetOcrValueForWeb ( ) : string[]
Résultat string[]

ImportCurrentOcrData() public méthode

public ImportCurrentOcrData ( ) : void
Résultat void

Init() public méthode

initialization of the whole log
public Init ( ) : void
Résultat void

ReturnOcrMonitoringStatus() public méthode

public ReturnOcrMonitoringStatus ( ) : bool
Résultat bool

ReturnTrimmedImage() public méthode

public ReturnTrimmedImage ( ) : Bitmap
Résultat Bitmap

ScreenshotsQueued() public méthode

public ScreenshotsQueued ( string s ) : void
s string
Résultat void

SetOcrValueFromWeb() public méthode

public SetOcrValueFromWeb ( string s ) : void
s string
Résultat void

SetStationAndSystem() public méthode

public SetStationAndSystem ( string s, string t ) : void
s string
t string
Résultat void

UpdateCurrentImage() public méthode

public UpdateCurrentImage ( Bitmap b ) : void
b Bitmap
Résultat void

UpdateOriginalImage() public méthode

public UpdateOriginalImage ( Bitmap b ) : Point[]
b Bitmap
Résultat Point[]

UpdateTrimmedImage() public méthode

public UpdateTrimmedImage ( Bitmap b, Bitmap bHeader ) : void
b Bitmap
bHeader Bitmap
Résultat void

clearOcrOutput() public méthode

public clearOcrOutput ( ) : void
Résultat void

setControlText() public méthode

public setControlText ( Control CtrlObject, string newText ) : void
CtrlObject Control
newText string
Résultat void

startOcrOnload() public méthode

public startOcrOnload ( bool doStart ) : void
doStart bool
Résultat void

tabOCR() public méthode

public tabOCR ( ) : System
Résultat System

Property Details

_parent public_oe property

public Form1 _parent
Résultat Form1

pbOriginalImage public_oe property

public System.Windows.Forms.PictureBox pbOriginalImage
Résultat System.Windows.Forms.PictureBox