Creates a ReceiptPhotoOcrPipeline.
OCR abstraction that recognizes text from raw image bytes.
Telegram notifier used to download photos by file_id.
Downloads the photo and runs OCR + parsing.
Telegram file_id of the photo to process.
Returns true if the caller's flow has been cancelled.
Procedure containing the parsed receipt, or a failure.
StaticbuildBuilds the HTML header showing extracted receipt fields.
Parsed receipt data.
HTML-escaped header string for Telegram display.
Photo-to-receipt pipeline: download → OCR → parse.