receipt_recognition
library
Classes
-
CalculatedSum
-
Represents a sum calculated from receipt positions rather than directly recognized.
-
DummyTextLine
-
Dummy implementation of TextLine for tests.
-
Optimizer
-
Interface for receipt optimization components.
-
ReceiptConstants
-
Centralized constants shared between receipt parsing and optimization.
-
ReceiptFormatter
-
Utility for formatting and parsing receipt values consistently.
-
ReceiptNormalizer
-
Utility for normalizing and standardizing recognized text from receipts.
-
ReceiptOptimizer
-
Default implementation of receipt optimizer that uses confidence scoring and grouping.
-
ReceiptParser
-
Parses raw OCR text into structured receipt data.
-
ReceiptPatterns
-
Contains reusable regex patterns for receipt parsing.
-
ReceiptRecognizer
-
Main class for recognizing receipts from images.
-
ReceiptTextProcessor
-
Processes OCR text into structured receipt data using background isolates.
-
ReceiptThresholder
-
Dynamically adjusts confidence thresholds for position grouping
based on receipt sum feedback (recognized vs calculated).
-
RecognizedAmount
-
Represents a monetary amount recognized from the receipt.
-
RecognizedBounds
-
Represents the bounding box boundaries of a recognized receipt.
-
RecognizedCompany
-
Represents a recognized company or store name from a receipt.
-
RecognizedEntity<T>
-
Base class for entities recognized from a receipt through OCR.
-
RecognizedGroup
-
Groups similar receipt positions together to improve recognition accuracy.
-
RecognizedPosition
-
Represents a line item position on a receipt, consisting of a product and its price.
-
RecognizedPrice
-
Represents a price recognized from a receipt.
-
RecognizedProduct
-
Represents a product name recognized from a receipt.
-
RecognizedReceipt
-
Represents a complete recognized receipt with all its components.
-
RecognizedSum
-
Represents the total sum recognized from the receipt.
-
RecognizedSumLabel
-
Represents a label for the sum/total (e.g., "Total", "Summe", etc.)
-
RecognizedUnknown
-
Represents an unidentified text line from the receipt.
-
ScanProgress
-
Represents the progress of an ongoing receipt scan process.
-
ValidationResult
-
Contains validation results for a recognized receipt.
-
Valuable<T>
-
Base class for entities that have a value which can be formatted.
Enums
-
Operation
-
Represents the operation performed on a recognized position during processing.
-
ReceiptCompleteness
-
Indicates the completeness level of a recognized receipt.