Class ExtractionProgressEventArgs
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Provides data for the Progress event, reporting the current phase and pass information of an extraction operation.
public sealed class ExtractionProgressEventArgs : EventArgs
- Inheritance
-
ExtractionProgressEventArgs
- Inherited Members
Examples
var extractor = new TextExtraction(model);
extractor.Progress += (sender, e) =>
{
Console.WriteLine($"Phase: {e.Phase}, Pass {e.PassIndex + 1}/{e.TotalPasses}");
};
Properties
- PageIndex
Gets the zero-based index of the page being processed. Only meaningful during OcrProcessing.
- PassIndex
Gets the zero-based index of the current extraction pass. Only meaningful during Extracting.
- Phase
Gets the current phase of the extraction operation.
- TotalPages
Gets the total number of pages to process. Only meaningful during OcrProcessing.
- TotalPasses
Gets the total number of extraction passes to process. Only meaningful during Extracting.