Show / Hide Table of Contents

Class OneOcrResult

Default implementation of IOCRResult for OneOCR engine results.

Inheritance
object
OneOcrResult
Implements
IOCRResult
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 OneOcrResult : IOCRResult

Constructors

| Edit this page View Source

OneOcrResult(IReadOnlyList<IOCRWord>, double)

Initializes a new instance of the OneOcrResult class.

Declaration
public OneOcrResult(IReadOnlyList<IOCRWord> words, double confidence)
Parameters
Type Name Description
IReadOnlyList<IOCRWord> words

The recognized words.

double confidence

The overall confidence score (0.0 to 1.0).

Properties

| Edit this page View Source

Confidence

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

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

Words

Gets the list of recognized words with their bounding boxes and confidence.

Declaration
public IReadOnlyList<IOCRWord> Words { get; }
Property Value
Type Description
IReadOnlyList<IOCRWord>

Implements

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