Show / Hide Table of Contents

Class OcrSummary

Get summary of OCR information for a line of text: the OcrLine object, the text angle, the text string, and the Rect[] of word boundary boxes.

Inheritance
System.Object
OcrSummary
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Tiresias
Assembly: Phoenix.Plugin.Tiresias.dll
Syntax
public class OcrSummary

Constructors

View Source

OcrSummary(OcrLine, Nullable<Double>)

Initializes a new instance of the OcrSummary class.

Declaration
public OcrSummary(OcrLine line, double? angle)
Parameters
Type Name Description
OcrLine line

OcrLine object given by the OcrResult.

System.Nullable<System.Double> angle

Angle of text.

Properties

View Source

Angle

Gets or sets the angle of the text.

Declaration
public double Angle { get; set; }
Property Value
Type Description
System.Double
View Source

Line

Gets the OcrLine.

Declaration
public OcrLine Line { get; }
Property Value
Type Description
OcrLine
View Source

Text

Gets or sets the text string.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

Methods

View Source

GetWordBoundaries()

Gets the Rect boundary box for each word in the line.

Declaration
public Rect[] GetWordBoundaries()
Returns
Type Description
System.Windows.Rect[]

Rect[] containing the Rect boundary box for each word in the line.

  • View Source
In This Article
Back to top Generated by DocFX