OcrOutput
Contents
[
Hide
]OcrOutput class
A container class to store and manage the results of OCR operations.
public class OcrOutput : List<RecognitionResult>
Constructors
Name | Description |
---|---|
OcrOutput() | Initializes a new instance of the OcrOutput class with an empty collection. This constructor calls the base class constructor to initialize an empty list of RecognitionResult . |
OcrOutput(int) | Initializes a new instance of the OcrOutput class with a specified initial capacity. This constructor creates a new OcrOutput with a predefined number of elements allocated, optimizing for performance when the size is known ahead of time. |
OcrOutput(IEnumerable<RecognitionResult>, OcrInput) | Initializes a new instance of the OcrOutput class with a specified collection of RecognitionResult . This constructor creates a new OcrOutput by copying the elements from the provided collection. |
Methods
Name | Description |
---|---|
AddRange(IEnumerable<RecognitionResult>) | Adds the elements of the specified collection to the end of the OcrOutput list. This method overrides the default AddRange behavior to perform additional operations, if needed. |
Save(MemoryStream, SaveFormat, string, PdfOptimizationMode) | Save all recognition results to a memory stream in the specified format. |
Save(string, SaveFormat, string, PdfOptimizationMode) | Save all recognition result to a file. |
SavePdf(MemoryStream, string, PdfOptimizationMode) | Save all recognition results into an in-memory searchable PDF document, embedding the original images as the background. |
SavePdf(string, string, PdfOptimizationMode) | Save all recognition results into a searchable PDF file, with the original images set as the background. |
See Also
- class RecognitionResult
- namespace Aspose.OCR
- assembly Aspose.OCR