Class BarcodeSplittingResult
- Namespace
- LMKit.Extraction.Barcodes
- Assembly
- LM-Kit.NET.dll
The outcome of a BarcodeSplitting run: the documents found, the role of every scanned page and, when the run wrote them, the documents produced.
public sealed class BarcodeSplittingResult
- Inheritance
-
BarcodeSplittingResult
- Inherited Members
Properties
- ContainsMultipleDocuments
Gets whether more than one document was found.
- DiscardedPages
Gets the zero-based indexes of the pages left out of every document (removed separators, blank pages, discarded leading pages).
- DocumentCount
Gets the number of documents found.
- Documents
Gets the documents produced by
SplitToAttachments, in order; empty otherwise.
- Elapsed
Gets how long the run took.
- FailedPages
Gets the pages that could not be read (see Error).
- Files
Gets the files written by
SplitToFiles, in order; empty otherwise.
- PageCount
Gets the number of pages in the source.
- Pages
Gets one entry per scanned page, in page order.
- Segments
Gets the documents found, in output order.
- SeparatorPages
Gets the zero-based indexes of the separator pages (removed or kept).
- SourceName
Gets the source's name.
- WasCancelled
Gets whether a PageScanned or PartWritten handler stopped the run: the result then covers the pages scanned and the documents written until then.
Methods
- ToDocumentSplittingResult()
Converts the result to a DocumentSplittingResult (confidence 1), so it can feed Split(Attachment, DocumentSplittingResult, CancellationToken) and pipelines built on the AI splitter.