Class OcrPhotoResult
Result from
Give an access to: Text, Confidence, and TextRegions.
Implements
IronSoftware.IOcrResult
Inherited Members
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class OcrPhotoResult : AdvancedOcrResultBase, IOcrResult
Properties
Confidence
OCR statistical accuracy confidence as an average of every character.
1 = 100%, 0 = 0%.
Declaration
public override double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Overrides
Text
All Ocr texts from OcrInput.
Declaration
public override string Text { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
TextRegions
Ocr text and its location on the OcrInput.
Declaration
public List<OcrPhotoResult.TextRegion> TextRegions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<OcrPhotoResult.TextRegion> |
Methods
SaveAsTextFile(String)
Exports a .txt version of OcrPhotoResult. This is a plain text file.
Declaration
public void SaveAsTextFile(string Path)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Path | The file path the text file will be saved to. |
Implements
IronSoftware.IOcrResult