Show / Hide Table of Contents

Class OneOcrWord

Default implementation of IOCRWord for OneOCR engine results.

Inheritance
object
OneOcrWord
Implements
IOCRWord
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Zaya.OCR.Impl.OneOcr.Models
Assembly: Zaya.OCR.Impl.OneOcr.dll
Syntax
public sealed class OneOcrWord : IOCRWord

Constructors

| Edit this page View Source

OneOcrWord(string, BoundingBox, double)

Initializes a new instance of the OneOcrWord class.

Declaration
public OneOcrWord(string text, BoundingBox bounds, double confidence)
Parameters
Type Name Description
string text

The recognized text.

BoundingBox bounds

The oriented bounding box in the image.

double confidence

The confidence score (0.0 to 1.0).

Properties

| Edit this page View Source

Bounds

Gets the oriented bounding box of the word in the image.

Declaration
public BoundingBox Bounds { get; }
Property Value
Type Description
BoundingBox
| Edit this page View Source

Confidence

Gets the confidence of the word recognition (0.0 to 1.0).

Declaration
public double Confidence { get; }
Property Value
Type Description
double
| Edit this page View Source

Text

Gets the recognized text of the word.

Declaration
public string Text { get; }
Property Value
Type Description
string

Implements

IOCRWord
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX