C# Class GPS.Data.OcrData

OcrData implements a singleton that provides access to the photo and corresponding text obtained from OCR conversion. It inherits from ModelBase which means that interested parties can subscribe to its PropertyChanged. It also means that references to the singleton instance of type OcrData can be used in data binding syntax in XAML files.
Inheritance: GPS.Utils.ModelBase
Show file Open project: ProjPossibility/CSUN-MobileMapMagnifier Class Usage Examples

Public Methods

Method Description
GetWordCount ( ) : int

Determines the total word count from all text blocks stored in the OCR conversion result.

SetOcrResult ( List ocrResultList ) : void

Sets the OCR conversion result.

Private Methods

Method Description
OcrData ( ) : System

Method Details

GetWordCount() public method

Determines the total word count from all text blocks stored in the OCR conversion result.
public GetWordCount ( ) : int
return int

SetOcrResult() public method

Sets the OCR conversion result.
public SetOcrResult ( List ocrResultList ) : void
ocrResultList List /// The OCR conversion result. ///
return void