Class OneOcrResult
Default implementation of IOCRResult for OneOCR engine results.
Implements
Inherited Members
Namespace: Zaya.OCR.Impl.OneOcr.Models
Assembly: Zaya.OCR.Impl.OneOcr.dll
Syntax
public sealed class OneOcrResult : IOCRResult
Constructors
| Edit this page View SourceOneOcrResult(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 SourceConfidence
Gets the overall confidence of the recognition (0.0 to 1.0).
Declaration
public double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| double |
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> |